WO2011060694A1 - Method and system for establishing media session - Google Patents

Method and system for establishing media session Download PDF

Info

Publication number
WO2011060694A1
WO2011060694A1 PCT/CN2010/078558 CN2010078558W WO2011060694A1 WO 2011060694 A1 WO2011060694 A1 WO 2011060694A1 CN 2010078558 W CN2010078558 W CN 2010078558W WO 2011060694 A1 WO2011060694 A1 WO 2011060694A1
Authority
WO
WIPO (PCT)
Prior art keywords
calling
information
called
media
terminal
Prior art date
Application number
PCT/CN2010/078558
Other languages
French (fr)
Chinese (zh)
Inventor
陈志峰
郝振武
胡永生
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011060694A1 publication Critical patent/WO2011060694A1/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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for establishing a media session by a terminal of an IP Multimedia Subsystem (IMS).
  • IMS IP Multimedia Subsystem
  • IMS is the third Generation Partnership Organization (3 rd Generation Partnership Project, referred to as 3GPP) standard defines the next generation network, its distinguishing feature is preclude the use of the Session Initiation Protocol (Session Initiation Protocol, referred to as SIP) system, communication with the ground Incompatibility, IMS can be equipped with multiple media service control functions and bearer separation, call and session separation, application and service separation, service and network separation, and mobile network and Internet service convergence. The trend of communication network convergence development.
  • 3GPP Third Generation Partnership Organization
  • SIP Session Initiation Protocol
  • the Session Border Controller is an access device at the edge of the network defined in the Next Generation Network (NGN). It has: Auxiliary terminal for network address translation (Network Address Translators) , NAT ) traversal, intrusion detection, bandwidth control policies, protection sessions are not stolen, and routing information protocol (RIP) flow congestion and call interference are prevented.
  • the SBC can protect core network equipment from malicious attacks and sudden DOS attacks, prevent other types of security risks such as service spoofing, and provide access control methods to control and guarantee session quality, total number, bandwidth, and type.
  • the SBC device is not explicitly defined in the IMS network defined by the 3GPP, when the IMS is actually deployed, the operator usually introduces it into the IMS domain and deploys it on the edge of the IMS network. As an access device of the terminal and an interworking device of other domains.
  • the user equipment (User Equipment, UE for short) 101 represents the terminal device used by the user; the Session Border Controllers (SBC) 102 is used as the access device of the IMS core network, and the SBC can be divided into two logical entities: One is called Signaling Gate Controller (SGC). 103.
  • SGC Signaling Gate Controller
  • Call Session Control Function is the core network element that controls the session process, including: Proxy Call Session Control Function (Proxy-CSCF, P-CSCF for short) 105.
  • Proxy Call Session Control Function Proxy-CSCF, P-CSCF for short
  • Query Call Session Control Function Interrogating-CSCF
  • I-CSCF I-CSCF
  • Server-CSCF S-CSCF for short
  • AS Application Server
  • the P-CSCF can be used as an option in the IMS network where the SBC is deployed. Therefore, the P-CSCF in Figure 1 is represented by a dashed box. And this aspect is not directly related to the present invention, so in the following flow, the P/I/S-CSCF is collectively referred to as a CSCF for description.
  • Step 201 Before the UE1 establishes a session with the UE2, the UE1 and the UE2 need to complete the SDP negotiation, and the UE1 sends the SDP providing message to the signaling processing SGC by using the session initiation request message (the session initiation request message is the SIP request message INVITE).
  • Step 202 The SGC allocates a forwarding media plane resource to the calling side of the session on the MP.
  • Step 203 The SGC converts the contact address of the UE1 in the session initiation message to be on the MP.
  • Step 206 the CSCF forwards the response message (200 OK) to the SGC in the SBC;
  • Step 207 The SGC allocates a media plane forwarding resource to the UE2 on the MP.
  • Step 208: The SGC uses the media plane forwarding resource [SDP:c Tr_B] allocated by the MP to replace the media plane contact address information of the UE2 in the original response message (200 OK), and then sends the message to the UE1.
  • Step 209 UE1 and UE2 complete SDP negotiation, and establish a media link forwarded by the MP allocated by the network between them.
  • the SGC in the SBC automatically replaces the user information in the message in the normal call process, thereby realizing the information shielding between the terminal and the core network and the terminal and the terminal, improving the security of the network and effectively protecting the session.
  • the SBC in FIG. 2 is configured to directly allocate media plane forwarding information on the SBC, so that after the message is converted by the SGC in the SBC, one terminal can only obtain the address information allocated by the MP for another terminal through the normal channel, and cannot be known.
  • the original local information of the peer end so the session connection established between the two terminals can only be transferred through the MP, so that when the existing network conditions can be directly connected, the two terminals must also transit through the MP, resulting in MP resources. And the waste of network resources.
  • the SBC also provides a multimedia session establishment process called a Hairpin mode.
  • a Hairpin mode Before the Hairpin mode session, the SGC is configured in the Hairpin mode, the SGC does not automatically allocate media resources for the session.
  • the two parties directly establish a media link to conduct a session.
  • the process is shown in Figure 3. The specific process description is as follows:
  • ISVITE session initiation request message
  • Step 303 the CSCF forwards the SIP request message to the UE2.
  • Step 305 the CSCF forwards the response message (200 OK) to the SGC;
  • Step 306 the SGC sends a response message (200 OK) to the UE1;
  • step 307 UE1 and UE2 complete the SDP negotiation, and establish a direct media link between them.
  • the calling party and the called party establish a directly connected media link. Since the SBC is located at the edge of the network, when the call is initiated, the SBC located on the calling side can only know the access information of the calling terminal. Without knowing the access information of the called side device, it is only possible to decide whether to adopt the Hairpin according to the pre-configuration or the calling information, so that the calling party and the called party can establish a media link or a direct link through the MP relay. In the current network environment, it is often necessary to decide whether to use the MP relay according to the information of the calling party and the called party. When a terminal is used as the calling party, the MP media transfer plane needs to be used when calling the user, and the calling user B does not.
  • the technical problem to be solved by the present invention is to provide a method and system for establishing a media session, which overcomes the prior art that the direct link or the link through the MP relay can only be determined according to the access information or pre-configuration of the calling terminal. The flaw of the way.
  • the present invention provides a method for establishing a media session, including: in a process of establishing a media session between a calling terminal and a called terminal, after the call session control function (CSCF) receives the signaling plane message, Forwarding the signaling plane message to an application server (AS); the AS determines whether to use media agent (MP) relay according to information of the calling party and the called party and/or an operational configuration;
  • CSCF call session control function
  • MP media agent
  • the AS selects one or more MPs, applies the media transfer resource to the selected MP, and replaces the media resource information in the signaling plane message according to the applied media relay resource information.
  • the CSCF forwards the replaced signaling plane message.
  • the AS selects the MP based on the information and/or operational configuration of both the calling and called parties.
  • the above method can also have the following characteristics:
  • the information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and a session border controller on the calling terminal side and the called terminal side.
  • the operation configuration refers to: an operator operation strategy.
  • the method further includes: the AS collecting information about the specific location of the calling terminal and the called terminal;
  • the preferences of the calling user and the called user, the SBC location of the calling terminal side and the called terminal side, and the operator operation policy are pre-set information.
  • the step of the AS collecting the specific locations of the calling terminal and the called terminal includes:
  • the device When the terminal is registered, the device carries the location information and triggers the third-party registration to the AS to complete the information collection.
  • the underlying IP router reports the location information to the AS.
  • the terminal uses the application layer protocol to report the location information to the AS.
  • the signaling plane message refers to: a session initiation request message or a session initiation response message.
  • the present invention provides a system for establishing a media session, including a calling terminal, a called terminal, a CSCF, and an AS;
  • the CSCF is configured to: forward a signaling plane message to the AS during a media session between the calling terminal and the called terminal;
  • the AS is configured to: determine whether to adopt MP relay according to information and/or operation configuration of both the calling party and the called party; if it is decided to adopt MP relay, the AS selects one or more MPs, and applies for media to the selected MP. Transmitting the resource, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and forwarding the replaced signaling plane message by using the CSCF.
  • the AS is further configured to: select an MP based on information and/or operational configuration of both the calling and called parties.
  • the above system can also have the following characteristics:
  • the information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and an SBC location of the calling terminal side and the called terminal side;
  • the operation configuration refers to: an operator operation strategy.
  • the AS is further configured to: collect information about specific locations of the calling terminal and the called terminal; preferences of the calling user and the called user, SBC location of the calling terminal side and the called terminal side, and an operator.
  • the operational strategy is pre-set information.
  • An application server (AS) for establishing a media session the AS is configured to: determine whether to use a media agent (MP) relay according to information and/or operational configuration of both the calling and called parties; if it is decided to use MP relay, Selecting one or more MPs, forwarding the resources to the selected MP, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and forwarding the call through the call session control function (CSCF) The replaced signaling plane message.
  • MP media agent
  • CSCF call session control function
  • the AS is further configured to: select an MP based on information and/or operational configuration of both the calling and called parties.
  • the information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and an SBC location of the calling terminal side and the called terminal side;
  • the operation configuration refers to: an operator operation strategy.
  • the AS is further configured to: collect information about specific locations of the calling terminal and the called terminal; preferences of the calling user and the called user, SBC location of the calling terminal side and the called terminal side, and an operator.
  • the operational strategy is pre-set information.
  • FIG. 1 is a schematic diagram of a network architecture in the prior art
  • FIG. 2 is a schematic diagram of a session establishment process in the prior art
  • FIG. 3 is a schematic diagram of a session establishment process in a Hairpin mode in the prior art
  • 4 is a schematic diagram of a network architecture according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a flow of using MP transfer in the application example 1 of the present invention.
  • FIG. 6 is a schematic flowchart of a terminal directly establishing a session according to an application example 2 of the present invention. Preferred embodiment of the invention
  • the application server determines whether to use the MP relay according to the information and/or the operation configuration of both the calling party and the called party, and the AS applies for the media transfer resource to the selected MP.
  • an AS is used to control one or more networks.
  • the AS is connected to the MP, and the AS controls the MP to perform operations such as allocation, release, and update of media resources.
  • the CSCF forwards the signaling plane message to the AS after receiving the signaling plane message;
  • the AS determines whether to use the MP relay according to the information of the calling and called parties and/or the operational configuration
  • the AS selects one or more MPs for the media session, applies the media transfer resource to the selected MP for the media session, and replaces the signaling according to the applied media relay resource information.
  • the media resource information in the face message, and the signaling plane message is further forwarded by the CSCF.
  • the signaling plane message specifically refers to: a session initiation request message or a session initiation response message.
  • the SGC no longer applies for the media relay resource for the media session.
  • the AS selects according to the information of the calling party and the called party, the Z or the operation configuration, and the like.
  • the AS determines the MP behavior based on the information of the calling and called parties.
  • the information of the calling party and the called party includes: the preferences of the calling user and the called user, the calling terminal and the called terminal.
  • the operation configuration includes: an operator operation policy.
  • the specific location of the calling terminal and the called terminal is information collected by the AS; the preferences of the calling user and the called user, the SBC location of the calling terminal side and the called terminal side, and the operator.
  • the operational strategy is pre-set information.
  • the manner in which the AS collects specific locations of the calling terminal and the called terminal may include:
  • the terminal carries the location information and triggers the third-party registration to the AS to complete the information collection.
  • the underlying IP router reports the location information to the AS.
  • the terminal reports the location information to the AS by using the application layer protocol.
  • the signaling plane message is not modified, and the signaling plane message is directly returned to the CSCF, and the signaling plane message is further forwarded by the CSCF.
  • the replacement of the media resource information in the signaling plane message by the AS according to the media relay resource information of the application refers to: the AS replaces the media plane contact address information of the calling terminal or the called terminal with the transit address information.
  • the system for establishing a media session in the embodiment of the present invention includes a calling terminal, a called terminal, a CSCF, and an AS.
  • the CSCF is used to forward the received signaling plane message to the AS during the establishment of the media session between the calling terminal and the called terminal;
  • the AS is configured to determine whether to use MP relay according to information and/or operational configuration of both the calling party and the called party; if it is decided to use MP relay, the AS selects one or more MPs, and applies for media to the selected MP. Transmitting the resource, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and further forwarding the signaling plane message by using the CSCF.
  • the AS is further configured to select an MP based on information and/or operational configurations of both the calling and called parties.
  • the following is further illustrated by the application examples of the present invention.
  • Step 501 The UE1 sends a session initiation request message (the session initiation request message is a SIP request message INVITE) to the SGC device, where the message is carried.
  • Step 502 The SGC device does not apply for the media plane resource reservation at this time, and does not modify the media plane contact address information, and forwards the SIP request message to the CSCF.
  • Step 503 the CSCF forwards the request message to the AS;
  • Step 504 The AS determines, according to the location information of the calling party and the called party, the preference settings of the calling party and the called party, the location information of the SBC in the network, and the operation policy, whether the call requires the MP to perform media plane relay, in this example process. It is determined that the transfer needs to be performed, so the MP is selected for the session; Step 505, the AS applies the media face transfer resource to the selected MP for the session, and allocates resources for the media face contact address of the UE1;
  • the selected MP may be that the SGC in step 502 belongs to the same SBC, or may be a different SBC than the SGC;
  • Step 510 the CSCF forwards the response message (200 OK) to the AS;
  • Step 511 The AS controls the MP to perform resource reservation by using a SIP message, and is a media interface of the UE2. Department address allocation resources;
  • Step 514 the CSCF forwards the response message (200 OK) to the SGC;
  • Step 515 the SGC no longer modifies the media face contact address information in the response message (200 OK), and forwards the message to UE1;
  • Step 516 UE1 and UE2 complete the SDP negotiation, and establish a media link forwarded by the MP between them.
  • Step 602 The SGC device does not apply for the media plane resource reservation at this time, and does not modify the media plane contact address information, and forwards the request message to the CSCF.
  • Step 603 the CSCF forwards the request message to the AS;
  • Step 604 The AS determines, according to the location information of the calling party and the called party, the preference settings of the calling party and the called party, the location information of the SBC in the network, and the operation policy, whether the call requires the MP to perform media plane relay, in this example process. Judging that no transfer is required;
  • Step 608 the CSCF forwards the response message (200 OK) to the AS;
  • Step 609 The AS directly forwards the message to the CSCF because the MP does not need to forward the session.
  • Step 610 the CSCF forwards the response message (200 OK) to the SGC;
  • Step 611 the SGC no longer modifies the media face contact address information in the response message (200 OK), and forwards the message to UE1;
  • Step 612 UE1 and UE2 complete the SDP negotiation, and establish a direct connection media link between them.
  • the AS-like deployment is located at the center of the IMS network, and the SBC is located at the edge of the IMS network, when the IMS network has a certain time, the distance between the AS and the SBC is quite far, and each communication between them is It takes a lot of resources and a long time, so saving a reservation process here is still quite practical.
  • the invention can realize whether the media side link established between the calling party and the called party is a direct link or a link mode through the MP relay according to the information of the calling party and the called party.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method, system and application server (AS) for establishing a media session are provided in the present invention. The method includes: in the process of establishing the media session between a calling terminal and a called terminal, after receiving a signaling plane message, the Call Session Control Function (CSCF) forwards the signaling plane message to the AS; the AS determines, according to the information of both the calling and called parties and/or the operation configuration, whether to use a media proxy (MP) for transferring; if the AS determines to use the MP for transferring, the AS selects one or more MPs, applies to the selected MP/MPs for media transferring resources, replaces the information of the media resources in the signaling plane message according to the information of the media transferring resources which is applied for, and forwards the replaced signaling plane message via the CSCF. With the present invention, determining, according to the information of both the calling and called parties, whether to use the direct link mode or use the MP-relay link mode for the media plane link established between the calling and called parties is implemented.

