WO2012010019A1 - Method and system for realizing media anchoring - Google Patents

Method and system for realizing media anchoring Download PDF

Info

Publication number
WO2012010019A1
WO2012010019A1 PCT/CN2011/075608 CN2011075608W WO2012010019A1 WO 2012010019 A1 WO2012010019 A1 WO 2012010019A1 CN 2011075608 W CN2011075608 W CN 2011075608W WO 2012010019 A1 WO2012010019 A1 WO 2012010019A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
sdp
alg
anchor
anchoring
Prior art date
Application number
PCT/CN2011/075608
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 WO2012010019A1 publication Critical patent/WO2012010019A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to a call technology in an IP Multimedia Core Subsystem (IMS), and more particularly to a method and system for implementing media anchoring.
  • IMS IP Multimedia Core Subsystem
  • IMS is an IP-based network architecture proposed by the 3rd Generation Partnership Project (3GPP) to build an open and flexible business environment. IMS supports multimedia applications and provides users with rich multimedia services.
  • 3GPP 3rd Generation Partnership Project
  • control layer In the IMS service system, the control layer and the service layer are separated.
  • the control layer does not provide specific services, and only provides the necessary triggering, routing, and accounting functions to the service layer.
  • the service triggering and control functions in the control layer are performed by the Call Session Control Function (CSCF, Call Session Control Function).
  • Call session control functions are divided into: proxy call session control function (P-CSCF, Proxy-CSCF), query call session control function (I-CSCF, Interrogating-CSCF) and service call session control function (S-CSCF, Serving-CSCF) )
  • P-CSCF proxy call session control function
  • I-CSCF query call session control function
  • S-CSCF Service Call session control function
  • S-CSCF Serving-CSCF
  • the service layer is composed of a series of application servers (AS, Application Server), which can provide specific service services.
  • AS application servers
  • the AS can be an independent entity or exist in the S-CSCF.
  • the S-CSCF in the control layer controls the service trigger according to the subscription information of the user, and invokes the service on the AS to implement the service function.
  • the ALG includes a signaling processing entity and a media processing entity, which are used to implement control signaling and media interaction, topology hiding, media codec conversion, and media data between different networks.
  • ALG application layer gateway
  • the end-to-end device in the session is called User Equipment (UE) and is responsible for interaction with the user.
  • UE User Equipment
  • Some UEs have multiple access networks, including 3GPP packet switching (PS, Packet Switch) domain. Access the network, access the network through other non-3GPP PS domains, and even access the network through the circuit switched (CS, Circuit Switch) domain.
  • PS Packet Switch
  • CS Circuit Switch
  • the ALG cannot determine whether to anchor the media according to the user subscription information of the SDP request initiator, for example, the calling user signs the contract.
  • the ALG first decides to anchor the media or not to anchor the media according to the local policy. After the SDP request arrives at the AS, the AS determines, according to the SDP requesting the user's subscription information, that the anchor does not need to be anchored or needs to anchor the media.
  • the main object of the present invention is to provide a method and system for implementing media anchoring, which can save signaling consumption and shorten the call setup duration.
  • a method of implementing media anchoring comprising:
  • the application layer gateway ALG After receiving the session description protocol SDP request, the application layer gateway ALG carries the media resource information in the SDP request received by the ALG and the media resource information of the media processing entity allocated by the ALG in the SDP request that needs to be forwarded, and Forward the SDP request;
  • the application server AS receives the SDP request, determines whether the ALG anchor media is needed, and sends a session initiation protocol SIP message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is required; The ALG determines whether to anchor the media based on the received SIP message.
  • the AS determines whether the ALG anchoring medium is required to include:
  • the AS determines whether the ALG anchoring medium is required according to one or any combination of the following: SDP requesting the user's subscription information of the initiator, the SDP requesting the initiator's roaming information, the SDP requesting the destination party's home information, and the SDP requesting the destination party's roaming Information, whether the SDP requests the originator's home network to anchor the media.
  • Whether the decision requires the ALG anchor media specifically includes:
  • the AS determines the anchoring information according to the SDP requesting the user's subscription information of the initiator, and determines that the subscription information indicates that the anchoring needs to be anchored;
  • the AS further determines whether the home network of the SDP requesting initiator anchors the media, and if not, further determines whether the SDP requests the initiator to roam, and if roaming, decides to anchor. ;
  • the SDP requests the destination party's attribution information to determine whether the destination party is the carrier network user, and if not, decides to anchor;
  • the AS determines whether the ALG is required to anchor the media, before sending the SIP message, the AS further includes:
  • the AS When the anchor media is determined, the AS carries the ALG-related media resource information carried in the received SDP request in the forwarded SDP request.
  • the AS When it is determined that the media is not anchored, the AS carries the media resource information related to the SDP request initiator that is carried in the received SDP request, and is carried in the forwarded SDP request.
  • the ALG determines, according to the received SIP message, whether to anchor the media, including:
  • the ALG sends an SDP response to the SDP requesting initiator, and if it is determined that the anchoring is required by the media anchoring indication in the SIP message, the SDP response carries the media allocated by the ALG.
  • the media resource information of the entity is processed by the entity, otherwise the SDP response does not carry the media resource information of the media processing entity allocated by the ALG.
  • the method for implementing the media anchor indication for indicating whether the ALG anchor media is needed is: the media anchor indication uses a special SIP message header field identifier to indicate whether the ALG anchor media is needed; or
  • the media anchor indication is included in the SDP response carried by the SIP message.
  • the implementation manner of the anchor indication is:
  • the anchor indication implementation method is:
  • the media line corresponding to the media resource information associated with the ALG When the media line corresponding to the media resource information associated with the ALG is valid, it indicates that the media needs to be anchored; or, when the media line corresponding to the media resource information related to the SDP request originator is invalid, it indicates that the media needs to be anchored.
  • a system for implementing media anchoring including at least ALG and AS, wherein
  • the ALG is configured to forward a session description protocol (SDP request), where the forwarded SDP request carries the received media resource information and the media resource information allocated by the ALG;
  • SDP request session description protocol
  • the AS is configured to receive an SDP request, determine whether the ALG anchor media is required, and send an SIP message carrying the SDP response according to the determined result.
  • the AS determines that the ALG anchoring medium is required, the media line corresponding to the media resource information related to the ALG in the SDP response is valid, or the media resource information related to the SDP request initiator in the SDP response is The corresponding media line is invalid.
  • the SDP request to be forwarded carries the media resource information in the received SDP request, and the media resource information of the media processing entity allocated by the ALG. And forward the SDP request; AS receives The SDP requests to determine whether the ALG anchor media is needed; the AS sends a Session Initiation Protocol (SIP) message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is required; the ALG determines according to the received SIP message. Whether to anchor the media.
  • SIP Session Initiation Protocol
  • the AS implements determining whether the ALG anchors the media, does not require additional signaling, and saves signaling consumption, thereby shortening the call setup duration.
  • FIG. 1 is a flow chart of a method for implementing media anchoring according to the present invention
  • FIG. 2 is a schematic structural diagram of a system for implementing media anchoring according to the present invention.
  • FIG. 3 is a schematic flow chart of a first embodiment of implementing media anchoring according to the present invention.
  • FIG. 4 is a schematic flow chart of a second embodiment of implementing media anchoring according to the present invention. detailed description
  • FIG. 1 is a flowchart of a method for implementing media anchoring according to the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step 100 After receiving the SDP request, the ALG carries the media resource information in the SDP request and the media resource information of the media processing entity allocated by the ALG in the SDP request that needs to be forwarded, and forwards the SDP request.
  • the SDP request received by the ALG carries the media resource information of the SDP request initiator, and the ALG allocates the media resource information (ie, the media resource related to the ALG) used to connect the media processing entity of the SDP request destination. Information).
  • the SDP request forwarded by the ALG is forwarded to the AS via the S-CSCF.
  • the SDP request can be carried by the SIP INVITE message.
  • Step 101 The AS receives the SDP request to determine whether the ALG anchor media is needed.
  • the AS according to the SDP request or the INVITE message originator's user subscription information, SDP request or INVITE message initiator's roaming information, SDP request or INVITE message purpose Whether the party's attribution information, the SDP request or the INVITE message's destination party's roaming information, the SDP request, or the INIVTE message originator's home network is one of the anchor media or any combination, decide whether to forward the ALG-related media resource information to anchor or Do not anchor the media.
  • the AS further determines whether the SDP request or the home network of the initiator of the INIVTE message anchors the media, and if not anchored, further determines the SDP request or the INVITE message initiator.
  • roaming if roaming, decides to anchor; if not roaming, further determines whether the destination party is the operator network user according to the SDP request or the attribution information of the destination party of the INIVITE message, and if not, decides to anchor; if yes, decides to anchor; Then, according to the SDP request or the attribution information of the destination party of the INIVITE message, it is determined whether the destination party roams, and if it roams, it decides to anchor; otherwise, it decides not to anchor.
  • the method when determining the anchor media, the method further includes: the AS carrying the ALG-related media resource information carried in the received SDP request, and carrying the information in the SDP request forwarded to the SDP request or the INVITE message destination party, and sending
  • the AS When it is determined that the media is not anchored, the AS carries the media resource information related to the SDP request initiator carried in the received SDP request, and carries the information in the SDP request forwarded to the SDP request or the INVITE message destination party.
  • Step 102 The AS sends a SIP message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is needed.
  • the SIP message is forwarded to the ALG via the S-CSCF.
  • the anchor indication implementation method is: using a special SDP attribute identifier to indicate whether the ALG anchor media is required; or The specific media line is valid or invalid to indicate, specifically: when the media line corresponding to the media resource information related to the ALG is valid (carrying), indicating that the media needs to be anchored; or, when the media resource related to the SIP request originator is related Information When the corresponding media line is invalid, it indicates that the media needs to be anchored.
  • Step 103 The ALG determines whether to anchor the media according to the received SIP message.
  • the method includes: the ALG sends an SDP response to the SDP request or the INVITE message initiator, and if it is determined that the anchoring is required by the media anchor indication in the SIP message, the SDP response carries the media processing media resource information allocated by the ALG.
  • the identifier is displayed as requiring anchor timing; or, if the media anchoring indication is indicated by the media line, the media corresponding to the ALG-related media resource information
  • the line is valid, or the media line corresponding to the media resource information related to the SDP request or the INVITE message originator is invalid:
  • the ALG carries the ALG-assigned connection SDP request in the SDP response forwarded to the SDP request or the INVITE message initiator. Or the media resource information of the media processing entity of the INVITE message originator.
  • the SDP request or the INVITE message initiator negotiates the media resource with the ALG, and the ALG negotiates the media resource with the SDP request or the INVITE message destination party; the ALG controls the media processing function entity to forward the media data to implement the call between the two parties, and implements the anchor.
  • the function of the media ie in the media path
  • the identifier is displayed as not requiring anchor timing; or, if the media anchor indication indicates that the media line corresponding to the ALG-related media resource information is invalid, Or when the media line corresponding to the media resource information related to the SDP request or the INVITE message originator is valid: the ALG does not carry the ALG allocated for connecting the SDP request or the INVITE in the SDP response forwarded to the SDP request or the INVITE message initiator. The media resource information of the media processing entity of the initiator. At this point, the SDP request or the INVITE message originator negotiates the media resource with the SDP request or the INVITE message destination. The ALG is not included in the call media path of both parties, that is, the media is not anchored.
  • the AS determines whether the ALG anchors the media through the existing signaling in the call setup process, does not require additional signaling, and saves signaling consumption, thereby shortening the call setup duration.
  • a method for implementing media anchoring is provided for the method of the present invention, including at least ALG and AS, wherein
  • the ALG is configured to forward a session description protocol (SDP request), where the forwarded SDP request carries the received media resource information and the media resource information allocated by the ALG;
  • SDP request session description protocol
  • the AS is configured to receive an SDP request, determine whether the ALG anchor media is required, and send an SIP message carrying the SDP response according to the determined result.
  • the AS determines that the ALG anchoring medium is required, the media line corresponding to the media resource information related to the ALG in the SDP response is valid, or the media resource information related to the SDP request initiator in the SDP response is The corresponding media line is invalid.
  • FIG. 3 is a schematic flowchart of a first embodiment of implementing media anchoring according to the present invention.
  • UE-1 initiates a call as a calling party to the called party UE-2, and UE-1 establishes a call.
  • the session signaling is forwarded by the ALG and the AS, and the information exchanged between the AS and the ALG is forwarded by the S-CSCF.
  • the specific steps include the following steps:
  • Step 300 The UE-1 sends a Session Description Protocol (SDP) request to the UE-2: SDP1 to establish a media connection with the UE-2, for example, by sending an Invite INVITE message of the Session Initiation Protocol SIP, where the SDP1 includes the UE-1. Media resource information.
  • SDP Session Description Protocol
  • Step 301 The SDP request or the INVITE message carrying the SDP request passes through the ALG, and the ALG allocates a media resource used to connect to the media processing entity at the UE-2 end.
  • Step 302 The ALG generates a new SDP request: SDP2, in SDP2, the media resource information in the received SDP request, and the media resource information of the media processing entity allocated by the ALG in step 301 (indicated by ALG1 in FIG. 3) ), and then forward the INVITE message carrying SDP2.
  • the SDP request is forwarded, so that the SDP request received by the ALG may not be SDP1, but the modified SDP request is still used to establish a media connection with the UE-1, so the media resource information may still be regarded as UE-1 related.
  • ALG includes ALG1 in SDP2. For example, if ALG1 contains voice media resource information, then the voice media resource information related to UE-1 is in front, ALG1 voice media resource information is behind or vice versa, or ALG1 voice media resource. The attribute of the message is "inactive";
  • Step 303 The SDP request or the INVITE message carrying the SDP request arrives at the S-CSCF, and the S-CSCF forwards the SDP request or the INVITE message carrying the SDP request.
  • Step 304 The SDP request or the INVITE message carrying the SDP request arrives at the AS, and the AS according to the SDP request or the INVITE message originator's user subscription information, the SDP request or the INVITE message initiator's roaming information, the SDP request or the INVITE message destination party's attribution information. Whether the SDP request or the INVITE message destination party's roaming information, the SDP request, or the INIVTE message originator's home network anchors one or any combination of media, whether the decision requires ALG anchoring or no anchoring.
  • ⁇ mouth the SDP request or the INVITE message carrying the SDP request arrives at the AS, and the AS according to the SDP request or the INVITE message originator's user subscription information, the SDP request or the INVITE message initiator's roaming information, the SDP request or the INVITE message destination party's attribution information.
  • the AS further determines whether the SDP request or the home network of the initiator of the INIVTE message anchors the media, and if not anchored, further determines the SDP request or the INVITE message initiator.
  • roaming if roaming, decides to anchor; if not roaming, further determines whether the destination party is the operator network user according to the SDP request or the attribution information of the destination party of the INIVITE message, and if not, decides to anchor; if yes, decides to anchor; Then, according to the SDP request or the attribution information of the destination party of the INIVITE message, it is determined whether the destination party roams, and if it roams, it decides to anchor; otherwise, it decides not to anchor.
  • the judgment result of the AS is that anchoring is required.
  • the AS does not anchor the media
  • the subsequent steps 305-306 are performed. If the AS anchors the media, the steps 305-306 are performed in a standard anchoring manner, and are not related to the present invention and will not be described again.
  • the entity may modify the received SDP request and forward it out, so that the SDP request received by the AS may not be SDP2, but the modified SDP request is still used to establish a media connection with the media processing entity controlled by UE-1 and ALG. Therefore, the media resource information therein can still be regarded as related to UE-1 or ALG.
  • Step 305 The AS generates a new SDP request: SDP3, which includes ALG-related media resource information (represented by ALG1 in FIG. 3) in SDP3, and does not include the same media type in the media resource information related to ALG1 included in UE-1.
  • the media resource information for example, ALG1 includes voice media resource information, and the SDP3 does not include the UE-1 related voice media resource information.
  • Step 306 The SDP request or the INVITE message carrying the SDP request arrives at the UE-2, and the UE-2 uses the media resource information in the received SDP request to negotiate the media, and sends a SIP message, where the message carries an SDP response (English translation: Answer) SDP4, for example, the SIP message is a 200 OK message, and the SDP4 carries the media resource information of the UE-2.
  • SDP response English translation: Answer
  • Step 307 The SIP message arrives at the AS, and the AS carries an anchor indication to indicate the ALG anchor media when forwarding the SIP message, and includes a new SDP response in the message body: SDP5, which includes the received media resource information in the SDP4 in the SDP5. .
  • the SDP5 includes the same number and type of media lines as the SDP2, and the media line portion corresponding to the ALG1 in the SDP2 in the SDP5 contains the media resource information in the received SDP4, that is, the ALP related to the ADP in the SDP5.
  • the media line corresponding to the media resource information is valid; the port in the media line corresponding to the media resource information related to UE-1 in SDP2 in SDP5 is set to 0, that is, the media resource information related to UE-1 in SDP5 corresponds.
  • the media line is invalid.
  • Step 308 The SIP message arrives at the S-CSCF, and the S-CSCF forwards the SIP message.
  • Step 309 The ALG receives the SIP message, and determines that the media anchor indication carried in the SIP message is indicated as requiring anchoring; or determining the media related to the ALG in the SDP response in the SIP message. If the media line corresponding to the resource information is valid (or the media line corresponding to the media resource information related to the UE-1 is invalid), the media resource for connecting to the media processing entity at the UE-1 end is allocated (indicated by ALG2 in FIG. 3) ).
  • Step 310 When forwarding the SIP message, the ALG includes a new SDP response in the message body: SDP6, where the SDP6 includes the media resource information allocated by the ALG in step 309 for connecting to the media processing entity of the UE-1 end (in FIG. 3 Expressed as ALG2).
  • UE-1 negotiates media resources with ALG
  • ALG negotiates media resources with UE-2
  • ALG controls media processing function entity to forward media data to realize UE-1 and UE-2 calls, and realizes the function of anchoring media. (ie in the media path).
  • FIG. 4 is a schematic flowchart of a second embodiment of implementing media anchoring according to the present invention.
  • UE-1 initiates a call as a calling party to the called party UE-2, and UE-1 establishes a call.
  • the session signaling is forwarded by the ALG and the AS, and the information exchanged between the AS and the ALG is forwarded by the S-CSCF.
  • the specific steps include the following steps:
  • Steps 400 to 403 are identical to the implementations of steps 300 to 303 in the first embodiment, and are not described herein again.
  • Step 404 The SDP request or the INVITE message carrying the SDP request arrives at the AS, and the AS according to the SDP request or the INVITE message originator's user subscription information, the SDP request or the INVITE message initiator's roaming information, the SDP request or the INVITE message destination party's attribution information. Whether the SDP request or the INVITE message destination party's roaming information, SDP request (INVITE message) originator's home network anchors one or a combination of media, and decides whether ALG anchor or non-anchor media is required.
  • ⁇ mouth SDP request or the INVITE message carrying the SDP request arrives at the AS, and the AS according to the SDP request or the INVITE message originator's user subscription information, the SDP request or the INVITE message initiator's roaming information, the SDP request or the INVITE message destination party's attribution information.
  • SDP request (INVITE message) originator's home network anchors one or a combination of media and
  • the AS further determines whether the home network of the initiator of the SDP request (INVITE message) anchors the media, and further determines the SDP request or the INVITE message if not anchored.
  • the initiator is roaming, if roaming, determining anchoring; if not roaming, further determining whether the destination party is the carrier network user according to the SDP request or the attribution information of the destination party of the INIVITE message, if not Determining anchoring; if yes, further determining whether the destination party is roaming according to the SDP request or the attribution information of the destination party of the INIVITE message, and determining anchoring if roaming; otherwise determining not to anchor.
  • the judgment result of the AS is that anchoring is not required.
  • the AS does not anchor the media
  • the subsequent steps 305-306 are performed. If the AS anchors the media, the steps 305-306 are performed in a standard anchoring manner, and are not related to the present invention and will not be described again.
  • the processing entities may modify the received SDP request and forward them out. Therefore, the SDP request received by the AS may not be SDP2, but the modified SDP. The request is still used to establish a media connection with the UE-1 and ALG controlled media processing entities, so the media resource information therein can still be considered to be related to UE-1 or ALG.
  • Step 405 The AS generates a new SDP request: SDP3, and only the UE-1 related media resource information is included in the SDP3.
  • Step 406 The SDP request or the INVITE message carrying the SDP request arrives at the UE-2, and the UE-2 uses the media resource information in the received SDP request to negotiate the media, and sends a SIP message, where the message carries an SDP response: SDP4, for example, the SIP message is 200 OK message, SDP4 carries the media resource information of UE-2.
  • Step 407 The SIP message arrives at the AS, and the AS carries an anchor indication when forwarding the SIP message to indicate that the ALG does not anchor the media, and includes a new SDP response in the message body: SDP5, which includes the received media resource in the SDP4 in the SDP5. information.
  • the SDP 5 includes the same number and type of media lines as the SDP2, and the media line portion corresponding to the media resource information related to the UE-1 in the SDP2 includes the media resource information in the received SDP4. That is, the media line corresponding to the media resource information related to UE-1 in SDP5 is valid, and SDP5 is related to ALG1 in SDP2.
  • the port in the corresponding media line is set to 0, that is, the media line corresponding to the media resource information related to the ALG in SDP5 is invalid.
  • Step 408 The SIP message arrives at the S-CSCF, and the S-CSCF forwards the call SIP message.
  • Step 409 The ALG receives the SIP message, and determines that the media anchor indication carried in the SIP message is not required to be anchored; or determines that the media line corresponding to the ALG-related media resource information in the SDP response in the SIP message is invalid. (or determining that the media line corresponding to the media resource information related to UE-1 is valid), then releasing the media resource of the media processing entity allocated in step 401 for connecting the destination of the SDP request or the INVITE message.
  • Step 410 When forwarding the SIP message, the ALG includes a new SDP response in the message body: SDP6, in SDP6, the valid media resource information received in step 408 is included (the media with port number 0 is invalid).
  • UE-1 negotiates media resources with UE-2, and ALG is not included in the call media path of UE-1 and UE-2, that is, the media is not anchored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a method and system for realizing media anchoring. The method includes the following steps: after receiving a session description protocol (SDP) request, an application layer gateway (ALG) makes the SDP request needing to be forwarded carry the media resource information of the received SDP request and the ALG allocated media resource information of a media process entity, and then forwards the SDP request; an application server (AS) receives the SDP request and determines whether the ALG needs to anchor the media; the AS transmits a session initiation protocol (SIP) message which carries an SDP response and a media anchoring indication denoting whether the ALG needs to anchor the media; the ALG determines whether to anchor the media according to the received SIP message. With the existing signaling in the call setup procedure, the AS realizes the determination whether the ALG needs to anchor the media without extra signaling. Thereby the signaling consumption is saved and the call setup time period is shortened.