Description

一种建立媒体会话的方法和系统  Method and system for establishing media session
技术领域 Technical field
本发明涉及通讯领域, 尤其涉及一种 IP 多媒体子系统 (IP Multimedia Subsystem, IMS ) 的终端建立媒体会话的方法和系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method and system for establishing a media session by a terminal of an IP Multimedia Subsystem (IMS). Background technique
IMS 是第三代合作伙伴组织 (3rd Generation Partnership Project, 简称 3GPP ) 定义的下一代网络的标准, 它的显著特点是釆用了会话发起协议 ( Session Initiation Protocol , 简称 SIP )体系, 通讯与接入无关, 可以具备多 种媒体业务控制功能与承载能力分离, 呼叫与会话分离, 应用与服务分离, 业务与网络分离, 以及移动网与英特网业务融合等多种能力, IMS 的提出顺 应了通讯网融合发展的趋势。 IMS is the third Generation Partnership Organization (3 rd Generation Partnership Project, referred to as 3GPP) standard defines the next generation network, its distinguishing feature is preclude the use of the Session Initiation Protocol (Session Initiation Protocol, referred to as SIP) system, communication with the ground Incompatibility, IMS can be equipped with multiple media service control functions and bearer separation, call and session separation, application and service separation, service and network separation, and mobile network and Internet service convergence. The trend of communication network convergence development.
会话边界控制器( Session Border Controller, 简称 SBC )原是在下一代网 络( Next Generation Network , 筒称 NGN ) 中定义的位于网絡边缘的接入设 备, 具备: 辅助终端进行网络地址转换(Network Address Translators, NAT ) 穿越、 入侵检测、 带宽控制策略、 保护会话不被窃取、 防止路由信息协议 ( Routing Information Protocol, RIP )流拥塞和呼叫干扰等功能。 SBC可以使 核心网设备免受恶意攻击和突发的 DOS攻击,防止服务欺骗等其它类型的安 全风险, 提供进入权控制方法, 可以控制并保障会话质量、 总数、 带宽及类 型等。 基于 SBC带来的以上作用, 虽然在 3GPP定义的 IMS网络中并没有明 确定义 SBC设备, 但运营商在实际部署 IMS时, 通常还是将其引入到 IMS 域中, 大量部署于 IMS网络的边缘, 作为终端的接入设备以及其它域的互通 设备。  The Session Border Controller (SBC) is an access device at the edge of the network defined in the Next Generation Network (NGN). It has: Auxiliary terminal for network address translation (Network Address Translators) , NAT ) traversal, intrusion detection, bandwidth control policies, protection sessions are not stolen, and routing information protocol (RIP) flow congestion and call interference are prevented. The SBC can protect core network equipment from malicious attacks and sudden DOS attacks, prevent other types of security risks such as service spoofing, and provide access control methods to control and guarantee session quality, total number, bandwidth, and type. Based on the above functions of the SBC, although the SBC device is not explicitly defined in the IMS network defined by the 3GPP, when the IMS is actually deployed, the operator usually introduces it into the IMS domain and deploys it on the edge of the IMS network. As an access device of the terminal and an interworking device of other domains.
图 1是现有技术中,部署 SBC的 IMS网络的架构示意图, 主要描述了和 本发明相关的网元实体及其联系。 其中: 用户设备 ( User Equipment , 简称 UE ) 101 代表用户使用的终端设备; 会话边界控制器 ( Session Border Controllers, 简称 SBC ) 102作为 IMS核心网的接入设备, SBC可以分为两个 逻辑实体: 一个称为信令网关控制器 ( Signaling Gate Controller, 简称 SGC ) 103 , 用于对信令消息进行分析与处理, 并进行应用层互通、 控制媒体代理, 进行信令转发, 另一个称为媒体代理(Media Proxy, 简称 MP ) 104 , 用于媒 体面数据转发;呼叫会话控制功能( Call Session Control Function, 简称 CSCF ) 是控制会话过程的核心网元, 包括: 代理呼叫会话控制功能 (Proxy-CSCF , 简称 P-CSCF ) 105、查询呼叫会话控制功能( Interrogating-CSCF,简称 I-CSCF ) (图中未示出)、 以及服务呼叫会话控制功能( Serving-CSCF , 简称 S-CSCF ) 106; 应用服务器(Application Server, 简称 AS ) 107是提供增值多媒体业务 的网元。 1 is a schematic structural diagram of an IMS network in which an SBC is deployed in the prior art, and mainly describes network element entities and their associations related to the present invention. The user equipment (User Equipment, UE for short) 101 represents the terminal device used by the user; the Session Border Controllers (SBC) 102 is used as the access device of the IMS core network, and the SBC can be divided into two logical entities: One is called Signaling Gate Controller (SGC). 103. For analyzing and processing signaling messages, performing application layer interworking, controlling media proxy, and performing signaling forwarding, and another called Media Proxy (MP) 104, for media plane data forwarding; Call Session Control Function (CSCF) is the core network element that controls the session process, including: Proxy Call Session Control Function (Proxy-CSCF, P-CSCF for short) 105. Query Call Session Control Function (Interrogating-CSCF) , referred to as I-CSCF (not shown), and service call session control function (Serving-CSCF, S-CSCF for short) 106; Application Server (AS) 107 is a network element that provides value-added multimedia services. .
由于 SBC功能与 P-CSCF在信令转发方面有一定的功能重叠, 所以在部 署了 SBC的 IMS网络中, P-CSCF可以作为可选, 因此在图 1 中的 P-CSCF 用虚线框来表示, 并且这方面内容与本发明不存在直接关联, 所以在后文的 流程中 , 将 P/I/S-CSCF统称为 CSCF进行描述。  Since the SBC function has a certain overlap with the P-CSCF in signaling forwarding, the P-CSCF can be used as an option in the IMS network where the SBC is deployed. Therefore, the P-CSCF in Figure 1 is represented by a dashed box. And this aspect is not directly related to the present invention, so in the following flow, the P/I/S-CSCF is collectively referred to as a CSCF for description.
图 2是现有技术中 IMS域引入 SBC设备后,信令面与媒体面均通过 SBC 的会话建立中信令面与媒体面的处理流程, 其具体流程说明如下所示:  2 is a processing flow of a signaling plane and a media plane in a session establishment of a signaling plane and a media plane through an SBC after the IMS domain is introduced into the SBC device in the prior art, and the specific process description is as follows:
步骤 201, 在 UE1与 UE2建立会话之前, UE1与 UE2需要先完成 SDP 协商, UE1 采用会话发起请求消息 (该会话发起请求消息为 SIP请求消息 INVITE )将 SDP提供消息发送给信令处理 SGC , 在该消息中携带 UE1为本 次会话分配的媒体面联系地址信息 [SDP: c=A];  Step 201: Before the UE1 establishes a session with the UE2, the UE1 and the UE2 need to complete the SDP negotiation, and the UE1 sends the SDP providing message to the signaling processing SGC by using the session initiation request message (the session initiation request message is the SIP request message INVITE). The message carries the media face contact address information allocated by the UE1 for the session [SDP: c=A];
步骤 202, SGC在 MP上为本次会话的主叫侧分配转发媒体面资源; 步骤 203, SGC将会话发起消息中的 UE1的联系地址转换为在 MP上为 Step 202: The SGC allocates a forwarding media plane resource to the calling side of the session on the MP. Step 203: The SGC converts the contact address of the UE1 in the session initiation message to be on the MP.
UE1分配媒体面资源, 转换后的联系地址为 [SDP:c=Tr— A] , 发送给 CSCF; 步骤 204 , CSCF将会话发起请求消息转发给 UE2 ,—般情况下,在 CSCF 与 UE2之间也会存在 SGC与 MP设备, 其处理模式与介于 UE1与 CSCF之 间的设备相同, 本文为了描述简洁, 将其省略, 并且忽略其造成的影响; 步骤 205 , UE2返回响应消息( 200 OK )消息给 CSCF , 消息中携带 UE2 的媒体面联系地址信息 [SDP:c=B] ; The UE1 allocates the media plane resource, and the converted contact address is [SDP:c=Tr_A] and sends it to the CSCF. Step 204: The CSCF forwards the session initiation request message to the UE2, in the normal case, between the CSCF and the UE2. There are also SGC and MP devices, and the processing mode is the same as that between the UE1 and the CSCF. For the sake of brevity, the description is omitted, and the impact is ignored. Step 205, UE2 returns a response message (200 OK) The message is sent to the CSCF, and the message carries the media plane contact address information of the UE2 [SDP:c=B];
步骤 206 , CSCF将响应消息 ( 200 OK )转发给 SBC中的 SGC;  Step 206, the CSCF forwards the response message (200 OK) to the SGC in the SBC;
步骤 207, SGC在 MP上为 UE2分配媒体面转发资源; 步骤 208 , SGC采用 MP分配的媒体面转发资源 [SDP:c=Tr_B]来替换原 有响应消息( 200 OK )中的信息的 UE2的媒体面联系地址信息后, 将消息发 送给 UE1 ; Step 207: The SGC allocates a media plane forwarding resource to the UE2 on the MP. Step 208: The SGC uses the media plane forwarding resource [SDP:c=Tr_B] allocated by the MP to replace the media plane contact address information of the UE2 in the original response message (200 OK), and then sends the message to the UE1.
步骤 209 , UE1与 UE2完成了 SDP协商, 在他们之间建立了通过网络分 配的 MP转发的媒体链接。  Step 209: UE1 and UE2 complete SDP negotiation, and establish a media link forwarded by the MP allocated by the network between them.
可见, 正常呼叫流程中 SBC中的 SGC是自动替换消息中用户信息的, 从而实现了终端与核心网以及终端与终端之间的信息屏蔽, 提高了网络的安 全性, 对会话进行有效的保护。  It can be seen that the SGC in the SBC automatically replaces the user information in the message in the normal call process, thereby realizing the information shielding between the terminal and the core network and the terminal and the terminal, improving the security of the network and effectively protecting the session.
图 2中的 SBC被配置成为直接在 SBC上分配媒体面转发信息, 使消息 通过 SBC中的 SGC转换后, 一方的终端通过正常渠道只能获取 MP为另外 一终端分配的地址信息, 而无法获知对端的原始本地信息, 所以在两个终端 之间建立的会话连接只能通过 MP进行中转, 从而造成两个终端在现有网络 条件可以直接相连时, 也必须通过 MP进行中转, 造成对 MP资源以及网络 资源的浪费。  The SBC in FIG. 2 is configured to directly allocate media plane forwarding information on the SBC, so that after the message is converted by the SGC in the SBC, one terminal can only obtain the address information allocated by the MP for another terminal through the normal channel, and cannot be known. The original local information of the peer end, so the session connection established between the two terminals can only be transferred through the MP, so that when the existing network conditions can be directly connected, the two terminals must also transit through the MP, resulting in MP resources. And the waste of network resources.
因此在现有技术中, SBC也提供了一种称为 Hairpin模式的多媒体会话建 立流程, 在进行 Hairpin模式会话前, SGC被配置成 Hairpin模式, 则 SGC不 会自动为会话分配媒体资源,从而实现会话双方直接建立媒体链接进行会话, 其流程如图 3 , 具体流程说明如下所示:  Therefore, in the prior art, the SBC also provides a multimedia session establishment process called a Hairpin mode. Before the Hairpin mode session, the SGC is configured in the Hairpin mode, the SGC does not automatically allocate media resources for the session. The two parties directly establish a media link to conduct a session. The process is shown in Figure 3. The specific process description is as follows:
步骤 301, UE1釆用 SIP协议将会话发起请求消息 (INVITE )发送给信 令处理单元 SGC,在该消息中携带 UE1为本次会话分配的媒体面联系地址信 息 [SDP:c=A];  Step 301: UE1 sends a session initiation request message (INVITE) to the signaling processing unit SGC by using the SIP protocol, where the message carries the media plane contact address information allocated by the UE1 for the session [SDP: c=A];
步骤 302 , SGC执行 Hairpin, 不向 MP申请媒体面转发资源, 将携带媒 体面联系地址信息 [SDP:c=A]的 SIP请求消息发送给 CSCF;  Step 302, the SGC executes Hairpin, does not apply to the MP for media side forwarding resources, and sends a SIP request message carrying the media plane contact address information [SDP:c=A] to the CSCF;
步骤 303, CSCF将 SIP请求消息转发给 UE2;  Step 303, the CSCF forwards the SIP request message to the UE2.
步骤 304 , UE2返回响应消息 ( 200 OK )给 CSCF , 消息中携带 UE2的 媒体面联系地址信息 [SDP:c=B];  Step 304: The UE2 returns a response message (200 OK) to the CSCF, where the message carries the media plane contact address information of the UE2 [SDP:c=B];
步骤 305 , CSCF将响应消息 ( 200 OK )转发给 SGC;  Step 305, the CSCF forwards the response message (200 OK) to the SGC;
步骤 306, SGC将响应消息 ( 200 OK )发送给 UE1; 步骤 307 , UE1与 UE2完成了 SDP协商,在他们之间建立了直接的媒体 链接。 Step 306, the SGC sends a response message (200 OK) to the UE1; In step 307, UE1 and UE2 complete the SDP negotiation, and establish a direct media link between them.
可是当在 SBC上启用了 Hairpin模式后, 主叫被叫建立了直接连接的媒 体链接, 由于 SBC位于网络边缘, 呼叫发起时, 位于主叫侧的 SBC只能知 晓主叫终端的接入信息, 而不知晓被叫侧设备的接入信息, 因此只能根据预 先配置或者主叫信息决定是否采用 Hairpin, 从而实现主被叫通过 MP中继建 立媒体链接或者直接链接。 而在现网环境中, 往往需要根据主被叫双方的信 息来决定是否采用 MP中继, 如同一个终端作为主叫时, 呼叫用户曱时需要 采用 MP中转媒体面, 而呼叫用户乙时则不需要; 甚至不同条件下呼叫同一 个用户, 也会出现某次需要 MP中转媒体面, 而下次却不需要的情形。 这时 需要判断是否需要媒体面中转的网元同时知晓主被叫的信息, 显然位于网络 边缘的 SBC不具备这样的能力, 因此需要寻求一种新的媒体会话建立方法。 发明内容  However, when the Hairpin mode is enabled on the SBC, the calling party and the called party establish a directly connected media link. Since the SBC is located at the edge of the network, when the call is initiated, the SBC located on the calling side can only know the access information of the calling terminal. Without knowing the access information of the called side device, it is only possible to decide whether to adopt the Hairpin according to the pre-configuration or the calling information, so that the calling party and the called party can establish a media link or a direct link through the MP relay. In the current network environment, it is often necessary to decide whether to use the MP relay according to the information of the calling party and the called party. When a terminal is used as the calling party, the MP media transfer plane needs to be used when calling the user, and the calling user B does not. Need; even if you call the same user under different conditions, there will be a situation where you need an MP relay media face, but not next time. At this time, it is necessary to judge whether the network element in the media plane needs to know the information of the calling party and the called party at the same time. Obviously, the SBC located at the edge of the network does not have such capability, and therefore a new method of establishing a media session needs to be sought. Summary of the invention
本发明要解决的技术问题就是提出一种建立媒体会话的方法和系统, 克 服现有技术中只能根据主叫终端的接入信息或预先配置决定釆用直接链接还 是采用通过 MP中继的链接方式的缺陷。  The technical problem to be solved by the present invention is to provide a method and system for establishing a media session, which overcomes the prior art that the direct link or the link through the MP relay can only be determined according to the access information or pre-configuration of the calling terminal. The flaw of the way.
为了解决上述技术问题, 本发明提供一种建立媒体会话的方法, 包括: 主叫终端与被叫终端之间建立媒体会话的过程中, 呼叫会话控制功能 ( CSCF )接收到信令面消息后,将所述信令面消息转发给应用服务器 ( AS ) ; 所述 AS根据主叫和被叫双方的信息和 /或运营配置决定是否采用媒体代 理(MP ) 中转;  In order to solve the above technical problem, the present invention provides a method for establishing a media session, including: in a process of establishing a media session between a calling terminal and a called terminal, after the call session control function (CSCF) receives the signaling plane message, Forwarding the signaling plane message to an application server (AS); the AS determines whether to use media agent (MP) relay according to information of the calling party and the called party and/or an operational configuration;
若决定采用 MP中转, 则所述 AS选择一个或者多个 MP, 向选定的 MP 申请媒体中转资源, 并根据申请的媒体中转资源信息替换所述信令面消息中 的媒体资源信息, 通过所述 CSCF转发所述替换后的信令面消息。  If the MP transit is determined, the AS selects one or more MPs, applies the media transfer resource to the selected MP, and replaces the media resource information in the signaling plane message according to the applied media relay resource information. The CSCF forwards the replaced signaling plane message.
上述方法还可具有以下特点:  The above method can also have the following characteristics:
所述 AS根据主叫和被叫双方的信息和 /或运营配置选择 MP。  The AS selects the MP based on the information and/or operational configuration of both the calling and called parties.
上述方法还可具有以下特点: 所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终 端和被叫终端的具体位置, 以及主叫终端侧和被叫终端侧的会话边界控制器The above method can also have the following characteristics: The information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and a session border controller on the calling terminal side and the called terminal side.
( SBC )位置; (SBC) location;
所述运营配置是指: 运营商运营策略。  The operation configuration refers to: an operator operation strategy.
上述方法还可具有以下特点:  The above method can also have the following characteristics:
所述 AS决定是否采用 MP中转之前, 该方法还包括: 所述 AS收集得到 所述主叫终端和被叫终端的具体位置的信息;  Before the AS determines whether to adopt the MP transit, the method further includes: the AS collecting information about the specific location of the calling terminal and the called terminal;
所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置 以及运营商运营策略为预先设置的信息。  The preferences of the calling user and the called user, the SBC location of the calling terminal side and the called terminal side, and the operator operation policy are pre-set information.
上述方法还可具有以下特点:  The above method can also have the following characteristics:
所述 AS收集主叫终端和被叫终端的具体位置的步骤包括:  The step of the AS collecting the specific locations of the calling terminal and the called terminal includes:
在终端注册时携带位置信息, 并触发到 AS 的第三方注册, 完成信息收 集; 或者, 底层 IP路由器上报位置信息到 AS; 或者, 终端釆用应用层协议 上报位置信息到 AS。  When the terminal is registered, the device carries the location information and triggers the third-party registration to the AS to complete the information collection. Alternatively, the underlying IP router reports the location information to the AS. Alternatively, the terminal uses the application layer protocol to report the location information to the AS.
上述方法还可具有以下特点:  The above method can also have the following characteristics:
所述信令面消息是指: 会话发起请求消息或会话发起响应消息。  The signaling plane message refers to: a session initiation request message or a session initiation response message.
为了解决上述技术问题, 本发明提供一种建立媒体会话的系统, 包括主 叫终端、 被叫终端、 CSCF和 AS;  In order to solve the above technical problem, the present invention provides a system for establishing a media session, including a calling terminal, a called terminal, a CSCF, and an AS;
所述 CSCF设置为: 主叫终端与被叫终端之间建立媒体会话的过程中, 将接收到信令面消息转发给所述 AS;  The CSCF is configured to: forward a signaling plane message to the AS during a media session between the calling terminal and the called terminal;
所述 AS设置为: 根据主叫和被叫双方的信息和 /或运营配置决定是否采 用 MP中转; 若决定采用 MP中转, 则所述 AS选择一个或者多个 MP, 向选 定的 MP申请媒体中转资源, 并根据申请的媒体中转资源信息替换所述信令 面消息中的媒体资源信息, 通过所述 CSCF转发所述替换后的信令面消息。  The AS is configured to: determine whether to adopt MP relay according to information and/or operation configuration of both the calling party and the called party; if it is decided to adopt MP relay, the AS selects one or more MPs, and applies for media to the selected MP. Transmitting the resource, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and forwarding the replaced signaling plane message by using the CSCF.
上述系统还可具有以下特点:  The above system can also have the following characteristics:
所述 AS还设置为: 根据主叫和被叫双方的信息和 /或运营配置选择 MP。 上述系统还可具有以下特点: 所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终 端和被叫终端的具体位置, 以及主叫终端侧和被叫终端侧的 SBC位置; The AS is further configured to: select an MP based on information and/or operational configuration of both the calling and called parties. The above system can also have the following characteristics: The information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and an SBC location of the calling terminal side and the called terminal side;
所述运营配置是指: 运营商运营策略。  The operation configuration refers to: an operator operation strategy.
上述系统还可具有以下特点:  The above system can also have the following characteristics:
所述 AS还设置为: 收集所述主叫终端和被叫终端的具体位置的信息; 所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置 以及运营商运营策略为预先设置的信息。  The AS is further configured to: collect information about specific locations of the calling terminal and the called terminal; preferences of the calling user and the called user, SBC location of the calling terminal side and the called terminal side, and an operator. The operational strategy is pre-set information.
一种建立媒体会话的应用服务器 (AS ) , 所述 AS设置为: 根据主叫和 被叫双方的信息和 /或运营配置决定是否釆用媒体代理 (MP ) 中转; 若决定 釆用 MP中转, 则选择一个或者多个 MP, 向选定的 MP申倚媒体中转资源, 并根据申请的媒体中转资源信息替换所述信令面消息中的媒体资源信息, 通 过呼叫会话控制功能 ( CSCF )转发所述替换后的信令面消息。  An application server (AS) for establishing a media session, the AS is configured to: determine whether to use a media agent (MP) relay according to information and/or operational configuration of both the calling and called parties; if it is decided to use MP relay, Selecting one or more MPs, forwarding the resources to the selected MP, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and forwarding the call through the call session control function (CSCF) The replaced signaling plane message.
所述 AS还设置为: 根据主叫和被叫双方的信息和 /或运营配置选择 MP。 所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终 端和被叫终端的具体位置, 以及主叫终端侧和被叫终端侧的 SBC位置;  The AS is further configured to: select an MP based on information and/or operational configuration of both the calling and called parties. The information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and an SBC location of the calling terminal side and the called terminal side;
所述运营配置是指: 运营商运营策略。  The operation configuration refers to: an operator operation strategy.
所述 AS还设置为: 收集所述主叫终端和被叫终端的具体位置的信息; 所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置 以及运营商运营策略为预先设置的信息。  The AS is further configured to: collect information about specific locations of the calling terminal and the called terminal; preferences of the calling user and the called user, SBC location of the calling terminal side and the called terminal side, and an operator. The operational strategy is pre-set information.
通过本发明, 可以实现根据主被叫双方的信息来决定在主被叫双方之间 建立的媒体面链接是釆用直接链接, 还是采用通过 MP中继的链接方式。 附图概述 According to the present invention, it is possible to determine whether the media plane link established between the calling party and the called party is a direct link or a link mode by MP relay according to the information of both the calling party and the called party. BRIEF abstract
图 1是现有技术中网络架构示意图;  1 is a schematic diagram of a network architecture in the prior art;
图 2是现有技术中会话建立流程示意图;  2 is a schematic diagram of a session establishment process in the prior art;
图 3是现有技术中 Hairpin模式下会话建立流程示意图; 图 4是本发明实施例的网络架构示意图; 3 is a schematic diagram of a session establishment process in a Hairpin mode in the prior art; 4 is a schematic diagram of a network architecture according to an embodiment of the present invention;
图 5是本发明应用实例一采用 MP中转的流程示意图;  FIG. 5 is a schematic diagram of a flow of using MP transfer in the application example 1 of the present invention; FIG.
图 6是本发明应用实例二终端直接建立会话的流程示意图。 本发明的较佳实施方式  FIG. 6 is a schematic flowchart of a terminal directly establishing a session according to an application example 2 of the present invention. Preferred embodiment of the invention
在本发明中, 由应用服务器 (Application Server, AS )根据主叫和被叫 双方的信息和 /或运营配置决定是否采用 MP中转, 并由该 AS向选定的 MP 申请媒体中转资源。  In the present invention, the application server (AS) determines whether to use the MP relay according to the information and/or the operation configuration of both the calling party and the called party, and the AS applies for the media transfer resource to the selected MP.
下面结合附图及具体实施例对本发明进行详细说明。  The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
如图 4所示, 本发明实施例中, 采用 AS来控制网络中的一个或者多个 As shown in FIG. 4, in the embodiment of the present invention, an AS is used to control one or more networks.
SBC中的媒体网关设备。 AS与 MP相连, 由 AS来控制 MP进行媒体资源的 分配、 释放、 更新等操作。 Media gateway device in the SBC. The AS is connected to the MP, and the AS controls the MP to perform operations such as allocation, release, and update of media resources.
本发明实施例的方法包括:  The method of the embodiment of the invention includes:
主叫终端与被叫终端之间建立媒体会话的过程中 , CSCF接收到信令面消 息后, 将所述信令面消息转发给 AS;  In the process of establishing a media session between the calling terminal and the called terminal, the CSCF forwards the signaling plane message to the AS after receiving the signaling plane message;
所述 AS根据主叫和被叫双方的信息和 /或运营配置等决定是否采用 MP 中转;  The AS determines whether to use the MP relay according to the information of the calling and called parties and/or the operational configuration;
若决定采用 MP中转,则所述 AS为所述媒体会话选择一个或者多个 MP, 向选定的 MP为所述媒体会话申请媒体中转资源, 并根据申请的媒体中转资 源信息替换所述信令面消息中的媒体资源信息, 通过所述 CSCF进一步转发 所述信令面消息。  If the MP transit is decided, the AS selects one or more MPs for the media session, applies the media transfer resource to the selected MP for the media session, and replaces the signaling according to the applied media relay resource information. The media resource information in the face message, and the signaling plane message is further forwarded by the CSCF.
其中, 所述信令面消息具体是指: 会话发起请求消息或会话发起响应消 息。  The signaling plane message specifically refers to: a session initiation request message or a session initiation response message.
当信令面消息经过 SGC网元时, SGC不再为该媒体会话申请媒体中转资 源。  When the signaling plane message passes through the SGC network element, the SGC no longer applies for the media relay resource for the media session.
优选地, 所述 AS选择 MP时, 根据主叫和被叫双方的信息和 Z或运营配 置等进行选择。 AS控制 MP行为的判断依据即主叫和被叫双方的信息、 运营配置中, 所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终 端和被叫终端的具体位置, 以及主叫终端侧和被叫终端侧的 SBC位置等; 所述运营配置包括: 运营商运营策略。 Preferably, when the AS selects the MP, the AS selects according to the information of the calling party and the called party, the Z or the operation configuration, and the like. The AS determines the MP behavior based on the information of the calling and called parties. In the operational configuration, the information of the calling party and the called party includes: the preferences of the calling user and the called user, the calling terminal and the called terminal. The specific location, and the SBC location on the calling terminal side and the called terminal side, etc.; the operation configuration includes: an operator operation policy.
其中, 所述主叫终端和被叫终端的具体位置为所述 AS收集得到的信息; 所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置以及 运营商运营策略为预先设置的信息。  The specific location of the calling terminal and the called terminal is information collected by the AS; the preferences of the calling user and the called user, the SBC location of the calling terminal side and the called terminal side, and the operator. The operational strategy is pre-set information.
所述 AS收集主叫终端和被叫终端的具体位置的方式可包括:  The manner in which the AS collects specific locations of the calling terminal and the called terminal may include:
在终端注册时携带位置信息, 并触发到 AS 的第三方注册, 完成信息收 集; 或者, 底层 IP路由器上报位置信息到 AS; 或者, 终端采用应用层协议 上报位置信息到 AS。  The terminal carries the location information and triggers the third-party registration to the AS to complete the information collection. Alternatively, the underlying IP router reports the location information to the AS. Alternatively, the terminal reports the location information to the AS by using the application layer protocol.
若 AS决定不采用 MP中转,则不对所述信令面消息进行修改, 直接将所 述信令面消息返回给 CSCF, 由所述 CSCF进一步转发该信令面消息。  If the AS decides not to use the MP relay, the signaling plane message is not modified, and the signaling plane message is directly returned to the CSCF, and the signaling plane message is further forwarded by the CSCF.
所述 AS根据申请的媒体中转资源信息替换所述信令面消息中的媒体资 源信息具体是指: AS将主叫终端或被叫终端的媒体面联系地址信息替换为中 转地址信息。  The replacement of the media resource information in the signaling plane message by the AS according to the media relay resource information of the application refers to: the AS replaces the media plane contact address information of the calling terminal or the called terminal with the transit address information.
本发明实施例的建立媒体会话的系统, 包括主叫终端、 被叫终端、 CSCF 和 AS ,  The system for establishing a media session in the embodiment of the present invention includes a calling terminal, a called terminal, a CSCF, and an AS.
所述 CSCF用于主叫终端与被叫终端之间建立媒体会话的过程中, 将接 收到信令面消息转发给所述 AS;  The CSCF is used to forward the received signaling plane message to the AS during the establishment of the media session between the calling terminal and the called terminal;
所述 AS 用于根据主叫和被叫双方的信息和 /或运营配置决定是否采用 MP中转; 若决定釆用 MP中转, 则所述 AS选择一个或者多个 MP, 向选定 的 MP 申请媒体中转资源, 并根据申请的媒体中转资源信息替换所述信令面 消息中的媒体资源信息, 通过所述 CSCF进一步转发所述信令面消息。  The AS is configured to determine whether to use MP relay according to information and/or operational configuration of both the calling party and the called party; if it is decided to use MP relay, the AS selects one or more MPs, and applies for media to the selected MP. Transmitting the resource, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and further forwarding the signaling plane message by using the CSCF.
所述 AS进一步用于根据主叫和被叫双方的信息和 /或运营配置选择 MP。 下面用本发明的应用实例进一步加以说明。  The AS is further configured to select an MP based on information and/or operational configurations of both the calling and called parties. The following is further illustrated by the application examples of the present invention.
应用实例一 如图 5所示, 为本发明应用实例一的流程示意图, 包括如下步骤: 步骤 501 , UE1将会话发起请求消息 (该会话发起请求消息为 SIP请求 消息 INVITE )发送给 SGC设备, 消息中携带的 UE1为本次会话分配的媒体 面联系地址信息 [SDP:c=A]; Application example one As shown in FIG. 5, the flowchart of the application example 1 of the present invention includes the following steps: Step 501: The UE1 sends a session initiation request message (the session initiation request message is a SIP request message INVITE) to the SGC device, where the message is carried. UE1 media face contact address information assigned to this session [SDP:c=A];
步骤 502 , SGC设备此时不再申请媒体面资源预留, 也不修改媒体面联 系地址信息, 将 SIP请求消息转发到 CSCF, 消息中携带的 UE1的媒体面联 系地址信息仍然为 [SDP:c=A];  Step 502: The SGC device does not apply for the media plane resource reservation at this time, and does not modify the media plane contact address information, and forwards the SIP request message to the CSCF. The media plane contact address information of the UE1 carried in the message is still [SDP:c =A];
步骤 503 , CSCF将该请求消息转发给 AS;  Step 503, the CSCF forwards the request message to the AS;
步骤 504, AS根据主被叫双方的位置信息、 主被叫双方的偏好设定、 网 络中 SBC的位置信息、 以及运营策略等信息判断此次呼叫是否需要 MP进行 媒体面中转, 本例流程中判断需要进行中转, 所以为本次会话选定 MP; 步骤 505 , AS 向选定的 MP为本次会话申请媒体面中转资源, 为 UE1 的媒体面联系地址分配资源;  Step 504: The AS determines, according to the location information of the calling party and the called party, the preference settings of the calling party and the called party, the location information of the SBC in the network, and the operation policy, whether the call requires the MP to perform media plane relay, in this example process. It is determined that the transfer needs to be performed, so the MP is selected for the session; Step 505, the AS applies the media face transfer resource to the selected MP for the session, and allocates resources for the media face contact address of the UE1;
其中, 选择的 MP可以是步骤 502中的 SGC同属一个 SBC, 也可以是与 该 SGC分属不同的 SBC;  The selected MP may be that the SGC in step 502 belongs to the same SBC, or may be a different SBC than the SGC;
步骤 506 , MP完成资源分配后将分配结果返回给 AS, 分配的媒体面联 系地址为 [c=Tr_A];  Step 506: After the MP completes the resource allocation, the MP returns the allocation result to the AS, and the assigned media plane contact address is [c=Tr_A];
步骤 507, AS将 SIP请求消息中 UE1的媒体面联系地址信息替换为中转 地址信息, 此时媒体面地址为 [SDP:c=Tr_A] , 发送给 CSCF;  Step 507, the AS replaces the media plane contact address information of the UE1 in the SIP request message with the transit address information, and the media plane address is [SDP:c=Tr_A], and is sent to the CSCF;
步骤 508 , CSCF转发该请求消息到对端终端 UE2 ,该消息中包含的 SDP 信息为 [SDP:c=Tr_A];  Step 508, the CSCF forwards the request message to the peer terminal UE2, and the SDP information included in the message is [SDP:c=Tr_A];
这里 CSCF与 UE2中间也可能存在 SBC, 其预留过程与主叫侧类似, 这 里为了描述清晰、 筒练, 将其省略;  Here, there may also be an SBC between CSCF and UE2, and the reservation process is similar to that of the calling side. Here, for clarity and training, it is omitted;
步骤 509 , UE2返回会话发起响应消息 (200 OK )给 CSCF, 消息中携 带 UE2的媒体面联系地址信息 [SDP:c=B]; Step 509: The UE2 returns a session initiation response message (200 OK) to the CSCF, where the message carries the media plane contact address information of the UE 2 [SDP:c=B];
步骤 510, CSCF将响应消息 ( 200 OK )转发给 AS;  Step 510, the CSCF forwards the response message (200 OK) to the AS;
步骤 511 , AS通过 SIP消息控制 MP进行资源预留,为 UE2的媒体面联 系地址分配资源; Step 511: The AS controls the MP to perform resource reservation by using a SIP message, and is a media interface of the UE2. Department address allocation resources;
步骤 512 , MP完成资源分配后将分配结果返回给 AS, 分配的媒体面联 系地址为 [c=Tr_B];  Step 512: After the MP completes resource allocation, the MP returns the allocation result to the AS, and the assigned media plane contact address is [c=Tr_B];
步骤 513, AS将响应消息 (200 OK ) 中 UE2的媒体面联系地址信息替 换为 [SDP:c=Tr— B]后, 发送给 CSCF;  Step 513, the AS replaces the media plane contact address information of the UE2 in the response message (200 OK) with [SDP:c=Tr_B], and sends the message to the CSCF.
步骤 514, CSCF将响应消息 ( 200 OK )转发给 SGC;  Step 514, the CSCF forwards the response message (200 OK) to the SGC;
步骤 515 , SGC此时不再修改响应消息 ( 200 OK ) 中的媒体面联系地址 信息, 将消息转发给 UE1 ;  Step 515, the SGC no longer modifies the media face contact address information in the response message (200 OK), and forwards the message to UE1;
步骤 516 , UE1与 UE2完成了 SDP协商, 在他们之间建立了通过 MP转 发的媒体链接。  Step 516, UE1 and UE2 complete the SDP negotiation, and establish a media link forwarded by the MP between them.
应用实例二 Application example two
在图 5所描述的应用实例中, 在呼叫双方之间建立了通过 MP转发的媒 体面链接。 采用本发明也可以在主被叫之间直接的媒体面联系, 其流程如图 6所示, 其具体流程如下:  In the application example depicted in Figure 5, a media plane link forwarded by the MP is established between the calling parties. The invention can also directly contact the media face between the calling and the called party. The flow is shown in Figure 6. The specific process is as follows:
步骤 601 , UE1 将会话发起请求消息发送给 SGC设备, 消息中携带的 UE1为本次会话分配的媒体面联系地址信息 [SDP:c=A];  Step 601: The UE1 sends a session initiation request message to the SGC device, where the UE1 carried in the message is the media plane contact address information allocated for the session [SDP:c=A];
步骤 602, SGC设备此时不再申请媒体面资源预留, 也不修改媒体面联 系地址信息, 将该请求消息转发到 CSCF, 消息中携带的 UE1的媒体面联系 地址信息仍然为 [SDP:c=A];  Step 602: The SGC device does not apply for the media plane resource reservation at this time, and does not modify the media plane contact address information, and forwards the request message to the CSCF. The media plane contact address information of the UE1 carried in the message is still [SDP:c =A];
步骤 603, CSCF将该请求消息转发给 AS;  Step 603, the CSCF forwards the request message to the AS;
步骤 604, AS根据主被叫双方的位置信息、 主被叫双方的偏好设定、 网 络中 SBC的位置信息、 以及运营策略等信息判断此次呼叫是否需要 MP进行 媒体面中转, 本例流程中判断不需要进行中转;  Step 604: The AS determines, according to the location information of the calling party and the called party, the preference settings of the calling party and the called party, the location information of the SBC in the network, and the operation policy, whether the call requires the MP to perform media plane relay, in this example process. Judging that no transfer is required;
步骤 605 , 因此 AS不对 SDP消息中的媒体面联系地址进行修改, 将请 求消息转发给 CSCF, 消息中携带的媒体面地址信息仍然为 [SDP:c=A]; 步骤 606 , CSCF转发该请求消息到对端终端 UE2; 步骤 607 , UE2返回会话发起响应消息 (200 OK )给 CSCF, 消息中携 带 UE2的媒体面联系地址信息 [SDP:c=B]; Step 605: Therefore, the AS does not modify the media plane contact address in the SDP message, and forwards the request message to the CSCF, and the media plane address information carried in the message is still [SDP:c=A]; Step 606, the CSCF forwards the request message. To the peer terminal UE2; Step 607: The UE2 returns a session initiation response message (200 OK) to the CSCF, where the message carries the media plane contact address information of the UE2 [SDP:c=B];
步骤 608 , CSCF将响应消息 ( 200 OK )转发给 AS;  Step 608, the CSCF forwards the response message (200 OK) to the AS;
步骤 609由于本次会话不需要 MP 进行转发, AS 直接将消息转发给 CSCF;  Step 609: The AS directly forwards the message to the CSCF because the MP does not need to forward the session.
步骤 610 , CSCF将响应消息 ( 200 OK )转发给 SGC;  Step 610, the CSCF forwards the response message (200 OK) to the SGC;
步骤 611 , SGC此时不再修改响应消息 ( 200 OK ) 中的媒体面联系地址 信息, 将消息转发给 UE1 ;  Step 611, the SGC no longer modifies the media face contact address information in the response message (200 OK), and forwards the message to UE1;
步骤 612, UE1与 UE2完成了 SDP协商,在他们之间建立了直接联系的 媒体链接。  Step 612, UE1 and UE2 complete the SDP negotiation, and establish a direct connection media link between them.
由于 AS—般部署时都是位于 IMS 网络的中心位置, 而 SBC位于 IMS 网络的边缘位置, 当 IMS网络具备一定 莫时, AS与 SBC的距离是相当远 的, 在它们之间的每次通讯耗费较多的资源、 较长的时间, 因此这里节省一 次预留过程, 还是具备相当大的实用价值的。  Since the AS-like deployment is located at the center of the IMS network, and the SBC is located at the edge of the IMS network, when the IMS network has a certain time, the distance between the AS and the SBC is quite far, and each communication between them is It takes a lot of resources and a long time, so saving a reservation process here is still quite practical.
可以看到通过本发明, 可以实现才艮据主被叫双方的信息来决定在主被叫 双方之间建立的媒体面链接是采用直接链接, 还是采用通过 MP中继的链接 方式。  It can be seen that through the present invention, it is possible to determine whether the media side link established between the calling party and the called party is a direct link or a link mode via MP relay, based on the information of both the calling party and the called party.
当然, 本发明还可有其它多种实施例, 在不背离本发明精神及其实质的 情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。  The invention may, of course, be embodied in a variety of other embodiments without departing from the spirit and scope of the invention. Changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
本发明可以实现根据主被叫双方的信息来决定在主被叫双方之间建立的 媒体面链接是采用直接链接, 还是采用通过 MP中继的链接方式。  The invention can realize whether the media side link established between the calling party and the called party is a direct link or a link mode through the MP relay according to the information of the calling party and the called party.