Description

一种实现媒体锚定的方法及系统 技术领域  Method and system for realizing media anchoring
本发明涉及 IP 多媒体子系统 (IMS , IP Multimedia Core Network Subsystem ) 中的呼叫技术, 尤指一种实现媒体锚定的方法及系统。 背景技术  The present invention relates to a call technology in an IP Multimedia Core Subsystem (IMS), and more particularly to a method and system for implementing media anchoring. Background technique
IMS 是由第三代合作伙伴计划 (3GPP , 3rd Generation Partnership Project )提出的一种基于 IP的网络架构, 构建了一个开放而灵活的业务环 境。 IMS支持多媒体应用, 能够为用户提供丰富的多媒体业务。  IMS is an IP-based network architecture proposed by the 3rd Generation Partnership Project (3GPP) to build an open and flexible business environment. IMS supports multimedia applications and provides users with rich multimedia services.
在 IMS业务体系中, 控制层和业务层是分离的, 控制层不提供具体业 务, 只向业务层提供必要的触发、 路由、 计费等功能。  In the IMS service system, the control layer and the service layer are separated. The control layer does not provide specific services, and only provides the necessary triggering, routing, and accounting functions to the service layer.
控制层中业务触发和控制功能是由呼叫会话控制功能 (CSCF , Call Session Control Function ) 完成的。 呼叫会话控制功能分为: 代理呼叫会话 控制功能 (P-CSCF , Proxy-CSCF ) 、 查询呼叫会话控制功能 (I-CSCF, Interrogating-CSCF )和服务呼叫会话控制功能 ( S-CSCF, Serving-CSCF ) 三种类型, 其中 I-CSCF是可选的。  The service triggering and control functions in the control layer are performed by the Call Session Control Function (CSCF, Call Session Control Function). Call session control functions are divided into: proxy call session control function (P-CSCF, Proxy-CSCF), query call session control function (I-CSCF, Interrogating-CSCF) and service call session control function (S-CSCF, Serving-CSCF) ) Three types, of which I-CSCF is optional.
业务层由一系列应用服务器(AS , Application Server )组成, 能提供具 体业务服务, AS可以是独立的实体, 也可以存在于 S-CSCF中。  The service layer is composed of a series of application servers (AS, Application Server), which can provide specific service services. The AS can be an independent entity or exist in the S-CSCF.
控制层中的 S-CSCF根据用户的签约信息控制业务触发,调用 AS上的 业务, 实现业务功能。  The S-CSCF in the control layer controls the service trigger according to the subscription information of the user, and invokes the service on the AS to implement the service function.
IMS网络中还存在应用层网关 (ALG ) , ALG包括信令处理实体与媒 体处理实体, 用于实现不同网络间的控制信令与媒体的交互、 拓朴隐藏、 媒体编解码转换以及媒体数据的地址转换等功能, 如果 ALG决定将其媒体 处理实体包含在媒体路径中, 则两会话终端之间媒体路径由 ALG分割为两 段。 There is also an application layer gateway (ALG) in the IMS network. The ALG includes a signaling processing entity and a media processing entity, which are used to implement control signaling and media interaction, topology hiding, media codec conversion, and media data between different networks. For functions such as address translation, if ALG decides to include its media processing entity in the media path, the media path between the two session terminals is split into two by ALG. Paragraph.
会话中的端到端设备称为用户设备(UE, User Equipment ) , 负责与使 用者的交互, 有的 UE具有多种接入网络的方式, 包括通过 3GPP的包交换 ( PS , Packet Switch )域接入网络, 通过其他非 3GPP的 PS域接入网络, 甚至可以通过电路交换(CS, Circuit Switch )域接入网络等。  The end-to-end device in the session is called User Equipment (UE) and is responsible for interaction with the user. Some UEs have multiple access networks, including 3GPP packet switching (PS, Packet Switch) domain. Access the network, access the network through other non-3GPP PS domains, and even access the network through the circuit switched (CS, Circuit Switch) domain.
在现有技术中, 如果沿着会话描述协议(SDP )请求传递方向, ALG 在 AS之前, 那么, ALG无法根据 SDP请求发起方的用户签约信息决定是 否锚定媒体, 比如在主叫用户签约了多模单待连续性业务时 (网络和终端 可以实现用户从 PS域切换到 CS域时保持语音业务不中断), 此时, ALG 先根据本地策略决定锚定媒体或不锚定媒体, 而在 SDP请求到达 AS后, AS根据 SDP请求发起方的用户签约信息决定不需要锚定或需要锚定媒体, 那么, AS再通知 ALG, 由 ALG通过可能的额外信令交互过程进行媒体资 源重协商以实现去除锚定或锚定媒体。 显然, 现有技术在起呼过程中实现 的锚定媒体方法中, 消耗了额外的信令, 导致了呼叫建立时间过长。 发明内容  In the prior art, if the direction is transmitted along the Session Description Protocol (SDP), and the ALG is in front of the AS, then the ALG cannot determine whether to anchor the media according to the user subscription information of the SDP request initiator, for example, the calling user signs the contract. When multi-mode single-standby continuous service (network and terminal can realize that the voice service is not interrupted when the user switches from the PS domain to the CS domain), at this time, the ALG first decides to anchor the media or not to anchor the media according to the local policy. After the SDP request arrives at the AS, the AS determines, according to the SDP requesting the user's subscription information, that the anchor does not need to be anchored or needs to anchor the media. Then, the AS notifies the ALG again, and the ALG performs media resource renegotiation through the possible additional signaling interaction process. Achieve removal of anchor or anchor media. Obviously, the prior art in the anchor media method implemented in the call-up process consumes additional signaling, resulting in a call setup time that is too long. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种实现媒体锚定的方法及系 统, 能够节省信令消耗, 缩短呼叫建立时长。  In view of this, the main object of the present invention is to provide a method and system for implementing media anchoring, which can save signaling consumption and shorten the call setup duration.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种实现媒体锚定的方法, 该方法包括:  A method of implementing media anchoring, the method comprising:
应用层网关 ALG收到会话描述协议 SDP请求后, 在需要转发的 SDP 请求中携带所述 ALG收到的 SDP请求中的媒体资源信息, 以及所述 ALG 分配的媒体处理实体的媒体资源信息, 并转发该 SDP请求;  After receiving the session description protocol SDP request, the application layer gateway ALG carries the media resource information in the SDP request received by the ALG and the media resource information of the media processing entity allocated by the ALG in the SDP request that needs to be forwarded, and Forward the SDP request;
应用服务器 AS收到 SDP请求, 确定是否需要所述 ALG锚定媒体, 并 发送携带有表示是否需要 ALG锚定媒体的媒体锚定指示和 SDP响应的会话 初始协议 SIP消息; ALG根据收到的所述 SIP消息, 确定是否锚定媒体。 The application server AS receives the SDP request, determines whether the ALG anchor media is needed, and sends a session initiation protocol SIP message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is required; The ALG determines whether to anchor the media based on the received SIP message.
所述 AS确定是否需要 ALG锚定媒体包括:  The AS determines whether the ALG anchoring medium is required to include:
所述 AS根据以下之一或任意组合, 决策是否需要 ALG锚定媒体: SDP请求发起方的用户签约信息、 SDP请求发起方的漫游信息、 SDP 请求目的方的归属信息、 SDP请求目的方的漫游信息、 SDP请求发起方的 归属网是否锚定媒体。  The AS determines whether the ALG anchoring medium is required according to one or any combination of the following: SDP requesting the user's subscription information of the initiator, the SDP requesting the initiator's roaming information, the SDP requesting the destination party's home information, and the SDP requesting the destination party's roaming Information, whether the SDP requests the originator's home network to anchor the media.
所述决策是否需要 ALG锚定媒体具体包括:  Whether the decision requires the ALG anchor media specifically includes:
所述 AS根据 SDP请求发起方的用户签约信息, 判断出签约信息表明 需要锚定, 则决定锚定;  The AS determines the anchoring information according to the SDP requesting the user's subscription information of the initiator, and determines that the subscription information indicates that the anchoring needs to be anchored;
如果 SDP请求发起方的签约信息表明建议锚定, 则 AS还进一步判断 SDP请求发起方的归属网是否锚定媒体, 如果不锚定则进一步判断 SDP请 求发起方是否漫游, 如果漫游则决定锚定;  If the signing information of the SDP requesting initiator indicates that the anchoring is recommended, the AS further determines whether the home network of the SDP requesting initiator anchors the media, and if not, further determines whether the SDP requests the initiator to roam, and if roaming, decides to anchor. ;
如果未漫游, 则进一步根据 SDP请求目的方的归属信息, 判断所述目 的方是否是本运营商网络用户, 如果不是则决定锚定;  If the roaming is not roaming, the SDP requests the destination party's attribution information to determine whether the destination party is the carrier network user, and if not, decides to anchor;
如果是, 则进一步根据 SDP请求目的方的归属信息, 判断所述目的方 是否漫游, 如果漫游则决定锚定;  If yes, determining whether the destination party roams according to the attribution information of the target party of the SDP, and determining the anchor if roaming;
其他情况则决定不锚定。  In other cases, it is decided not to anchor.
所述 AS确定是否需要所述 ALG锚定媒体后, 发送所述 SIP消息前, 还包括:  After the AS determines whether the ALG is required to anchor the media, before sending the SIP message, the AS further includes:
当确定出锚定媒体时, 所述 AS将接收到的 SDP请求中携带的与 ALG 相关的媒体资源信息, 携带在转发的 SDP请求中;  When the anchor media is determined, the AS carries the ALG-related media resource information carried in the received SDP request in the forwarded SDP request.
当确定出不锚定媒体时,所述 AS将接收到的 SDP请求中携带的与 SDP 请求发起方相关的媒体资源信息, 携带在转发的 SDP请求中。  When it is determined that the media is not anchored, the AS carries the media resource information related to the SDP request initiator that is carried in the received SDP request, and is carried in the forwarded SDP request.
所述 ALG根据收到的 SIP消息, 确定是否锚定媒体包括:  The ALG determines, according to the received SIP message, whether to anchor the media, including:
所述 ALG向 SDP请求发起方发送 SDP响应, 如果通过所述 SIP消息 中的所述媒体锚定指示确定为需要锚定,所述 SDP响应携带 ALG分配的媒 体处理实体的媒体资源信息,否则所述 SDP响应不携带 ALG分配的媒体处 理实体的媒体资源信息。 The ALG sends an SDP response to the SDP requesting initiator, and if it is determined that the anchoring is required by the media anchoring indication in the SIP message, the SDP response carries the media allocated by the ALG. The media resource information of the entity is processed by the entity, otherwise the SDP response does not carry the media resource information of the media processing entity allocated by the ALG.
所述用于表示是否需要 ALG锚定媒体的媒体锚定指示实现方法为: 所述媒体锚定指示釆用专门的 SIP消息头域标识来指示是否需要 ALG 锚定媒体; 或者,  The method for implementing the media anchor indication for indicating whether the ALG anchor media is needed is: the media anchor indication uses a special SIP message header field identifier to indicate whether the ALG anchor media is needed; or
所述媒体锚定指示包含在所述 SIP消息携带的所述 SDP响应中。  The media anchor indication is included in the SDP response carried by the SIP message.
所述媒体锚定指示包含在所述 SIP消息携带的所述 SDP响应中时, 所 述锚定指示实现方法为:  When the media anchor indication is included in the SDP response carried by the SIP message, the implementation manner of the anchor indication is:
釆用专门的 SDP属性标识来指示是否需要 ALG锚定媒体; 或者, 釆用选择特定的媒体行有效或无效来指示。  Use a special SDP attribute identifier to indicate whether ALG is required to anchor the media; or, to indicate whether a particular media line is valid or invalid.
所述媒体锚定指示釆用选择特定媒体行有效或无效来指示时, 所述锚 定指示实现方法为:  When the media anchor indication is indicated by selecting whether a specific media line is valid or invalid, the anchor indication implementation method is:
当与 ALG相关的媒体资源信息相对应的媒体行有效时, 表明需要锚定 媒体; 或者, 当与 SDP请求发起方相关的媒体资源信息相对应的媒体行无 效时, 表明需要锚定媒体。  When the media line corresponding to the media resource information associated with the ALG is valid, it indicates that the media needs to be anchored; or, when the media line corresponding to the media resource information related to the SDP request originator is invalid, it indicates that the media needs to be anchored.
一种实现媒体锚定的系统, 至少包括 ALG和 AS, 其中,  A system for implementing media anchoring, including at least ALG and AS, wherein
ALG, 用于转发会话描述协议 SDP请求, 所述转发的 SDP请求携带收 到的媒体资源信息以及 ALG分配的媒体资源信息;  The ALG is configured to forward a session description protocol (SDP request), where the forwarded SDP request carries the received media resource information and the media resource information allocated by the ALG;
AS, 用于接收 SDP请求, 决定是否需要 ALG锚定媒体, 并根据决定 的结果发送携带 SDP响应的 SIP消息。  The AS is configured to receive an SDP request, determine whether the ALG anchor media is required, and send an SIP message carrying the SDP response according to the determined result.
如果所述 AS决定需要 ALG锚定媒体,则所述 SDP响应中与所述 ALG 相关的媒体资源信息相对应的媒体行有效,或者所述 SDP响应中与 SDP请 求发起方相关的媒体资源信息相对应的媒体行无效。  If the AS determines that the ALG anchoring medium is required, the media line corresponding to the media resource information related to the ALG in the SDP response is valid, or the media resource information related to the SDP request initiator in the SDP response is The corresponding media line is invalid.
从上述本发明提供的技术方案可以看出, 包括 ALG收到 SDP请求后, 在需要转发的 SDP请求中携带收到的 SDP请求中的媒体资源信息, 以及 ALG分配的媒体处理实体的媒体资源信息, 并转发该 SDP请求; AS收到 SDP请求, 确定是否需要所述 ALG锚定媒体; AS发送携带有表示是否需 要 ALG锚定媒体的媒体锚定指示和 SDP响应的会话初始协议( SIP )消息; ALG根据收到的 SIP消息, 确定是否锚定媒体。 通过呼叫建立过程中的现 有信令, AS实现了确定 ALG是否锚定媒体, 不需要额外的信令, 节省了 信令消耗, 从而缩短了呼叫建立时长。 附图说明 It can be seen from the technical solution provided by the foregoing that, after the ALG receives the SDP request, the SDP request to be forwarded carries the media resource information in the received SDP request, and the media resource information of the media processing entity allocated by the ALG. And forward the SDP request; AS receives The SDP requests to determine whether the ALG anchor media is needed; the AS sends a Session Initiation Protocol (SIP) message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is required; the ALG determines according to the received SIP message. Whether to anchor the media. Through the existing signaling in the call setup process, the AS implements determining whether the ALG anchors the media, does not require additional signaling, and saves signaling consumption, thereby shortening the call setup duration. DRAWINGS
图 1为本发明实现媒体锚定的方法的流程图;  1 is a flow chart of a method for implementing media anchoring according to the present invention;
图 2为本发明实现媒体锚定的系统的组成结构示意图;  2 is a schematic structural diagram of a system for implementing media anchoring according to the present invention;
图 3为本发明实现媒体锚定的第一实施例的流程示意图;  3 is a schematic flow chart of a first embodiment of implementing media anchoring according to the present invention;
图 4为本发明实现媒体锚定的第二实施例的流程示意图。 具体实施方式  4 is a schematic flow chart of a second embodiment of implementing media anchoring according to the present invention. detailed description
图 1为本发明实现媒体锚定的方法的流程图, 如图 1所示, 包括以下 步骤:  FIG. 1 is a flowchart of a method for implementing media anchoring according to the present invention. As shown in FIG. 1, the method includes the following steps:
步骤 100: ALG收到 SDP请求后,在需要转发的 SDP请求中携带所述 SDP 请求中的媒体资源信息以及 ALG分配的媒体处理实体的媒体资源信息, 并 转发该 SDP请求。  Step 100: After receiving the SDP request, the ALG carries the media resource information in the SDP request and the media resource information of the media processing entity allocated by the ALG in the SDP request that needs to be forwarded, and forwards the SDP request.
本步骤中, 在 ALG收到的 SDP请求中携带有 SDP请求发起方的媒体 资源信息,而 ALG会分配用于连接 SDP请求目的方的媒体处理实体的媒体 资源信息 (即与 ALG相关的媒体资源信息) 。 ALG转发的 SDP请求经由 S-CSCF转发至 AS。  In this step, the SDP request received by the ALG carries the media resource information of the SDP request initiator, and the ALG allocates the media resource information (ie, the media resource related to the ALG) used to connect the media processing entity of the SDP request destination. Information). The SDP request forwarded by the ALG is forwarded to the AS via the S-CSCF.
SDP请求可以通过 SIP的邀请 INVITE消息携带。  The SDP request can be carried by the SIP INVITE message.
步骤 101 : AS收到 SDP请求, 确定是否需要 ALG锚定媒体。  Step 101: The AS receives the SDP request to determine whether the ALG anchor media is needed.
本步骤中, AS根据 SDP请求或 INVITE消息发起方的用户签约信息、 SDP请求或 INVITE消息发起方的漫游信息、 SDP请求或 INVITE消息目的 方的归属信息、 SDP请求或 INVITE消息目的方的漫游信息、 SDP请求或 INIVTE消息发起方的归属网是否锚定媒体之一或任意组合, 决策是否转发 与 ALG相关的媒体资源信息以锚定或不锚定媒体。 比如: In this step, the AS according to the SDP request or the INVITE message originator's user subscription information, SDP request or INVITE message initiator's roaming information, SDP request or INVITE message purpose Whether the party's attribution information, the SDP request or the INVITE message's destination party's roaming information, the SDP request, or the INIVTE message originator's home network is one of the anchor media or any combination, decide whether to forward the ALG-related media resource information to anchor or Do not anchor the media. such as:
如果 SDP请求或 INIVTE消息发起方的签约信息表明建议锚定,则 AS 还进一步判断 SDP请求或 INIVTE消息发起方的归属网是否锚定媒体, 如 果不锚定则进一步判断 SDP请求或 INVITE消息发起方是否漫游, 如果漫 游则决定锚定; 如果未漫游, 则进一步根据 SDP请求或 INIVITE消息目的 方的归属信息, 判断所述目的方是否是本运营商网络用户, 如果不是则决 定锚定; 如果是, 则进一步根据 SDP请求或 INIVITE消息目的方的归属信 息, 判断所述目的方是否漫游, 如果漫游则决定锚定; 其他情况则决定不 锚定。  If the SDP request or the signing information of the initiator of the INIVTE message indicates suggestion anchoring, the AS further determines whether the SDP request or the home network of the initiator of the INIVTE message anchors the media, and if not anchored, further determines the SDP request or the INVITE message initiator. Whether roaming, if roaming, decides to anchor; if not roaming, further determines whether the destination party is the operator network user according to the SDP request or the attribution information of the destination party of the INIVITE message, and if not, decides to anchor; if yes, decides to anchor; Then, according to the SDP request or the attribution information of the destination party of the INIVITE message, it is determined whether the destination party roams, and if it roams, it decides to anchor; otherwise, it decides not to anchor.
本步骤中, 当确定出锚定媒体时, 还包括: AS将接收到的 SDP请求中 携带的与 ALG相关的媒体资源信息,携带在转发给 SDP请求或 INVITE消 息目的方的 SDP请求中并发送; 当确定出不锚定媒体时, AS将接收到的 SDP请求中携带的与 SDP请求发起方相关的媒体资源信息, 携带在转发给 SDP请求或 INVITE消息目的方的 SDP请求中并发送。  In this step, when determining the anchor media, the method further includes: the AS carrying the ALG-related media resource information carried in the received SDP request, and carrying the information in the SDP request forwarded to the SDP request or the INVITE message destination party, and sending When it is determined that the media is not anchored, the AS carries the media resource information related to the SDP request initiator carried in the received SDP request, and carries the information in the SDP request forwarded to the SDP request or the INVITE message destination party.
步骤 102: AS发送携带有表示是否需要 ALG锚定媒体的媒体锚定指示和 SDP响应的 SIP消息。  Step 102: The AS sends a SIP message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is needed.
本步骤中, SIP消息经由 S-CSCF转发给 ALG。  In this step, the SIP message is forwarded to the ALG via the S-CSCF.
用于表示是否需要 ALG锚定媒体的媒体锚定指示可以有两种实现方 式: 其中一种方式是, 釆用专门的 SIP消息头域标识来指示是否需要 ALG 锚定媒体; 另一种方式是, 媒体锚定指示包含在所述 SIP 消息携带的所述 SDP响应中, 此时, 锚定指示实现方法为: 釆用专门的 SDP属性标识来指 示是否需要 ALG锚定媒体; 或者, 釆用选择特定的媒体行有效或无效来指 示, 具体为: 当与 ALG相关的媒体资源信息相对应的媒体行有效(携带) 时, 表明需要锚定媒体; 或者, 当与 SIP请求发起方相关的媒体资源信息 相对应的媒体行无效时, 表明需要锚定媒体。 There are two ways to implement media anchor indications for indicating whether ALG anchor media is required: One way is to use a special SIP message header field identifier to indicate whether ALG anchor media is needed; another way is The media anchor indication is included in the SDP response carried by the SIP message. At this time, the anchor indication implementation method is: using a special SDP attribute identifier to indicate whether the ALG anchor media is required; or The specific media line is valid or invalid to indicate, specifically: when the media line corresponding to the media resource information related to the ALG is valid (carrying), indicating that the media needs to be anchored; or, when the media resource related to the SIP request originator is related Information When the corresponding media line is invalid, it indicates that the media needs to be anchored.
步骤 103 : ALG根据收到的 SIP消息, 确定是否锚定媒体。 包括: ALG 向 SDP请求或 INVITE消息发起方发送 SDP响应, 如果通过所述 SIP消息中的 所述媒体锚定指示确定为需要锚定,所述 SDP响应携带 ALG分配的媒体处理 媒体资源信息。  Step 103: The ALG determines whether to anchor the media according to the received SIP message. The method includes: the ALG sends an SDP response to the SDP request or the INVITE message initiator, and if it is determined that the anchoring is required by the media anchor indication in the SIP message, the SDP response carries the media processing media resource information allocated by the ALG.
本步骤中, 如果媒体锚定指示釆用专门的标识, 则在该标识显示为需 要锚定时; 或者, 如果媒体锚定指示釆用媒体行表示时, 与 ALG相关的媒 体资源信息相对应的媒体行有效时, 或与 SDP请求或 INVITE消息发起方 相关的媒体资源信息相对应的媒体行无效时: ALG在向 SDP请求或 INVITE 消息发起方转发的 SDP 响应中携带 ALG 分配的用于连接 SDP 请求或 INVITE 消息发起方的媒体处理实体的媒体资源信息。 至此, SDP 请求或 INVITE消息发起方与 ALG协商了媒体资源, ALG与 SDP请求或 INVITE 消息目的方协商了媒体资源; ALG控制媒体处理功能实体转发媒体数据, 以实现双方的通话, 并实现了锚定媒体的功能(即在媒体路径中) ;  In this step, if the media anchoring indication uses a special identifier, the identifier is displayed as requiring anchor timing; or, if the media anchoring indication is indicated by the media line, the media corresponding to the ALG-related media resource information When the line is valid, or the media line corresponding to the media resource information related to the SDP request or the INVITE message originator is invalid: The ALG carries the ALG-assigned connection SDP request in the SDP response forwarded to the SDP request or the INVITE message initiator. Or the media resource information of the media processing entity of the INVITE message originator. At this point, the SDP request or the INVITE message initiator negotiates the media resource with the ALG, and the ALG negotiates the media resource with the SDP request or the INVITE message destination party; the ALG controls the media processing function entity to forward the media data to implement the call between the two parties, and implements the anchor. The function of the media (ie in the media path);
如果媒体锚定指示釆用专门的标识, 则在该标识显示为不需要锚定时; 或者, 如果媒体锚定指示釆用媒体行表示时, 与 ALG相关的媒体资源信息 相对应的媒体行无效时, 或与 SDP请求或 INVITE消息发起方相关的媒体 资源信息相对应的媒体行有效时: ALG在向 SDP请求或 INVITE消息发起 方转发的 SDP响应中不携带 ALG分配的用于连接 SDP请求或 INVITE发 起方的媒体处理实体的媒体资源信息。 至此, SDP请求或 INVITE消息发 起方与 SDP请求或 INVITE消息目的方协商了媒体资源, ALG没有包含在 双方的通话媒体路径中, 即未锚定媒体。  If the media anchor indication indicates that a special identifier is used, the identifier is displayed as not requiring anchor timing; or, if the media anchor indication indicates that the media line corresponding to the ALG-related media resource information is invalid, Or when the media line corresponding to the media resource information related to the SDP request or the INVITE message originator is valid: the ALG does not carry the ALG allocated for connecting the SDP request or the INVITE in the SDP response forwarded to the SDP request or the INVITE message initiator. The media resource information of the media processing entity of the initiator. At this point, the SDP request or the INVITE message originator negotiates the media resource with the SDP request or the INVITE message destination. The ALG is not included in the call media path of both parties, that is, the media is not anchored.
从本发明方法可见, 通过呼叫建立过程中的现有信令, AS实现了确定 ALG是否锚定媒体, 不需要额外的信令, 节省了信令消耗, 从而缩短了呼 叫建立时长。 针对本发明方法还提供一种实现媒体锚定的系统, 至少包括 ALG 和 AS, 其中, It can be seen from the method of the present invention that the AS determines whether the ALG anchors the media through the existing signaling in the call setup process, does not require additional signaling, and saves signaling consumption, thereby shortening the call setup duration. A method for implementing media anchoring is provided for the method of the present invention, including at least ALG and AS, wherein
ALG, 用于转发会话描述协议 SDP请求, 所述转发的 SDP请求携带收 到的媒体资源信息以及 ALG分配的媒体资源信息;  The ALG is configured to forward a session description protocol (SDP request), where the forwarded SDP request carries the received media resource information and the media resource information allocated by the ALG;
AS, 用于接收 SDP请求, 决定是否需要 ALG锚定媒体, 并根据决定 的结果发送携带 SDP响应的 SIP消息。  The AS is configured to receive an SDP request, determine whether the ALG anchor media is required, and send an SIP message carrying the SDP response according to the determined result.
如果所述 AS决定需要 ALG锚定媒体,则所述 SDP响应中与所述 ALG 相关的媒体资源信息相对应的媒体行有效,或者所述 SDP响应中与 SDP请 求发起方相关的媒体资源信息相对应的媒体行无效。  If the AS determines that the ALG anchoring medium is required, the media line corresponding to the media resource information related to the ALG in the SDP response is valid, or the media resource information related to the SDP request initiator in the SDP response is The corresponding media line is invalid.
本领域技术人员知道, ALG与 AS之间的信息交互通过 S-CSCF转发 (图 2中为示出) 。  Those skilled in the art will appreciate that the information interaction between the ALG and the AS is forwarded through the S-CSCF (shown in Figure 2).
下面结合实施例, 对本发明方法进行详细描述。  The method of the present invention will be described in detail below with reference to the embodiments.
图 3为本发明实现媒体锚定的第一实施例的流程示意图, 如图 3所示, 第一实施例中, UE-1 作为主叫方向被叫方 UE-2发起呼叫, UE-1 建立与 UE-2的 IMS会话时,会话信令通过 ALG和 AS , AS与 ALG之间交互的信 息经由 S-CSCF转发, 具体包括以下步骤:  FIG. 3 is a schematic flowchart of a first embodiment of implementing media anchoring according to the present invention. As shown in FIG. 3, in the first embodiment, UE-1 initiates a call as a calling party to the called party UE-2, and UE-1 establishes a call. During the IMS session with the UE-2, the session signaling is forwarded by the ALG and the AS, and the information exchanged between the AS and the ALG is forwarded by the S-CSCF. The specific steps include the following steps:
步骤 300: UE-1向 UE-2发送会话描述协议 SDP请求( Offer ): SDP1 , 以建立与 UE-2的媒体连接,比如通过发送会话初始协议 SIP的邀请 INVITE 消息, SDP1中包含 UE-1的媒体资源信息。  Step 300: The UE-1 sends a Session Description Protocol (SDP) request to the UE-2: SDP1 to establish a media connection with the UE-2, for example, by sending an Invite INVITE message of the Session Initiation Protocol SIP, where the SDP1 includes the UE-1. Media resource information.
步骤 301: SDP请求或携带 SDP请求的 INVITE消息经过 ALG, ALG 分配用于连接 UE-2端的媒体处理实体的媒体资源。  Step 301: The SDP request or the INVITE message carrying the SDP request passes through the ALG, and the ALG allocates a media resource used to connect to the media processing entity at the UE-2 end.
步骤 302: ALG生成新的 SDP请求: SDP2, 在 SDP2中即包含收到的 SDP请求中的媒体资源信息,还包含步骤 301中 ALG分配的媒体处理实体 的媒体资源信息(图 3中以 ALG1表示) , 然后转发携带 SDP2的 INVITE 消息。  Step 302: The ALG generates a new SDP request: SDP2, in SDP2, the media resource information in the received SDP request, and the media resource information of the media processing entity allocated by the ALG in step 301 (indicated by ALG1 in FIG. 3) ), and then forward the INVITE message carrying SDP2.
UE-1 与 ALG间可能还存在其他处理实体, 这些处理实体可能会修改 接收到的 SDP请求后转发出去, 这样 ALG收到的 SDP请求可能就不是 SDP1了 , 但修改后的 SDP请求仍然用于与 UE-1建立媒体连接, 因此其中 的媒体资源信息仍然可视为与 UE-1相关。 There may be other processing entities between UE-1 and ALG, which may be modified by these processing entities. After receiving the SDP request, the SDP request is forwarded, so that the SDP request received by the ALG may not be SDP1, but the modified SDP request is still used to establish a media connection with the UE-1, so the media resource information may still be regarded as UE-1 related.
ALG在 SDP2中包含 ALG1可釆用, 比如, ALG1 包含语音媒体资源 信息, 则与 UE-1相关的语音媒体资源信息在前, ALG1的语音媒体资源信 息在后或反之, 或 ALG1的语音媒体资源信息的属性为 "inactive" ;  ALG includes ALG1 in SDP2. For example, if ALG1 contains voice media resource information, then the voice media resource information related to UE-1 is in front, ALG1 voice media resource information is behind or vice versa, or ALG1 voice media resource. The attribute of the message is "inactive";
步骤 303 : SDP请求或携带 SDP请求的 INVITE消息到达 S-CSCF, S-CSCF转发 SDP请求或携带 SDP请求的 INVITE消息。  Step 303: The SDP request or the INVITE message carrying the SDP request arrives at the S-CSCF, and the S-CSCF forwards the SDP request or the INVITE message carrying the SDP request.
步骤 304: SDP请求或携带 SDP请求的 INVITE消息到达 AS, AS根 据 SDP请求或 INVITE消息发起方的用户签约信息、 SDP请求或 INVITE 消息发起方的漫游信息、 SDP请求或 INVITE消息目的方的归属信息、 SDP 请求或 INVITE消息目的方的漫游信息、 SDP请求或 INIVTE消息发起方的 归属网是否锚定媒体之一或任意组合, 决策是否需要 ALG锚定或不锚定媒 。 比 ^口:  Step 304: The SDP request or the INVITE message carrying the SDP request arrives at the AS, and the AS according to the SDP request or the INVITE message originator's user subscription information, the SDP request or the INVITE message initiator's roaming information, the SDP request or the INVITE message destination party's attribution information. Whether the SDP request or the INVITE message destination party's roaming information, the SDP request, or the INIVTE message originator's home network anchors one or any combination of media, whether the decision requires ALG anchoring or no anchoring. Than ^ mouth:
如果 SDP请求或 INIVTE消息发起方的签约信息表明建议锚定,则 AS 还进一步判断 SDP请求或 INIVTE消息发起方的归属网是否锚定媒体, 如 果不锚定则进一步判断 SDP请求或 INVITE消息发起方是否漫游, 如果漫 游则决定锚定; 如果未漫游, 则进一步根据 SDP请求或 INIVITE消息目的 方的归属信息, 判断所述目的方是否是本运营商网络用户, 如果不是则决 定锚定; 如果是, 则进一步根据 SDP请求或 INIVITE消息目的方的归属信 息, 判断所述目的方是否漫游, 如果漫游则决定锚定; 其他情况则决定不 锚定。  If the SDP request or the signing information of the initiator of the INIVTE message indicates suggestion anchoring, the AS further determines whether the SDP request or the home network of the initiator of the INIVTE message anchors the media, and if not anchored, further determines the SDP request or the INVITE message initiator. Whether roaming, if roaming, decides to anchor; if not roaming, further determines whether the destination party is the operator network user according to the SDP request or the attribution information of the destination party of the INIVITE message, and if not, decides to anchor; if yes, decides to anchor; Then, according to the SDP request or the attribution information of the destination party of the INIVITE message, it is determined whether the destination party roams, and if it roams, it decides to anchor; otherwise, it decides not to anchor.
第一实施例中, 假设 AS的判断结果为需要锚定。 本实施例中假设 AS 不锚定媒体,则执行后续的步骤 305~306 ,如果 AS锚定媒体,则步骤 305~306 按标准的锚定方式执行, 因与本发明无关, 不再赘述。  In the first embodiment, it is assumed that the judgment result of the AS is that anchoring is required. In this embodiment, if the AS does not anchor the media, the subsequent steps 305-306 are performed. If the AS anchors the media, the steps 305-306 are performed in a standard anchoring manner, and are not related to the present invention and will not be described again.
需要说明的是, 在 ALG和 AS间可能还存在其他处理实体, 这些处理 实体可能会修改接收到的 SDP请求后转发出去, 这样 AS收到的 SDP请求 可能就不是 SDP2了, 但修改后的 SDP请求仍然用于与 UE-1及 ALG控制 的媒体处理实体建立媒体连接, 因此其中的媒体资源信息仍然可视为与 UE-1或 ALG相关。 It should be noted that there may be other processing entities between the ALG and the AS. The entity may modify the received SDP request and forward it out, so that the SDP request received by the AS may not be SDP2, but the modified SDP request is still used to establish a media connection with the media processing entity controlled by UE-1 and ALG. Therefore, the media resource information therein can still be regarded as related to UE-1 or ALG.
步骤 305: AS生成新的 SDP请求: SDP3 , 在 SDP3中包含 ALG相关 的媒体资源信息(图 3中以 ALG1表示) , 而不包含 UE-1相关的与 ALG1 包含的媒体资源信息中媒体类型相同的媒体资源信息, 比如 ALG1 包含语 音媒体资源信息, 则 SDP3中不包含 UE-1相关的语音媒体资源信息。  Step 305: The AS generates a new SDP request: SDP3, which includes ALG-related media resource information (represented by ALG1 in FIG. 3) in SDP3, and does not include the same media type in the media resource information related to ALG1 included in UE-1. The media resource information, for example, ALG1 includes voice media resource information, and the SDP3 does not include the UE-1 related voice media resource information.
步骤 306: SDP请求或携带 SDP请求的 INVITE消息到达 UE-2, UE-2 使用收到的 SDP请求中的媒体资源信息协商媒体, 并发送 SIP消息, 消息 携带 SDP响应 (英文译为: Answer ) : SDP4, 比如 SIP消息为 200 OK消 息, SDP4携带有 UE-2的媒体资源信息。  Step 306: The SDP request or the INVITE message carrying the SDP request arrives at the UE-2, and the UE-2 uses the media resource information in the received SDP request to negotiate the media, and sends a SIP message, where the message carries an SDP response (English translation: Answer) SDP4, for example, the SIP message is a 200 OK message, and the SDP4 carries the media resource information of the UE-2.
步骤 307: SIP消息到达 AS, AS在转发 SIP消息时携带锚定指示以指 示 ALG锚定媒体, 在消息体中包含新的 SDP响应: SDP5 , 在 SDP5中包 含收到的 SDP4中的媒体资源信息。  Step 307: The SIP message arrives at the AS, and the AS carries an anchor indication to indicate the ALG anchor media when forwarding the SIP message, and includes a new SDP response in the message body: SDP5, which includes the received media resource information in the SDP4 in the SDP5. .
具体地, 比如使用 SIP消息的头域指示是否需要 ALG锚定媒体, 或者 锚定指示包含在 SDP5中, 使用 "a="属性行指示是否需要 ALG锚定媒体; 或者, 锚定指示包含在 SDP5中, SDP5包含与 SDP2—样多数量和种类的 媒体行且顺序相同, SDP5中与 SDP2中的 ALG1相对应的媒体行部分包含 收到的 SDP4中的媒体资源信息, 即 SDP5中与 ALG相关的媒体资源信息 相对应的媒体行有效; SDP5中与 SDP2中的 UE-1相关的媒体资源信息相 对应的媒体行中端口都设置为 0, 即 SDP5中与 UE-1相关的媒体资源信息 相对应的媒体行无效。  Specifically, for example, the header field of the SIP message is used to indicate whether ALG anchor media is required, or the anchor indication is included in SDP5, using "a=" attribute line to indicate whether ALG anchor media is required; or, the anchor indication is included in SDP5 The SDP5 includes the same number and type of media lines as the SDP2, and the media line portion corresponding to the ALG1 in the SDP2 in the SDP5 contains the media resource information in the received SDP4, that is, the ALP related to the ADP in the SDP5. The media line corresponding to the media resource information is valid; the port in the media line corresponding to the media resource information related to UE-1 in SDP2 in SDP5 is set to 0, that is, the media resource information related to UE-1 in SDP5 corresponds. The media line is invalid.
步骤 308: SIP消息到达 S-CSCF, S-CSCF转发 SIP消息。  Step 308: The SIP message arrives at the S-CSCF, and the S-CSCF forwards the SIP message.
步骤 309: ALG收到 SIP消息, 判断 SIP消息中携带的媒体锚定指示 表示为需要锚定; 或者,判断 SIP消息中的 SDP响应中与 ALG相关的媒体 资源信息相对应的媒体行有效(或判断与 UE-1相关的媒体资源信息相对应 的媒体行无效), 则分配用于连接 UE-1端的媒体处理实体的媒体资源(图 3中以 ALG2表示 ) 。 Step 309: The ALG receives the SIP message, and determines that the media anchor indication carried in the SIP message is indicated as requiring anchoring; or determining the media related to the ALG in the SDP response in the SIP message. If the media line corresponding to the resource information is valid (or the media line corresponding to the media resource information related to the UE-1 is invalid), the media resource for connecting to the media processing entity at the UE-1 end is allocated (indicated by ALG2 in FIG. 3) ).
步骤 310: ALG在转发 SIP消息时, 在消息体中包含新的 SDP响应: SDP6, 在 SDP6中包含步骤 309中 ALG分配的用于连接 UE-1端的媒体处 理实体的媒体资源信息 (图 3中以 ALG2表示) 。  Step 310: When forwarding the SIP message, the ALG includes a new SDP response in the message body: SDP6, where the SDP6 includes the media resource information allocated by the ALG in step 309 for connecting to the media processing entity of the UE-1 end (in FIG. 3 Expressed as ALG2).
至此, UE-1与 ALG协商了媒体资源, ALG与 UE-2协商了媒体资源, ALG控制媒体处理功能实体转发媒体数据实现 UE-1与 UE-2的通话,并实 现了锚定媒体的功能 (即在媒体路径中 ) 。  So far, UE-1 negotiates media resources with ALG, ALG negotiates media resources with UE-2, and ALG controls media processing function entity to forward media data to realize UE-1 and UE-2 calls, and realizes the function of anchoring media. (ie in the media path).
图 4为本发明实现媒体锚定的第二实施例的流程示意图, 如图 4所示, 第二实施例中, UE-1 作为主叫方向被叫方 UE-2发起呼叫, UE-1 建立与 UE-2的 IMS会话时,会话信令通过 ALG和 AS , AS与 ALG之间交互的信 息经由 S-CSCF转发, 具体包括以下步骤:  4 is a schematic flowchart of a second embodiment of implementing media anchoring according to the present invention. As shown in FIG. 4, in the second embodiment, UE-1 initiates a call as a calling party to the called party UE-2, and UE-1 establishes a call. During the IMS session with the UE-2, the session signaling is forwarded by the ALG and the AS, and the information exchanged between the AS and the ALG is forwarded by the S-CSCF. The specific steps include the following steps:
步骤 400〜步骤 403、 与第一实施例中的步骤 300〜步骤 303的实现完全 一致, 这里不再赘述。  Steps 400 to 403 are identical to the implementations of steps 300 to 303 in the first embodiment, and are not described herein again.
步骤 404: SDP请求或携带 SDP请求的 INVITE消息到达 AS, AS根 据 SDP请求或 INVITE消息发起方的用户签约信息、 SDP请求或 INVITE 消息发起方的漫游信息、 SDP请求或 INVITE消息目的方的归属信息、 SDP 请求或 INVITE消息目的方的漫游信息、 SDP请求( INVITE消息)发起方 的归属网是否锚定媒体之一或组合,决策是否需要 ALG锚定或不锚定媒体。 比 ^口:  Step 404: The SDP request or the INVITE message carrying the SDP request arrives at the AS, and the AS according to the SDP request or the INVITE message originator's user subscription information, the SDP request or the INVITE message initiator's roaming information, the SDP request or the INVITE message destination party's attribution information. Whether the SDP request or the INVITE message destination party's roaming information, SDP request (INVITE message) originator's home network anchors one or a combination of media, and decides whether ALG anchor or non-anchor media is required. Than ^ mouth:
如果 SDP请求(INVITE消息)发起方的签约信息表明建议锚定, 则 AS还进一步判断 SDP请求( INVITE消息)发起方的归属网是否锚定媒体, 如果不锚定则进一步判断 SDP请求或 INVITE消息发起方是否漫游, 如果 漫游则决定锚定; 如果未漫游, 则进一步根据 SDP请求或 INIVITE消息目 的方的归属信息, 判断所述目的方是否是本运营商网络用户, 如果不是则 决定锚定; 如果是, 则进一步根据 SDP请求或 INIVITE消息目的方的归属 信息, 判断所述目的方是否漫游, 如果漫游则决定锚定; 其他情况则决定 不锚定。 If the signing information of the initiator of the SDP request (INVITE message) indicates suggestion anchoring, the AS further determines whether the home network of the initiator of the SDP request (INVITE message) anchors the media, and further determines the SDP request or the INVITE message if not anchored. Whether the initiator is roaming, if roaming, determining anchoring; if not roaming, further determining whether the destination party is the carrier network user according to the SDP request or the attribution information of the destination party of the INIVITE message, if not Determining anchoring; if yes, further determining whether the destination party is roaming according to the SDP request or the attribution information of the destination party of the INIVITE message, and determining anchoring if roaming; otherwise determining not to anchor.
第二实施例中, 假设 AS 的判断结果为不需要锚定。 本实施例中假设 AS不锚定媒体, 则执行后续的步骤 305~306, 如果 AS锚定媒体, 则步骤 305~306按标准的锚定方式执行, 因与本发明无关, 不再赘述。  In the second embodiment, it is assumed that the judgment result of the AS is that anchoring is not required. In this embodiment, if the AS does not anchor the media, the subsequent steps 305-306 are performed. If the AS anchors the media, the steps 305-306 are performed in a standard anchoring manner, and are not related to the present invention and will not be described again.
需要说明的是, 在 ALG和 AS间可能还存在其他处理实体, 这些处理 实体可能会修改接收到的 SDP请求后转发出去, 这样 AS收到的 SDP请求 可能就不是 SDP2了, 但修改后的 SDP请求仍然用于与 UE-1及 ALG控制 的媒体处理实体建立媒体连接, 因此其中的媒体资源信息仍然可视为与 UE-1或 ALG相关。  It should be noted that there may be other processing entities between the ALG and the AS. The processing entities may modify the received SDP request and forward them out. Therefore, the SDP request received by the AS may not be SDP2, but the modified SDP. The request is still used to establish a media connection with the UE-1 and ALG controlled media processing entities, so the media resource information therein can still be considered to be related to UE-1 or ALG.
步骤 405: AS生成新的 SDP请求: SDP3 , 在 SDP3中只包含 UE-1相 关的媒体资源信息。  Step 405: The AS generates a new SDP request: SDP3, and only the UE-1 related media resource information is included in the SDP3.
步骤 406: SDP请求或携带 SDP请求的 INVITE消息到达 UE-2, UE-2 使用收到的 SDP请求中的媒体资源信息协商媒体, 并发送 SIP消息, 消息 携带 SDP响应: SDP4, 比如 SIP消息为 200 OK消息, SDP4携带 UE-2的 媒体资源信息。  Step 406: The SDP request or the INVITE message carrying the SDP request arrives at the UE-2, and the UE-2 uses the media resource information in the received SDP request to negotiate the media, and sends a SIP message, where the message carries an SDP response: SDP4, for example, the SIP message is 200 OK message, SDP4 carries the media resource information of UE-2.
步骤 407: SIP消息到达 AS, AS在转发 SIP消息时携带锚定指示以指 示 ALG不锚定媒体, 在消息体中包含新的 SDP响应: SDP5 , 在 SDP5中 包含收到的 SDP4中的媒体资源信息。  Step 407: The SIP message arrives at the AS, and the AS carries an anchor indication when forwarding the SIP message to indicate that the ALG does not anchor the media, and includes a new SDP response in the message body: SDP5, which includes the received media resource in the SDP4 in the SDP5. information.
具体的, 比如使用 SIP消息的头域指示是否需要 ALG锚定媒体, 或者 锚定指示包含在 SDP5中, 使用 "a="属性行指示是否需要 ALG锚定媒体; 或者, 锚定指示包含在 SDP5中, SDP5包含与 SDP2—样多数量和种类的 媒体行且顺序相同, SDP5中与 SDP2中的 UE-1相关的媒体资源信息相对 应的媒体行部分包含收到的 SDP4中的媒体资源信息, 即 SDP5中与 UE-1 相关的媒体资源信息相对应的媒体行有效, SDP5中与 SDP2中的 ALG1相 对应的媒体行中端口都设置为 0, 即 SDP5中与 ALG相关的媒体资源信息 相对应的媒体行无效。 Specifically, for example, the header field of the SIP message indicates whether the ALG anchor media is required, or the anchor indication is included in the SDP 5, and the "a=" attribute line indicates whether the ALG anchor media is required; or the anchor indication is included in the SDP5. The SDP 5 includes the same number and type of media lines as the SDP2, and the media line portion corresponding to the media resource information related to the UE-1 in the SDP2 includes the media resource information in the received SDP4. That is, the media line corresponding to the media resource information related to UE-1 in SDP5 is valid, and SDP5 is related to ALG1 in SDP2. The port in the corresponding media line is set to 0, that is, the media line corresponding to the media resource information related to the ALG in SDP5 is invalid.
步骤 408: SIP消息到达 S-CSCF, S-CSCF转发呼叫 SIP消息。  Step 408: The SIP message arrives at the S-CSCF, and the S-CSCF forwards the call SIP message.
步骤 409: ALG收到 SIP消息, 判断 SIP消息中携带的媒体锚定指示 表示为不需要锚定; 或者,判断出 SIP消息中的 SDP响应中与 ALG相关的 媒体资源信息相对应的媒体行无效(或判断出与 UE-1相关的媒体资源信息 相对应的媒体行有效) , 则释放步骤 401 中分配的用于连接 SDP请求或 INVITE消息目的方的媒体处理实体的媒体资源。  Step 409: The ALG receives the SIP message, and determines that the media anchor indication carried in the SIP message is not required to be anchored; or determines that the media line corresponding to the ALG-related media resource information in the SDP response in the SIP message is invalid. (or determining that the media line corresponding to the media resource information related to UE-1 is valid), then releasing the media resource of the media processing entity allocated in step 401 for connecting the destination of the SDP request or the INVITE message.
步骤 410: ALG在转发 SIP消息时, 在消息体中包含新的 SDP响应: SDP6, 在 SDP6中包含步骤 408中收到的有效的媒体资源信息 (端口号为 0的媒体表示为无效的) 。  Step 410: When forwarding the SIP message, the ALG includes a new SDP response in the message body: SDP6, in SDP6, the valid media resource information received in step 408 is included (the media with port number 0 is invalid).
至此, UE-1与 UE-2协商了媒体资源, ALG没有包含在 UE-1与 UE-2 的通话媒体路径中, 即未锚定媒体。  So far, UE-1 negotiates media resources with UE-2, and ALG is not included in the call media path of UE-1 and UE-2, that is, the media is not anchored.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种实现媒体锚定的方法, 其特征在于, 该方法包括:  A method for implementing media anchoring, the method comprising:
应用层网关 ALG收到会话描述协议 SDP请求后, 在需要转发的 SDP 请求中携带所述 ALG收到的 SDP请求中的媒体资源信息, 以及所述 ALG 分配的媒体处理实体的媒体资源信息, 并转发该 SDP请求;  After receiving the session description protocol SDP request, the application layer gateway ALG carries the media resource information in the SDP request received by the ALG and the media resource information of the media processing entity allocated by the ALG in the SDP request that needs to be forwarded, and Forward the SDP request;
应用服务器 AS收到 SDP请求, 确定是否需要所述 ALG锚定媒体, 并 发送携带有表示是否需要 ALG锚定媒体的媒体锚定指示和 SDP响应的会话 初始协议 SIP消息;  The application server AS receives the SDP request, determines whether the ALG anchor media is needed, and sends a session initial protocol SIP message carrying a media anchor indication and an SDP response indicating whether the ALG anchor media is required;
ALG根据收到的所述 SIP消息, 确定是否锚定媒体。  The ALG determines whether to anchor the media based on the received SIP message.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 AS确定是否需要 ALG锚定媒体包括:  2. The method according to claim 1, wherein the determining, by the AS, whether the ALG anchoring medium is required comprises:
所述 AS根据以下之一或任意组合, 决策是否需要 ALG锚定媒体: SDP请求发起方的用户签约信息、 SDP请求发起方的漫游信息、 SDP 请求目的方的归属信息、 SDP请求目的方的漫游信息、 SDP请求发起方的 归属网是否锚定媒体。  The AS determines whether the ALG anchoring medium is required according to one or any combination of the following: SDP requesting the user's subscription information of the initiator, the SDP requesting the initiator's roaming information, the SDP requesting the destination party's home information, and the SDP requesting the destination party's roaming Information, whether the SDP requests the originator's home network to anchor the media.
3、根据权利要求 2所述的方法, 其特征在于, 所述决策是否需要 ALG 锚定媒体具体包括:  The method according to claim 2, wherein the determining whether the ALG anchoring media is required comprises:
所述 AS根据 SDP请求发起方的用户签约信息, 判断出签约信息表明 需要锚定, 则决定锚定;  The AS determines the anchoring information according to the SDP requesting the user's subscription information of the initiator, and determines that the subscription information indicates that the anchoring needs to be anchored;
如果 SDP请求发起方的签约信息表明建议锚定, 则 AS还进一步判断 SDP请求发起方的归属网是否锚定媒体, 如果不锚定则进一步判断 SDP请 求发起方是否漫游, 如果漫游则决定锚定;  If the signing information of the SDP requesting initiator indicates that the anchoring is recommended, the AS further determines whether the home network of the SDP requesting initiator anchors the media, and if not, further determines whether the SDP requests the initiator to roam, and if roaming, decides to anchor. ;
如果未漫游, 则进一步根据 SDP请求目的方的归属信息, 判断所述目 的方是否是本运营商网络用户, 如果不是则决定锚定;  If the roaming is not roaming, the SDP requests the destination party's attribution information to determine whether the destination party is the carrier network user, and if not, decides to anchor;
如果是, 则进一步根据 SDP请求目的方的归属信息, 判断所述目的方 是否漫游, 如果漫游则决定锚定; If yes, the destination party is further determined according to the attribution information of the target party of the SDP. Whether to roam, if roaming, decide to anchor;
其他情况则决定不锚定。  In other cases, it is decided not to anchor.
4、 根据权利要求 1所述的方法, 其特征在于, 所述 AS确定是否需要 所述 ALG锚定媒体后, 发送所述 SIP消息前, 还包括:  The method according to claim 1, wherein the AS determines whether the ALG anchor media is required, and before sending the SIP message, the AS further includes:
当确定出锚定媒体时, 所述 AS将接收到的 SDP请求中携带的与 ALG 相关的媒体资源信息, 携带在转发的 SDP请求中;  When the anchor media is determined, the AS carries the ALG-related media resource information carried in the received SDP request in the forwarded SDP request.
当确定出不锚定媒体时,所述 AS将接收到的 SDP请求中携带的与 SDP 请求发起方相关的媒体资源信息, 携带在转发的 SDP请求中。  When it is determined that the media is not anchored, the AS carries the media resource information related to the SDP request initiator that is carried in the received SDP request, and is carried in the forwarded SDP request.
5、 根据权利要求 1所述的方法, 其特征在于, 所述 ALG根据收到的 SIP消息, 确定是否锚定媒体包括:  The method according to claim 1, wherein the ALG determines whether to anchor the media according to the received SIP message, including:
所述 ALG向 SDP请求发起方发送 SDP响应, 如果通过所述 SIP消息 中的所述媒体锚定指示确定为需要锚定,所述 SDP响应携带 ALG分配的媒 体处理实体的媒体资源信息,否则所述 SDP响应不携带 ALG分配的媒体处 理实体的媒体资源信息。  The ALG sends an SDP response to the SDP requesting initiator, and if it is determined that the anchoring is required by the media anchoring indication in the SIP message, the SDP response carries the media resource information of the media processing entity allocated by the ALG, otherwise The SDP response does not carry the media resource information of the media processing entity allocated by the ALG.
6、 根据权利要求 1所述的方法, 其特征在于, 所述用于表示是否需要 ALG锚定媒体的媒体锚定指示实现方法为:  The method according to claim 1, wherein the media anchor indication implementation method for indicating whether an ALG anchoring medium is required is:
所述媒体锚定指示釆用专门的 SIP消息头域标识来指示是否需要 ALG 锚定媒体; 或者,  The media anchoring indication uses a special SIP message header field identifier to indicate whether the ALG anchor media is required; or
所述媒体锚定指示包含在所述 SIP消息携带的所述 SDP响应中。  The media anchor indication is included in the SDP response carried by the SIP message.
7、 根据权利要求 6所述的方法, 其特征在于, 所述媒体锚定指示包含 在所述 SIP消息携带的所述 SDP响应中时, 所述锚定指示实现方法为: 釆用专门的 SDP属性标识来指示是否需要 ALG锚定媒体; 或者, 釆用选择特定的媒体行有效或无效来指示。  The method according to claim 6, wherein when the media anchor indication is included in the SDP response carried by the SIP message, the anchor indication implementation method is: using a dedicated SDP The attribute identifier indicates whether the ALG anchor media is required; or, the indication is to select whether a particular media line is valid or invalid.
8、 根据权利要求 7所述的方法, 其特征在于, 所述媒体锚定指示釆用 选择特定媒体行有效或无效来指示时, 所述锚定指示实现方法为:  The method according to claim 7, wherein when the media anchor indication is indicated by selecting whether a specific media line is valid or invalid, the anchor indication implementation method is:
当与 ALG相关的媒体资源信息相对应的媒体行有效时, 表明需要锚定 媒体; 或者, 当与 SDP请求发起方相关的媒体资源信息相对应的媒体行无 效时, 表明需要锚定媒体。 When the media line corresponding to the ALG-related media resource information is valid, it indicates that anchoring is required. Media; or, when the media line corresponding to the media resource information related to the SDP request originator is invalid, it indicates that the media needs to be anchored.
9、 一种实现媒体锚定的系统, 其特征在于, 至少包括 ALG和 AS, 其 中,  9. A system for implementing media anchoring, characterized in that it comprises at least an ALG and an AS, wherein
ALG, 用于转发会话描述协议 SDP请求, 所述转发的 SDP请求携带收 到的媒体资源信息以及 ALG分配的媒体资源信息;  The ALG is configured to forward a session description protocol (SDP request), where the forwarded SDP request carries the received media resource information and the media resource information allocated by the ALG;
AS, 用于接收 SDP请求, 决定是否需要 ALG锚定媒体, 并根据决定 的结果发送携带 SDP响应的 SIP消息。  The AS is configured to receive an SDP request, determine whether the ALG anchor media is required, and send an SIP message carrying the SDP response according to the determined result.
10、 根据权利要求 9所述的系统, 其特征在于, 如果所述 AS决定需要 ALG锚定媒体, 则所述 SDP响应中与所述 ALG相关的媒体资源信息相对 应的媒体行有效,或者所述 SDP响应中与 SDP请求发起方相关的媒体资源 信息相对应的媒体行无效。  The system according to claim 9, wherein if the AS determines that an ALG anchoring medium is required, the media line corresponding to the media resource information related to the ALG in the SDP response is valid, or The media line corresponding to the media resource information related to the SDP request originator in the SDP response is invalid.
PCT/CN2011/075608 2010-07-23 2011-06-10 Method and system for realizing media anchoring WO2012010019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010236068.1A CN102340490B (en) 2010-07-23 2010-07-23 A kind of method and system realizing anchor of media
CN201010236068.1 2010-07-23

Publications (1)

Publication Number Publication Date
WO2012010019A1 true WO2012010019A1 (en) 2012-01-26

Family

ID=45496496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075608 WO2012010019A1 (en) 2010-07-23 2011-06-10 Method and system for realizing media anchoring

Country Status (2)

Country Link
CN (1) CN102340490B (en)
WO (1) WO2012010019A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323217B (en) * 2014-06-20 2020-03-10 中兴通讯股份有限公司 Media negotiation method, system and ATCF in voice call continuity service

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1835687A1 (en) * 2006-03-16 2007-09-19 Research In Motion Limited Method and apparatuses for controlling voice call continuity functionality of a user equipment in a network environment including an IP Multimedia Subsystem IMS
CN101094442A (en) * 2006-08-23 2007-12-26 中兴通讯股份有限公司 Method and system for grappling final call in circuit switching domain
CN101505344A (en) * 2009-03-09 2009-08-12 华为技术有限公司 Communication network anchorage method and device
WO2010052343A2 (en) * 2008-11-10 2010-05-14 Telefonaktiebolaget L M Ericsson (Publ) Srvcc from cs to lte
CN101969627A (en) * 2010-04-21 2011-02-09 中兴通讯股份有限公司 Method and system for realizing service continuity of single-standby terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100603562B1 (en) * 2004-05-14 2006-07-24 삼성전자주식회사 Apparatus and method for voice processing of voice over internet protocol
CN101047628A (en) * 2006-03-30 2007-10-03 华为技术有限公司 System and method for implementing block service of circuit field terminal access packet network
CN101577724B (en) * 2006-06-09 2016-04-13 Sk电信有限公社 The method that the Early media of dialogue-based initiation protocol is served is provided
CN101577883B (en) * 2008-08-07 2014-02-05 中兴通讯股份有限公司 Method, device and system for talking connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1835687A1 (en) * 2006-03-16 2007-09-19 Research In Motion Limited Method and apparatuses for controlling voice call continuity functionality of a user equipment in a network environment including an IP Multimedia Subsystem IMS
CN101094442A (en) * 2006-08-23 2007-12-26 中兴通讯股份有限公司 Method and system for grappling final call in circuit switching domain
WO2010052343A2 (en) * 2008-11-10 2010-05-14 Telefonaktiebolaget L M Ericsson (Publ) Srvcc from cs to lte
CN101505344A (en) * 2009-03-09 2009-08-12 华为技术有限公司 Communication network anchorage method and device
CN101969627A (en) * 2010-04-21 2011-02-09 中兴通讯股份有限公司 Method and system for realizing service continuity of single-standby terminal