Claims

权 利 要 求 书 Claim
1、 一种建立媒体会话的方法, 包括: 1. A method of establishing a media session, comprising:
主叫终端与被叫终端之间建立媒体会话的过程中, 呼叫会话控制功能 Call session control function in the process of establishing a media session between the calling terminal and the called terminal
( CSCF )接收到信令面消息后,将所述信令面消息转发给应用服务器 ( AS ) ; (CSCF) after receiving the signaling plane message, forwarding the signaling plane message to an application server (AS);
所述 AS根据主叫和被叫双方的信息和 /或运营配置决定是否采用媒体代 理(MP ) 中转;  The AS determines whether to use media agent (MP) relay according to the information of the calling and called parties and/or the operational configuration;
若决定采用 MP中转, 则所述 AS选择一个或者多个 MP, 向选定的 MP 申请媒体中转资源, 并根据申请的媒体中转资源信息替换所述信令面消息中 的媒体资源信息, 通过所述 CSCF转发所述替换后的信令面消息。  If the MP transit is determined, the AS selects one or more MPs, applies the media transfer resource to the selected MP, and replaces the media resource information in the signaling plane message according to the applied media relay resource information. The CSCF forwards the replaced signaling plane message.
2、 如权利要求 1所述的方法, 其中, 2. The method of claim 1 wherein
所述 AS根据主叫和被叫双方的信息和 /或运营配置选择 MP。  The AS selects the MP based on the information and/or operational configuration of both the calling and called parties.
3、 如权利要求 1或 2所述的方法, 其中, 3. The method according to claim 1 or 2, wherein
所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终 端和被叫终端的具体位置, 以及主叫终端侧和被叫终端侧的会话边界控制器 ( SBC )位置;  The information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and a session border controller of the calling terminal side and the called terminal side (SBC) Location
所述运营配置是指: 运营商运营策略。  The operation configuration refers to: an operator operation strategy.
4、 如权利要求 3所述的方法, 其中, 4. The method of claim 3, wherein
所述 AS决定是否釆用 MP中转之前, 该方法还包括: 所述 AS收集得到 所述主叫终端和被叫终端的具体位置的信息;  Before the AS determines whether to use the MP transit, the method further includes: the AS collecting information about the specific location of the calling terminal and the called terminal;
所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置 以及运营商运营策略为预先设置的信息。  The preferences of the calling user and the called user, the SBC location of the calling terminal side and the called terminal side, and the operator operation policy are pre-set information.
5、 如权利要求 4所述的方法, 其中, 5. The method of claim 4, wherein
所述 AS收集主叫终端和被叫终端的具体位置的步骤包括:  The step of the AS collecting the specific locations of the calling terminal and the called terminal includes:
在终端注册时携带位置信息, 并触发到 AS 的第三方注册, 完成信息收 集; 或者, 底层 IP路由器上报位置信息到 AS; 或者, 终端采用应用层协议 上报位置信息到 AS。 Carrying the location information when the terminal is registered, and triggering the third-party registration to the AS to complete the information collection; or, the underlying IP router reports the location information to the AS; or, the terminal adopts the application layer protocol. Report location information to the AS.
6、 如权利要求 1所述的方法, 其中, 6. The method of claim 1, wherein
所述信令面消息是指: 会话发起请求消息或会话发起响应消息。  The signaling plane message refers to: a session initiation request message or a session initiation response message.
7、 一种建立媒体会话的系统, 包括主叫终端、 被叫终端、 呼叫会话控制 功能 (CSCF ) 和应用服务器 (AS ) ; 7. A system for establishing a media session, comprising a calling terminal, a called terminal, a call session control function (CSCF), and an application server (AS);
所述 CSCF设置为: 主叫终端与被叫终端之间建立媒体会话的过程中, 将接收到信令面消息转发给所述 AS;  The CSCF is configured to: forward a signaling plane message to the AS during a media session between the calling terminal and the called terminal;
所述 AS设置为: 根据主叫和被叫双方的信息和 /或运营配置决定是否采 用媒体代理 (MP ) 中转; 若决定釆用 MP中转, 则所述 AS选择一个或者多 个 MP, 向选定的 MP申请媒体中转资源, 并根据申请的媒体中转资源信息替 换所述信令面消息中的媒体资源信息, 通过所述 CSCF转发所述替换后的信 令面消息。  The AS is configured to: determine whether to use media agent (MP) relay according to information and/or operational configuration of both the calling party and the called party; if it decides to use MP relay, the AS selects one or more MPs, and selects The specified MP applies for media transfer resources, and replaces the media resource information in the signaling plane message according to the applied media relay resource information, and forwards the replaced signaling plane message by using the CSCF.
8、 如权利要求 7所述的系统, 其中, 8. The system of claim 7, wherein
所述 AS还设置为: 根据主叫和被叫双方的信息和 /或运营配置选择 MP。  The AS is further configured to: select an MP based on information and/or operational configuration of both the calling and called parties.
9、 如权利要求 7或 8所述的系统, 其中, 9. The system of claim 7 or 8, wherein
所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终 端和被叫终端的具体位置, 以及主叫终端侧和被叫终端侧的 SBC位置;  The information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and an SBC location of the calling terminal side and the called terminal side;
所述运营配置是指: 运营商运营策略。  The operation configuration refers to: an operator operation strategy.
10、 如权利要求 9所述的系统, 其中, 10. The system of claim 9, wherein
所述 AS还设置为: 收集所述主叫终端和被叫终端的具体位置的信息; 所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置 以及运营商运营策略为预先设置的信息。  The AS is further configured to: collect information about specific locations of the calling terminal and the called terminal; preferences of the calling user and the called user, SBC location of the calling terminal side and the called terminal side, and an operator. The operational strategy is pre-set information.
11、 一种建立媒体会话的应用服务器 (AS ) , 所述 AS设置为: 根据主 叫和被叫双方的信息和 /或运营配置决定是否采用媒体代理 (MP ) 中转; 若 决定采用 MP中转, 则选择一个或者多个 MP, 向选定的 MP申请媒体中转资 源,并根据申请的媒体中转资源信息替换所述信令面消息中的媒体资源信息, 通过呼叫会话控制功能 (CSCF )转发所述替换后的信令面消息。 11. An application server (AS) for establishing a media session, wherein the AS is configured to: determine whether to use a media agent (MP) relay according to information and/or operational configuration of both the calling party and the called party; if it is decided to adopt MP relay, Then select one or more MPs to transfer funds to the selected MP application media. Source, and replacing the media resource information in the signaling plane message according to the applied media relay resource information, and forwarding the replaced signaling plane message by using a call session control function (CSCF).
12、 如权利要求 11所述的 AS, 其中, 所述 AS还设置为: 根据主叫和 被叫双方的信息和 /或运营配置选择 MP。  12. The AS according to claim 11, wherein the AS is further configured to: select an MP according to information and/or an operational configuration of both the calling party and the called party.
13、 如权利要求 12所述的 AS, 其中, 所述主叫和被叫双方的信息包括: 主叫用户和被叫用户的偏好, 主叫终端和被叫终端的具体位置 , 以及主叫终 端侧和被叫终端侧的 SBC位置;  13. The AS according to claim 12, wherein the information of the calling party and the called party includes: a preference of the calling user and the called user, a specific location of the calling terminal and the called terminal, and a calling terminal. Side and side SBC positions on the called terminal side;
所述运营配置是指: 运营商运营策略。  The operation configuration refers to: an operator operation strategy.
14、 如权利要求 13所述的 AS, 其中, 所述 AS还设置为: 收集所述主 叫终端和被叫终端的具体位置的信息;  The AS according to claim 13, wherein the AS is further configured to: collect information about specific locations of the calling terminal and the called terminal;
所述主叫用户和被叫用户的偏好, 主叫终端侧和被叫终端侧的 SBC位置 以及运营商运营策略为预先设置的信息。  The preferences of the calling user and the called user, the SBC location of the calling terminal side and the called terminal side, and the operator operation policy are pre-set information.
PCT/CN2010/078558 2009-11-20 2010-11-09 Method and system for establishing media session WO2011060694A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910221543.5 2009-11-20
CN2009102215435A CN102075493A (en) 2009-11-20 2009-11-20 Method and system for establishing media session