Also Published As

Publication number Publication date
CN102340490A (en) 2012-02-01
CN102340490B (en) 2015-10-21

Similar Documents

Publication Publication Date Title
EP1973283B1 (en) Interworking network element, interworking system between the csi terminal and the ims terminal and the method thereof
EP2198587B1 (en) Failure recovery in an ip multimedia subsystem network
US8848666B2 (en) Handover of emergency calls from a circuit switched to a packet switched access network
EP1811745B1 (en) Methods and apparatus for handling IMS terminal's call request including request for real-time service received over IMS domain by CSI terminal
WO2014044224A1 (en) Qos bearer resource control method and system during access negotiation and release
WO2009012685A1 (en) Domain switching method, server and controller
US20100169495A1 (en) Method, apparatus, and system for processing continuity of media streams in a session
KR20100042270A (en) Call transfer with multiple application servers in session initiation protocol-based network
EP2291029B1 (en) ICS UE terminating sessions using CS media
WO2007025473A1 (en) A cs domain call terminating system, method and network device
WO2009149648A1 (en) Service control signaling channel replacing method, device and system
EP2485444B1 (en) Method of establishing optimized media path and signaling gateway for implementing this method
WO2008052466A1 (en) Method, system and equipment for switching among different networks
US9603183B2 (en) Method and system for keeping single radio voice call continuity session alive
WO2010121521A1 (en) Method, system, mobile switching center server, and session terminal for realizing service continuity
WO2011130949A1 (en) Method and system for implementing reverse single radio voice call continuity
WO2009124512A1 (en) Implement method for controlling playback of early media
WO2008110110A1 (en) Ip multimedia subsystem service providing method and system
WO2012010019A1 (en) Method and system for realizing media anchoring
WO2013064105A1 (en) Method and device for switching reverse single radio voice call continuity bearer
WO2011130954A1 (en) Method and system for implementing single radio voice call continuity
WO2012041138A1 (en) Method and system for final call accessing via visited ims access point
WO2011097966A1 (en) Method and system for implementing single radio voice call continuity
WO2012041139A1 (en) Method and system for circuit switch domain call to access network through the visited ims
KR20050116464A (en) Method for terminating session based messaging service in internet protocol multimedia sub-system

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: 11809207

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: 11809207

Country of ref document: EP

Kind code of ref document: A1