Publications (1)

Publication Number Publication Date
WO2011060694A1 true WO2011060694A1 (en) 2011-05-26

Family

ID=44033839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078558 WO2011060694A1 (en) 2009-11-20 2010-11-09 Method and system for establishing media session

Country Status (2)

Country Link
CN (1) CN102075493A (en)
WO (1) WO2011060694A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103548312A (en) * 2011-12-27 2014-01-29 华为技术有限公司 Method and device for controlling user communications

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013086652A1 (en) * 2011-12-13 2013-06-20 华为技术有限公司 Method, device and system for processing address information
CN104052675A (en) * 2013-03-13 2014-09-17 中国移动通信集团公司 Method, system, SBC and AS for realizing SBC overload control
CN114629778B (en) * 2020-12-14 2023-08-01 中国移动通信集团四川有限公司 IP multimedia service fault processing method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838631A (en) * 2005-03-22 2006-09-27 华为技术有限公司 Media proxy selecting method
CN101420368A (en) * 2007-10-23 2009-04-29 中兴通讯股份有限公司 Method for implementing media hairpin by SBC
WO2009082297A1 (en) * 2007-12-20 2009-07-02 Telefonaktiebolaget L M Ericsson (Publ) A method for establishing a local media connection in a communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838631A (en) * 2005-03-22 2006-09-27 华为技术有限公司 Media proxy selecting method
CN101420368A (en) * 2007-10-23 2009-04-29 中兴通讯股份有限公司 Method for implementing media hairpin by SBC
WO2009082297A1 (en) * 2007-12-20 2009-07-02 Telefonaktiebolaget L M Ericsson (Publ) A method for establishing a local media connection in a communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103548312A (en) * 2011-12-27 2014-01-29 华为技术有限公司 Method and device for controlling user communications

Also Published As

Publication number Publication date
CN102075493A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
EP3082318B1 (en) Communication method and device for preventing media stream circuity (tromboning)
EP2807857B1 (en) Handover of emergency calls from a circuit switched to a packet switched access network
EP2543226B1 (en) Method and apparatus for policy control within network comprising a mobile network and a fixed line network
WO2006063536A1 (en) A method and system of holding session continuity
CN101160808A (en) Method for triggering user registration in IP multimedia subsystem
WO2008046303A1 (en) Method for providing access mode selection to multimode terminal, system and apparatus thereof
EP2583476B1 (en) Methods and apparatuses for using a vplmn infrastructure by an hplmn to terminate an ims session set-up for a roaming user
EP2628286B1 (en) Connection control with b2bua located behind nat gateway
WO2007147357A1 (en) A method and system for transmitting subscriber terminate location information in ip multimedia subsystem
WO2009149667A1 (en) Method, device and system for accessing the called
US20090052438A1 (en) Method, system and device for processing supplementary services
US9374763B2 (en) Gating control in a telecommunication system
WO2011060694A1 (en) Method and system for establishing media session
WO2008116390A1 (en) A method for sending signaling information and a signaling device
WO2014180410A1 (en) Method and apparatus for implementing media qos carrier resource control
EP1947801A1 (en) A method of qos authorization
WO2008052466A1 (en) Method, system and equipment for switching among different networks
US20120246254A1 (en) Method and Apparatus for User Equipment Accessing in IP Multimedia Subsystem
WO2008110110A1 (en) Ip multimedia subsystem service providing method and system
WO2007085199A1 (en) Method, application and apparatus for identifying user state in networks
WO2012019532A1 (en) Method and system for anchoring session
JP5112491B2 (en) Integrated signal processing apparatus and method for IP-based wired and wireless integrated network
CN102487519B (en) Media content monitor method and device in IP Multimedia System
Shimada et al. IP-based FOMA Voice Network toward Enhanced Services and Improved Efficiencies
KR20160084516A (en) VoLTE SYSTEM, CONTROL METHOD THEREOF, PGW AND CSCF COMPRISED IN THE SYSTEM, CONTROL METHOD THEREOF

Legal Events

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

Ref document number: 10831109

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10831109

Country of ref document: EP

Kind code of ref document: A1