WO2009121310A1 - Method, system and device for selecting a gateway - Google Patents

Method, system and device for selecting a gateway Download PDF

Info

Publication number
WO2009121310A1
WO2009121310A1 PCT/CN2009/071160 CN2009071160W WO2009121310A1 WO 2009121310 A1 WO2009121310 A1 WO 2009121310A1 CN 2009071160 W CN2009071160 W CN 2009071160W WO 2009121310 A1 WO2009121310 A1 WO 2009121310A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
msc
identifier
call
media information
Prior art date
Application number
PCT/CN2009/071160
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 WO2009121310A1 publication Critical patent/WO2009121310A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, system, and device for gateway selection. Background technique
  • the core network of WCDMA (Wideband Code Division Multiple Access) evolves from the R99 circuit mode to the packet-based softswitch, and is divided into R4 BICN (Bearer Independent Core Network) and R5 IMS (IP).
  • R4 BICN is based on BICC (Bearer Independent Call Control) and H.248 protocol, and is designed to packetize WCDMA CS (Circuit Switch).
  • the domain, which saves the overall cost of voice services, is currently defined by the 3GPP (The 3rd Generation Partnership Project), which is based on SIP-I (Session Initiation Protocol with Integrated Services Digital Network User Part encapsulation). The business digital network user part) and the H.248 protocol-based technology.
  • each MSC-S Mobile Switch Central Server
  • the business needs to control the call and bearer.
  • the multiple MSC-Ss through which the call passes may occupy different gateways for the establishment of bearers.
  • the problem of wasted gateway resources was wasted, and the bearer path was long, which caused the service quality to be degraded.
  • Step 101 The calling MSC-S selects an available gateway in advance, and then transmits the multimedia gateway identifier MGW-ID (Media Gateway Identifier, or may also be referred to as a bearer control unit identifier BCU-ID (Bearer Control) through the SIP-I signaling message. Unit Identifier)) In the message to the called MSC-S, the message indicating that the calling MSC-S does not complete the actual occupation of the bearer plane.
  • MGW-ID Media Gateway Identifier
  • BCU-ID Bearer Control
  • Step 102 The called MSC-S confirms whether the call can be established by using the gateway selected by the calling MSC-S according to the gateway identifier provided by the calling MSC-S, and if so, the gateway source is occupied. After the called MSC-S completes the gateway resource occupation, it returns the gateway identifier and the bearer attribute to the calling MSC-S. After the called MSC-S occupies, the gateway identifier may be consistent with the gateway identifier provided by the calling MSC-S. It may also be inconsistent; bearer attributes include RTP (Real Time Protocol) addresses, ports, available codec lists, and so on.
  • RTP Real Time Protocol
  • Step 103 The calling MSC-S occupies resources of the gateway corresponding to the gateway identifier. If the gateway connection call provided by the called MSC-S can be used, the resources of the gateway are occupied, otherwise the gateway or other gateway selected in step 101 can continue to be occupied. After the completion of the gateway resource occupation, the calling MSC-S provides the SDP provision in the response mechanism through a new round of SDP (Session Description Protocol) by carrying the attributes (including the RTP address, port, available codec list, etc.). SDP Offer) is sent to the called MSC-S.
  • SDP Session Description Protocol
  • Step 104 The called MSC-S returns to the calling MSC-S a response to the SDP to complete the SDP negotiation and bearer establishment.
  • Embodiments of the present invention provide a method, system, and device for gateway selection, to implement an optimized setup process of a bearer and to implement delivery of a gateway identifier between MSC-S.
  • the embodiment of the invention provides a method for gateway selection, including:
  • the second mobile switching center server MSC-S receives the message that the first MSC-S sends the gateway identifier and the gateway media information of the first gateway occupied by the first MSC-S; when the second MSC-S can use When the first gateway provides a service, the first gateway is used to establish a bearer according to the gateway media information.
  • the embodiment of the invention further provides a system for gateway selection, including:
  • a first mobile switching center server MSC-S configured to send, to the second MSC-S, a message carrying the gateway identifier and gateway media information of the first gateway occupied by the first MSC-S; Receiving, by the first MSC-S, carrying the first
  • the first gateway is used to establish a bearer according to the gateway media information.
  • the embodiment of the present invention further provides a second mobile switching center server MSC-S, which includes:
  • a second receiving unit configured to receive, by the first MSC-S, a message that carries the gateway identifier of the first gateway and the gateway media information
  • a second processing unit configured to: when the first gateway is used to provide services, use the first gateway to establish a bearer according to the gateway media information.
  • the embodiment of the present invention further provides a first mobile switching center server MSC-S, which includes:
  • the first sending unit is configured to send, to the second MSC-S, a message carrying the gateway identifier and the gateway media information of the first gateway occupied by the first MSC-S.
  • multiple MSC-Ss can occupy the same media gateway to implement the optimization of the bearer path and implement the transfer of the gateway identifier between the MSC-S.
  • FIG. 1 is a flow chart of a method for establishing a bearer based on gateway negotiation and based on a negotiation result in the prior art
  • FIG. 2 is a flowchart of a method for gateway selection according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of a method for gateway selection in Embodiment 2 of the present invention.
  • FIG. 4 is a structural diagram of a system for gateway selection in an embodiment of the present invention. detailed description
  • a first embodiment of the present invention provides a gateway selection method. As shown in FIG. 2, the method includes: Step 201: The first MSC-S preselects an available first gateway and completes occupation of the bearer.
  • Step 202 The first MSC-S transmits the gateway identifier BCU-ID of the first gateway and the bearer information (including the RTP address, the port, the available codec list, and the like) to the second MSC-S through the SIP-I signaling message, specifically
  • the bearer information is gateway bearer information, that is, gateway media information.
  • Step 203 The second MSC-S selects an available second gateway and completes the occupation of the bearer.
  • the method for selecting the second gateway is to confirm, according to the gateway identifier provided by the first MSC-S, whether the gateway can be established by using the gateway selected by the first MSC-S, and if so, the second gateway and the first gateway are the same gateway; otherwise, Then select other available gateways and occupy the gateway resources (ie, the second gateway and the first gateway are different gateways).
  • Step 204 After the second MSC-S completes the gateway resource occupation, the gateway identifier and the load attribute (including the RTP address, the port, the available codec list, and the like) are returned to the first MSC-S.
  • the bearer attribute is a gateway bearer.
  • the gateway bearer information (including the RTP address, the port, the available codec list, and the like) is returned to the first MSC-S, and the identifier of the second gateway is not carried.
  • Step 205 The first MSC-S modifies the remote media attribute of the first gateway to complete the bearer set up.
  • the gateway identifier and the load attribute are returned to the first MSC-S.
  • the bearer attribute is the gateway bearer information, that is, Gateway media information.
  • the first MSC-S may modify the establishment of the remote media attribute completion bearer of the first gateway.
  • the same MSC can select any one of the multiple gateways to establish a bearer required for the call.
  • the two MSCs can establish a call by using the same MGW.
  • the gateway selected by the first MSC cannot be used by the second MSC, and the first MSC and the second MSC establish a bearer to transmit the information to the second MSC, and when the second MSC cannot use the gateway selected by the first MSC to establish the bearer, , other available gateways of the first MSC can be used.
  • the first MSC needs to determine a gateway that the second MSC can also use when selecting the first gateway before the gateway negotiation.
  • a second embodiment of the present invention provides a gateway selection method. As shown in FIG. 3, the following main steps are included:
  • Step 301 in order to implement the optimized setup process of the bearer, the first MSC-S (calling MSC-S) receives the call setup request (such as the SETUP sent by the UE, or the call setup request sent by the external network or other MSC-S).
  • the available first media gateway MGW is selected to interact with the MGW and occupy the media gateway resource of the called network.
  • Step 302 The first MSC-S sends a SIP message (such as an INVITE request message) to the second MSC-S (the called MSC-S), where the message carries the gateway identifier BCU-ID of the media gateway and the bearer of the occupied gateway resource.
  • Information ie gateway media information, including RTP addresses, ports, available codec lists, etc.
  • the first MSC-S may carry, in the message, a gateway identifier of the gateway that the first MSC-S other than the first MGW can use for the call.
  • Step 303 The second MSC-S selects an available second gateway and completes the occupation of the bearer.
  • the method for selecting the second gateway is that the second MSC-S preferentially selects the first MSC-S.
  • the gateway corresponding to the first gateway identifier that can be used for the current call is used as the second gateway.
  • the second MSC-S confirms whether the call can be established by using the first MSC-S selected gateway according to the first gateway identifier provided by the first MSC-S, and if so, uses the first gateway to establish the bearer according to the gateway media information.
  • the second gateway identifier is the same gateway identifier as the first gateway identifier, and the second gateway and the first gateway are the same gateway; otherwise, according to the first gateway identifier provided by the first MSC-S
  • the gateway identifier of the other gateways outside confirms whether other gateways available to the first MSC-S can be used, and if so, the gateway is selected as the second gateway; otherwise, the other second MSC-S can be selected for the gateway of the call.
  • the second MSC-S allocates and occupies gateway resources
  • Step 304 The second MSC-S returns, to the first MSC-S, the gateway identifier of the gateway occupied by the second MSC-S and the gateway resource by using a SIP message (such as a 183 temporary response message to the INVITE request or other temporary response message).
  • Bearer information ie gateway media information, including RTP address, port, available codec list, etc.
  • the second MSC-S may return the identifier of the other gateways in the second MSC-S that can be used for the call, in addition to the identifier of the second gateway to the first MSC-S.
  • Step 305 After receiving the message corresponding to the step 304, if the first gateway and the second gateway are different gateways, the first MSC-S may continue to use the first gateway, or release the gateway resources already occupied by the first gateway. Reselect, allocate, and consume resources from another gateway.
  • the reselection gateway is:
  • the first MSC-S may use the second gateway occupied by the second MSC-S, and the first MSC-S selects the second gateway as the first gateway; otherwise:
  • the gateway is selected as the first gateway; otherwise
  • select the other first MSC-S can be used for the gateway of the call.
  • the first gateway resource is allocated and occupied. Further includes the following steps:
  • Step 306 The first MSC-S sends a SIP message (such as an UPDATE request message) to the second MSC-S (called MSC-S), where the message carries the re-selected gateway identifier of the first gateway.
  • SIP message such as an UPDATE request message
  • MSC-S the second MSC-S
  • Know BCU-ID and bearer information of gateway resources ie gateway media information, including RTP address, port, available codec list, etc.
  • Step 307 If the first gateway identified by the first MSC-S in step 306 identifies the gateway corresponding to the BCU-ID and the second gateway occupied by the second MSC-S is not the same gateway, and the second MSC-S may The gateway reselected by the first MSC-S is used, and during the call setup and progress, the MSC-S can control the call and bearer according to the service requirements.
  • the multiple MSC-Ss through which the call passes may occupy different gateways for the establishment of bearers.
  • the newly selected first gateway establishes a call, and the second MSC-S may reselect the first gateway reselected by the first MSC-S, allocate and occupy the reselected second gateway resource, and perform steps 308 and 309.
  • Step 308 The second MSC-S returns the bearer information of the re-occupied second gateway to the first MSC-S.
  • Step 309 After receiving the message corresponding to step 308, the first MSC-S updates the remote bearer information to the first gateway (not shown in this step).
  • the first MSC-S accesses the MSC-S (VMSC) to provide services to the called user
  • the second MSC-S accesses the MSC-S (VMSC) or the gateway MSC that provides services for the called user.
  • VMSC MSC-S
  • GMSC Gateway Mobile Switch Central Server
  • the first MSC-S is the gateway MSC-S (GMSC)
  • the second MSC-S is the access MSC-S (VMSC) or other gateway MSC-S (GMSC) that provides services to the called subscriber.
  • GMSC gateway MSC-S
  • VMSC access MSC-S
  • GMSC gateway MSC-S
  • Implementation of the technical method in the embodiments of the present invention requires the ability to pass the gateway identity BCU-ID between the MSC-S and the gateway used to negotiate the call.
  • the embodiment of the invention provides a method for transmitting a gateway identifier, including:
  • the second mobile switching center server receives the SDP or SIP message sent by the first mobile switching center server and carries the gateway identifier of the first gateway occupied by the first mobile switching center server; the second mobile switching center server returns to the first mobile switching center server
  • the SIP message body carries the gateway identifier.
  • the SIP message body can adopt the ABNF (Augmented Backus - Naur Form) encoding method, the XML (Extensible Markup Language) encoding method, or other encoding methods.
  • the SIP protocol uses SDP for media negotiation of sessions, and the SIP-I based 3GPP CS network uses SDP for media negotiation of sessions and establishment of bearers.
  • the SDP protocol has the characteristics of a single ticket and has been widely used in the field of communication. At the same time, SDP has the characteristics of easy expansion, and entities that do not support SDP extension can ignore unrecognized extensions without affecting the establishment of basic sessions. Therefore, proper extension and definition of the SDP protocol can implement gateway identity delivery and negotiation.
  • step 202 in the method based on the gateway negotiation and the bearer establishment based on the negotiation result, step 202 in the method of performing gateway negotiation and loading establishment Step 302, step 304, step 306, and step 308 in the implementation of step 204 and the implementation of the present invention may adopt any one of the following implementation methods 1-8:
  • the SDP receiver can help the SDP receiver to decide whether to join the multimedia session.
  • This parameter is not used in non-multicast multimedia session services or systems (especially SIP-I based 3GPP CS networks). In this way, there is no need to add new parameters, fewer changes to the protocol, and more convenient implementation. At the same time, because it does not occupy parameters that affect the service processing, it will not have any impact on SIP applications that do not use MGW-ID.
  • o BCU-ID:mgwl .orig-cs.net;mgw2. orig-cs.net 98789736 90842807 IN IP4 mscl .orig-cs.net
  • o mgwl.orig-cs.net;mgw2. orig-cs.net 98789736 90842807 IN IP4 mscl.orig-cs.net
  • the SDP receiver can help the SDP receiver decide whether to join the multimedia session.
  • This parameter is not used in non-multicast multimedia session services or systems (especially SIP-I based 3GPP CS networks). In this way, there is no need to add new parameters, fewer changes to the protocol, and more convenient implementation.
  • s mgwl. orig-cs.net; mgw2.orig-cs.net
  • the BCU-IDs are separated by ";" or other means.
  • i mgw Lorig-cs.net; mgw2.orig-cs.net BCU-IDs are separated by ";" or other means when carrying multiple BCU-IDs.
  • the SIP-I-based 3GPP CS network uses the SIP protocol to perform call, session, and service control functions such as session establishment, modification, and termination.
  • the SIP protocol has the characteristics of easy extension, and the SIP entity ignores the unsupported SIP header field and the message body does not affect the basic SIP call and session control functions. Therefore, proper extension and definition of the SIP protocol can implement gateway identification delivery and negotiation. In this way, because it does not occupy parameters that affect the processing of the service, it does not have any impact on the SIP application that does not use the MGW-ID.
  • BCU-ID mgwl.orig-cs.net, mgw2.orig-cs.net
  • the SIP message body includes the following header field indicating the message body type:
  • the SIP message body Carrying by the SIP message body, wherein the message body uses the XML encoding method, for example, the SIP message includes the following header field indicating the message body type:
  • the first MSC-S can use the mgwl.orig-cs.net and the mgw2.orig-cs.net to establish the call bearer, and further occupies the first MSC-S in the first embodiment of the present invention and the second embodiment of the present invention.
  • the gateway identified as mgwl.orig-cs.net is used to establish the call 7 load.
  • the second MSC-S can use mgwl.term-cs.net and mgw2.term-cs.net to establish the call 7 load, while mgwl.term-cs.net and mgwl.orig-cs.net are the same gateway.
  • the delivery method is any one of the foregoing 1 to 8 modes, and according to the foregoing gateway identifier transmission method, the step 102 in the method of performing bearer establishment based on the gateway negotiation and the negotiation result, the step 204 and the present in the first embodiment of the present invention
  • BCU-ID mgwl.term-cs.net, mgw2.term-cs.net
  • the bearer is carried by the SIP message body, where the message body uses the ABNF code, for example, the SIP message includes a header field indicating the message body type as follows:
  • the SIP message body includes a header field indicating the message body type as follows:
  • the first MSC-S and the second MSC-S use the same identifier for the same MGW (for example, mgwl.term-cs.net shown in 1,8, also uses mgwl.orig-cs.net)
  • the first MSC-S and the second MSC-S do not need to determine the local corresponding gateway identifier according to the BCU-ID transmitted from the peer end.
  • the above implementation method is also more simple.
  • the corresponding mgwl.term-cs.net shown in 1, ⁇ 8, only needs to be replaced by mgwl.orig-cs.net.
  • the embodiment of the present invention provides a gateway selection system, as shown in FIG. 4, including: a first mobile switching center server MSC-S 100, configured to send to the second MSC-S 200 to carry the first MSC-S 100 occupation The gateway of the first gateway and the message of the gateway media information.
  • a gateway selection system as shown in FIG. 4, including: a first mobile switching center server MSC-S 100, configured to send to the second MSC-S 200 to carry the first MSC-S 100 occupation The gateway of the first gateway and the message of the gateway media information.
  • the second MSC-S 200 is configured to receive, by the first MSC-S 100, a message that carries the gateway identifier of the first gateway and the gateway media information; when the service can be provided by using the first gateway, the first information is used according to the gateway media information.
  • the gateway establishes a bearer and returns a second gateway identifier, where the second gateway identifier is an identifier of the same gateway as the first gateway identifier.
  • the second MSC-S 200 is further configured to receive, by the first MSC-S 100, a gateway identifier of a gateway that is used by the first MSC-S 100 other than the first gateway to be used for the call, when the second MSC-S When the first gateway occupied by the first MSC-S 100 cannot be used, the gateway corresponding to the gateway identifier that the other first MSC-S 100 can use for the call is used.
  • the other gateway is selected as the second gateway, and the second MSC-S 200 is further configured to return the gateway identifier and the gateway of the second gateway to the first MSC-S 100.
  • Media information message When the second MSC-S 200 cannot use the first gateway to provide services, the other gateway is selected as the second gateway, and the second MSC-S 200 is further configured to return the gateway identifier and the gateway of the second gateway to the first MSC-S 100.
  • the second MSC-S 200 is also used to return to the first MSC-S 100 the gateway identity of the gateway that the other second MSC-S 200 can use for the call.
  • the first MSC-S 100 is further configured to: after receiving the identifier of the second gateway, determine whether the Providing a service by using the second gateway, releasing the occupation of the first gateway if possible, and re-using the second gateway to establish a bearer according to the gateway media information; when the first MSC-S 100 cannot use the second gateway, and the second MSC-S 200 When the first MSC-S 100 returns to the gateway identifier of the gateway of the other MSC-S 200 in addition to the identity of the second gateway, if the first MSC-S 100 can use the second MSC- The gateway other than the second gateway provided by the S200 reselects the gateway as the first gateway.
  • the second mobile switching center server MSC-S 200 specifically includes:
  • the second receiving unit 210 is configured to receive a message that is sent by another MSC-S and carries the gateway identifier of the first gateway and the gateway media information.
  • the second processing unit 220 is configured to: when the service is provided by using the first gateway, establish a bearer by using the first gateway according to the gateway media information.
  • the second receiving unit 210 is further configured to receive, by using the message sent by the first MSC-S 100, the gateway identifier of the gateway that the first MSC-S 100 other than the first gateway can use for the call.
  • the second MSC-S 200 also includes:
  • the second sending unit 230 is configured to return the second gateway identifier to the first MSC-S 100, where the second gateway identifies the identifier that is the same gateway as the first gateway identifier.
  • the second processing unit 220 is further configured to select another gateway as the second gateway when the second MSC-S 200 cannot use the first gateway to provide services.
  • the second sending unit 230 is further configured to: when the second processing unit 220 selects another gateway as the second gateway, return a message of the gateway identifier of the second gateway and the gateway media information to the first MSC-S 100.
  • the second processing unit 220 is further configured to preferentially select the first gateway sent by the first MSC-S 100.
  • the other first MSC-S 100 can be used for the gateway corresponding to the gateway identity of the current call.
  • the second sending unit 230 is further configured to return, to the first MSC-S 100, an identifier of the gateway that the other second MSC-S 200 can use for the call, in addition to the identifier of the second gateway.
  • the first MSC-S 100 specifically includes:
  • the first sending unit 110 is configured to send, to the second MSC-S 200, a message that carries the gateway identifier and gateway media information of the first gateway occupied by the first MSC-S 100.
  • the first receiving unit 120 is configured to receive a second gateway identifier that is returned by the second MSC-S 200 to the first MSC-S 100, where the second gateway identifier is the same gateway identifier as the first gateway identifier.
  • the first receiving unit 120 receives the gateway identifier of the gateway that the other second MSC-S 200 returned by the second MSC-S 200 can use for the call.
  • the first MSC-S 100 also includes:
  • the first processing unit 130 is configured to: when the first MSC-S 100 cannot use the second gateway, and the first receiving unit 120 receives the gateway that the other second MSC-S 200 returned by the second MSC-S 200 can use for the call.
  • the gateway is identified, if the first MSC-S 100 can use other gateways than the second gateway provided by the second MSC-S 200, the gateway is selected as the first gateway.
  • the first processing unit 130 is further configured to: when the second MSC-S 200 can not use the first gateway to provide services, when the other gateway is selected as the second gateway, the first MSC-S 100 determines the identifier of the second gateway, and then determines Whether the second gateway can be used to provide the service, if the second gateway can be used to provide the service, the occupation of the first gateway is released, and the second gateway is used to establish the bearer according to the gateway media information.
  • the message mode in which the system and the device carry the gateway identifier includes one or a combination of the following modes:
  • multiple MSC-Ss can occupy the same media gateway to optimize the 7-carrier path, avoid multiple SDP interactions, reduce the number of times the MSC-S processes the SDP, implement complexity, and speed up the call setup process.
  • the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • the instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

A method, system and device for selecting a gateway are provided in the embodiment of the invention. The method includes: the second mobile switch central server MSC-S receives a message which bears a gateway identifier and gateway media information of the first gateway hold by the first MSC-S and is sent by the first MSC-S; when the second MSC-S can use the first gateway to provide a service, a bearer is established by using the first gateway according to the gateway media information. In the embodiment of the invention, it can be realized that several MSC-Ss hold the same media gateway, optimizing bearer path can be realized.

Description

种网关选择的方法、 系统及设备 本申请要求于 2008年 4月 3日提交中国专利局, 申请号为 200810089724.2, 发明名称为 "一种网关选择的方法、 系统及设备" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Method, system and device for gateway selection This application claims to be submitted to the Chinese Patent Office on April 3, 2008, the application number is 200810089724.2, and the Chinese patent application titled "a gateway selection method, system and device" is preferred. The entire contents of which are incorporated herein by reference. Technical field
本发明实施例涉及通信技术领域, 尤其涉及一种网关选择的方 法、 系统及设备。 背景技术  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, system, and device for gateway selection. Background technique
WCDMA ( Wideband Code Division Multiple Access , 宽带码分多 址) 的核心网从 R99的电路方式向基于分组的软交换演进, 分为 R4 BICN ( Bearer Independent Core Network, 载无关核心网)、 R5 IMS ( IP based Multimedia Subsystem,基于 IP的多媒体子系统)两个阶段, R4 BICN以 BICC ( Bearer Independent Call Control, 载无关呼叫控 制)和 H.248协议为基础, 旨在分组化 WCDMA CS ( Circuit Switch, 电路交换) 域, 节省话音服务的整体成本, 目前 3GPP ( The 3rd Generation Partnership Project, 第三代合作伙伴计划)正在定义基于 SIP-I ( Session Initiation Protocol with Integrated Services Digital Network User Part encapsulation, 会话启动协议封装综合业务数字网 用户部分)和 H.248协议为基础的技术。 The core network of WCDMA (Wideband Code Division Multiple Access) evolves from the R99 circuit mode to the packet-based softswitch, and is divided into R4 BICN (Bearer Independent Core Network) and R5 IMS (IP). Based on Multimedia Subsystem (IP-based Multimedia Subsystem), R4 BICN is based on BICC (Bearer Independent Call Control) and H.248 protocol, and is designed to packetize WCDMA CS (Circuit Switch). The domain, which saves the overall cost of voice services, is currently defined by the 3GPP (The 3rd Generation Partnership Project), which is based on SIP-I (Session Initiation Protocol with Integrated Services Digital Network User Part encapsulation). The business digital network user part) and the H.248 protocol-based technology.
基本呼叫业务中每个 MSC-S ( Mobile Switch Central Server, 移动 交换中心服务器)会分别占用网关资源进行呼叫业务所需要的承载的 逐段建立,同时在呼叫建立和进行过程中 MSC-S可以根据业务需要对 呼叫和承载进行控制。其中呼叫所经过的多个 MSC-S可能会占用不同 的网关进行承载的建立。 实际应用中会导致占用网关资源浪费、承载 路径较长导致业务质量下降等方面的问题。 基于基本呼叫建立过程, 如图 1所示, 为现有技术中一种基于网 关协商以及基于协商结果进行承载建立的方法流程图,包括以下主要 步骤: In the basic call service, each MSC-S (Mobile Switch Central Server) will occupy the gateway resources to establish the bearer required for the call service, and the MSC-S can be based on the call setup and progress. The business needs to control the call and bearer. The multiple MSC-Ss through which the call passes may occupy different gateways for the establishment of bearers. In practical applications, the problem of wasted gateway resources was wasted, and the bearer path was long, which caused the service quality to be degraded. Based on the basic call setup process, as shown in FIG. 1 , a flow chart of a method for bearer establishment based on gateway negotiation and based on negotiation result in the prior art includes the following main steps:
步骤 101 , 主叫 MSC-S预先选择一个可用的网关, 然后通过 SIP-I 信令消息传递多媒体网关标识 MGW-ID ( Media Gateway Identifier, 或也可以称为承载控制单元标识 BCU-ID ( Bearer Control Unit Identifier ) )到被叫 MSC-S, 消息中同时指示主叫 MSC-S并没有完成 承载面的实际占用。  Step 101: The calling MSC-S selects an available gateway in advance, and then transmits the multimedia gateway identifier MGW-ID (Media Gateway Identifier, or may also be referred to as a bearer control unit identifier BCU-ID (Bearer Control) through the SIP-I signaling message. Unit Identifier)) In the message to the called MSC-S, the message indicating that the calling MSC-S does not complete the actual occupation of the bearer plane.
步骤 102, 被叫 MSC-S根据主叫 MSC-S提供的网关标识确认是否 可以使用主叫 MSC-S选择的网关建立呼叫,如果可以则占用该网关标 源。被叫 MSC-S完成网关资源占用后, 将网关标识以及承载属性返回 给主叫 MSC-S , 其中, 被叫 MSC-S占用后将网关标识可能和主叫 MSC-S提供的网关标识一致,也可能不一致;承载属性包括 RTP( Real Time Protocol, 实时传输协议)地址、 端口、 可用编解码列表等。  Step 102: The called MSC-S confirms whether the call can be established by using the gateway selected by the calling MSC-S according to the gateway identifier provided by the calling MSC-S, and if so, the gateway source is occupied. After the called MSC-S completes the gateway resource occupation, it returns the gateway identifier and the bearer attribute to the calling MSC-S. After the called MSC-S occupies, the gateway identifier may be consistent with the gateway identifier provided by the calling MSC-S. It may also be inconsistent; bearer attributes include RTP (Real Time Protocol) addresses, ports, available codec lists, and so on.
步骤 103 , 主叫 MSC-S占用网关标识所对应网关的资源。 如果可 以使用被叫 MSC-S提供的网关接续呼叫则占用该网关的资源,否则可 以继续占用步骤 101中选择的网关或者其他网关。 完成网关资源占用 后, 主叫 MSC-S将承载属性(包括 RTP地址、 端口、 可用编解码列表 等 )通过新一轮的 SDP ( Session Description Protocol, 会话描述协议 ) 提供应答机制中的 SDP提供 ( SDP Offer )发送给被叫 MSC-S。  Step 103: The calling MSC-S occupies resources of the gateway corresponding to the gateway identifier. If the gateway connection call provided by the called MSC-S can be used, the resources of the gateway are occupied, otherwise the gateway or other gateway selected in step 101 can continue to be occupied. After the completion of the gateway resource occupation, the calling MSC-S provides the SDP provision in the response mechanism through a new round of SDP (Session Description Protocol) by carrying the attributes (including the RTP address, port, available codec list, etc.). SDP Offer) is sent to the called MSC-S.
步骤 104 , 被叫 MSC-S向主叫 MSC-S返回对 SDP提供的应答完成 SDP的协商和承载建立。  Step 104: The called MSC-S returns to the calling MSC-S a response to the SDP to complete the SDP negotiation and bearer establishment.
发明人发现现有技术中至少存在如下问题:  The inventors have found that at least the following problems exist in the prior art:
现有技术中, 发起承载建立和网关标识交互是分别进行的, 需要 多次 SDP消息交互, MSC-S需要多次处理 SDP, 使得实现复杂呼叫 建立过程时间较长。 另外, 目前还没有如何实现网关标识的传递以及 协商的方法。 发明内容 In the prior art, the initiation of the bearer setup and the gateway identity interaction are performed separately, and multiple SDP message interactions are required. The MSC-S needs to process the SDP multiple times, so that the complex call setup process takes a long time. In addition, there is currently no way to implement the delivery and negotiation of gateway identifiers. Summary of the invention
本发明实施例提供一种网关选择的方法、 系统及设备, 以实现承 载的优化建立过程以及实现网关标识在 MSC-S之间的传递。  Embodiments of the present invention provide a method, system, and device for gateway selection, to implement an optimized setup process of a bearer and to implement delivery of a gateway identifier between MSC-S.
本发明实施例提供了一种网关选择的方法, 包括:  The embodiment of the invention provides a method for gateway selection, including:
第二移动交换中心服务器 MSC-S接收第一 MSC-S发送的携带所 述第一 MSC-S占用的第一网关的网关标识和网关媒体信息的消息; 当所述第二 MSC-S能够使用所述第一网关提供业务时, 则根据 所述网关媒体信息使用所述第一网关建立承载。  The second mobile switching center server MSC-S receives the message that the first MSC-S sends the gateway identifier and the gateway media information of the first gateway occupied by the first MSC-S; when the second MSC-S can use When the first gateway provides a service, the first gateway is used to establish a bearer according to the gateway media information.
本发明实施例还提供了一种网关选择的系统, 包括:  The embodiment of the invention further provides a system for gateway selection, including:
第一移动交换中心服务器 MSC-S,用于向第二 MSC-S发送携带所 述第一 MSC-S占用的第一网关的网关标识和网关媒体信息的消息; 第二 MSC-S, 用于接收所述第一 MSC-S 发送的携带所述第一 a first mobile switching center server MSC-S, configured to send, to the second MSC-S, a message carrying the gateway identifier and gateway media information of the first gateway occupied by the first MSC-S; Receiving, by the first MSC-S, carrying the first
MSC-S 占用的第一网关的网关标识和网关媒体信息的消息, 当所述 第二 MSC-S能够使用所述第一网关提供业务时, 则根据网关媒体信 息使用所述第一网关建立承载。 a message of the gateway identifier and the gateway media information of the first gateway that is occupied by the MSC-S. When the second MSC-S can provide the service by using the first gateway, the first gateway is used to establish a bearer according to the gateway media information. .
本发明实施例还提供了一种第二移动交换中心服务器 MSC-S, 包 括:  The embodiment of the present invention further provides a second mobile switching center server MSC-S, which includes:
第二接收单元,用于接收第一 MSC-S发送的携带第一网关的网关 标识和网关媒体信息的消息;  a second receiving unit, configured to receive, by the first MSC-S, a message that carries the gateway identifier of the first gateway and the gateway media information;
第二处理单元, 用于当能够使用所述第一网关提供业务时, 则根 据网关媒体信息使用所述第一网关建立承载。  And a second processing unit, configured to: when the first gateway is used to provide services, use the first gateway to establish a bearer according to the gateway media information.
本发明实施例还提供了一种第一移动交换中心服务器 MSC-S, 包 括:  The embodiment of the present invention further provides a first mobile switching center server MSC-S, which includes:
第一发送单元,用于向第二 MSC-S发送携带所述第一 MSC-S占用 的第一网关的网关标识和网关媒体信息的消息。  The first sending unit is configured to send, to the second MSC-S, a message carrying the gateway identifier and the gateway media information of the first gateway occupied by the first MSC-S.
本发明的实施例中,可以实现多个 MSC-S占用同一媒体网关实现 承载路径的优化以及实现网关标识在 MSC-S之间的传递。 附图说明 In the embodiment of the present invention, multiple MSC-Ss can occupy the same media gateway to implement the optimization of the bearer path and implement the transfer of the gateway identifier between the MSC-S. DRAWINGS
图 1 是现有技术中基于网关协商以及基于协商结果进行承载建 立的方法流程图;  1 is a flow chart of a method for establishing a bearer based on gateway negotiation and based on a negotiation result in the prior art;
图 2是本发明实施例一中一种网关选择的方法流程图;  2 is a flowchart of a method for gateway selection according to Embodiment 1 of the present invention;
图 3是本发明实施例二中一种网关选择的方法流程图;  3 is a flowchart of a method for gateway selection in Embodiment 2 of the present invention;
图 4是本发明实施例中一种网关选择的系统结构图。 具体实施方式  FIG. 4 is a structural diagram of a system for gateway selection in an embodiment of the present invention. detailed description
本发明实施例一提供了一种网关选择的方法, 如图 2所示, 包括: 步骤 201 , 第一 MSC-S预先选择一个可用的第一网关并完成承载 的占用。  A first embodiment of the present invention provides a gateway selection method. As shown in FIG. 2, the method includes: Step 201: The first MSC-S preselects an available first gateway and completes occupation of the bearer.
步骤 202, 第一 MSC-S通过 SIP-I信令消息传递第一网关的网关标 识 BCU-ID以及承载信息(包括 RTP地址、 端口、 可用编解码列表等) 到第二 MSC-S, 具体地, 该承载信息为网关承载信息, 即网关媒体信 息。  Step 202: The first MSC-S transmits the gateway identifier BCU-ID of the first gateway and the bearer information (including the RTP address, the port, the available codec list, and the like) to the second MSC-S through the SIP-I signaling message, specifically The bearer information is gateway bearer information, that is, gateway media information.
步骤 203 , 第二 MSC-S选择一个可用的第二网关并完成承载的占 用。其中选择第二网关的方法是根据第一 MSC-S提供的网关标识确认 是否可以使用第一 MSC-S选择的网关建立呼叫, 如果可以, 则第二网 关和第一网关为同一网关; 否则, 则选择其他可用的网关并占用网关 资源 (即第二网关和第一网关为不同的网关) 。  Step 203: The second MSC-S selects an available second gateway and completes the occupation of the bearer. The method for selecting the second gateway is to confirm, according to the gateway identifier provided by the first MSC-S, whether the gateway can be established by using the gateway selected by the first MSC-S, and if so, the second gateway and the first gateway are the same gateway; otherwise, Then select other available gateways and occupy the gateway resources (ie, the second gateway and the first gateway are different gateways).
步骤 204 , 第二 MSC-S完成网关资源占用后将网关标识以及^载 属性(包括 RTP地址、 端口、 可用编解码列表等)返回给第一 MSC-S, 具体地, 该承载属性为网关承载信息, 即网关媒体信息; 网关标识进 一步可选的包含第二网关的标识。  Step 204: After the second MSC-S completes the gateway resource occupation, the gateway identifier and the load attribute (including the RTP address, the port, the available codec list, and the like) are returned to the first MSC-S. Specifically, the bearer attribute is a gateway bearer. Information, ie gateway media information; the gateway identity further optionally includes an identity of the second gateway.
也可以第二 MSC-S完成网关资源占用后, 将网关承载信息(包括 RTP地址、 端口、 可用编解码列表等)返回给第一 MSC-S, 不携带第 二网关的标识。  After the second MSC-S completes the gateway resource occupation, the gateway bearer information (including the RTP address, the port, the available codec list, and the like) is returned to the first MSC-S, and the identifier of the second gateway is not carried.
步骤 205 , 第一 MSC-S修改第一网关的远端媒体属性完成承载的 建立。 Step 205: The first MSC-S modifies the remote media attribute of the first gateway to complete the bearer set up.
第二 MSC-S完成网关资源占用后将网关标识以及^载属性(包括 RTP地址、 端口、 可用编解码列表等)返回给第一 MSC-S, 具体地, 该承载属性为网关承载信息, 即网关媒体信息。 则第一 MSC-S可以修 改第一网关的远端媒体属性完成承载的建立。  After the second MSC-S completes the gateway resource occupation, the gateway identifier and the load attribute (including the RTP address, the port, the available codec list, and the like) are returned to the first MSC-S. Specifically, the bearer attribute is the gateway bearer information, that is, Gateway media information. Then, the first MSC-S may modify the establishment of the remote media attribute completion bearer of the first gateway.
本发明实施例一中,通常同一 MSC可以选择多个网关之中的任何 一个网关建立呼叫所需要的承载,本发明实施例一通过网关标识的交 换期望两个 MSC能够使用同一 MGW建立呼叫, 如果第一 MSC选择的 网关不能为第二 MSC所使用, 则第一 MSC和第二 MSC建立承载将占 信息发送给第二 MSC, 当第二 MSC不能使用第一 MSC选择的网关建 立^^载时, 可以使用第一 MSC的其他可用网关。 为了增加两个 MSC 使用同一 MGW的目的, 第一 MSC需要在网关协商之前选择第一网关 时确定一个第二 MSC也可以用的网关。  In the first embodiment of the present invention, the same MSC can select any one of the multiple gateways to establish a bearer required for the call. In the first embodiment of the present invention, it is expected that the two MSCs can establish a call by using the same MGW. The gateway selected by the first MSC cannot be used by the second MSC, and the first MSC and the second MSC establish a bearer to transmit the information to the second MSC, and when the second MSC cannot use the gateway selected by the first MSC to establish the bearer, , other available gateways of the first MSC can be used. In order to increase the purpose of the two MSCs using the same MGW, the first MSC needs to determine a gateway that the second MSC can also use when selecting the first gateway before the gateway negotiation.
本发明实施例二提供了一种网关选择的方法, 如图 3所示, 包括 以下主要步骤:  A second embodiment of the present invention provides a gateway selection method. As shown in FIG. 3, the following main steps are included:
步骤 301 , 为了实现承载的优化建立过程, 第一 MSC-S (主叫 MSC-S )接收到呼叫建立请求(如 UE发送的 SETUP, 或者外部网络 或者其他 MSC-S发送的呼叫建立请求)后, 选择可用的第一媒体网关 MGW, 与该 MGW进行交互分配并占用到被叫网络的媒体网关资源。  Step 301, in order to implement the optimized setup process of the bearer, the first MSC-S (calling MSC-S) receives the call setup request (such as the SETUP sent by the UE, or the call setup request sent by the external network or other MSC-S). The available first media gateway MGW is selected to interact with the MGW and occupy the media gateway resource of the called network.
步骤 302, 第一 MSC-S向第二 MSC-S (被叫 MSC-S )发送 SIP消息 (如 INVITE请求消息) , 该消息携带媒体网关的网关标识 BCU-ID以 及已经占用的网关资源的承载信息(即网关媒体信息,包括 RTP地址、 端口、 可用编解码列表等)。 进一步, 第一 MSC-S可以在消息中携带 第一 MGW之外的其他第一 MSC-S可以用于本呼叫的网关的网关标 识。  Step 302: The first MSC-S sends a SIP message (such as an INVITE request message) to the second MSC-S (the called MSC-S), where the message carries the gateway identifier BCU-ID of the media gateway and the bearer of the occupied gateway resource. Information (ie gateway media information, including RTP addresses, ports, available codec lists, etc.). Further, the first MSC-S may carry, in the message, a gateway identifier of the gateway that the first MSC-S other than the first MGW can use for the call.
步骤 303 , 第二 MSC-S选择一个可用的第二网关并完成承载的占 用。  Step 303: The second MSC-S selects an available second gateway and completes the occupation of the bearer.
其中, 选择第二网关的方法是第二 MSC-S优先选择第一 MSC-S 发送的能够用于本次呼叫的第一网关标识对应的网关作为第二网关。 具体地,第二 MSC-S根据第一 MSC-S提供的第一网关标识确认是否可 以使用第一 MSC-S选择的网关建立呼叫, 如果可以, 则根据网关媒体 信息使用第一网关建立^载, 并且返回第二网关标识, 其中第二网关 标识与第一网关标识为同一网关的标识,第二网关和第一网关为同一 网关; 否则, 根据第一 MSC-S提供的第一网关标识之外的其他网关的 网关标识确认是否可以使用第一 MSC-S可用的其他网关,如果可以则 选择该网关为第二网关; 否则, 则选择其他第二 MSC-S可以用于本呼 叫的网关。 The method for selecting the second gateway is that the second MSC-S preferentially selects the first MSC-S. The gateway corresponding to the first gateway identifier that can be used for the current call is used as the second gateway. Specifically, the second MSC-S confirms whether the call can be established by using the first MSC-S selected gateway according to the first gateway identifier provided by the first MSC-S, and if so, uses the first gateway to establish the bearer according to the gateway media information. And returning the second gateway identifier, where the second gateway identifier is the same gateway identifier as the first gateway identifier, and the second gateway and the first gateway are the same gateway; otherwise, according to the first gateway identifier provided by the first MSC-S The gateway identifier of the other gateways outside confirms whether other gateways available to the first MSC-S can be used, and if so, the gateway is selected as the second gateway; otherwise, the other second MSC-S can be selected for the gateway of the call.
第二 MSC-S分配并占用网关资源;  The second MSC-S allocates and occupies gateway resources;
步骤 304, 第二 MSC-S通过 SIP消息(如对 INVITE请求的 183临时 响应消息或其他临时响应消息), 向第一 MSC-S返回第二 MSC-S占用 的网关的网关标识以及网关资源的承载信息(即网关媒体信息, 包括 RTP地址、 端口、 可用编解码列表等) 。 进一步, 第二 MSC-S向第一 MSC-S除了返回第二网关的标识之外还可以返回第二 MSC-S中其他 可以用于本呼叫的网关的标识。  Step 304: The second MSC-S returns, to the first MSC-S, the gateway identifier of the gateway occupied by the second MSC-S and the gateway resource by using a SIP message (such as a 183 temporary response message to the INVITE request or other temporary response message). Bearer information (ie gateway media information, including RTP address, port, available codec list, etc.). Further, the second MSC-S may return the identifier of the other gateways in the second MSC-S that can be used for the call, in addition to the identifier of the second gateway to the first MSC-S.
步骤 305 , 收到步骤 304中所对应的消息后, 如第一网关与第二网 关为不同网关则第一 MSC-S可以继续使用第一网关,或者释放第一网 关上已经占用的网关资源并重新选择、分配和占用另外一个网关的资 源。 其中重新选择网关为:  Step 305: After receiving the message corresponding to the step 304, if the first gateway and the second gateway are different gateways, the first MSC-S may continue to use the first gateway, or release the gateway resources already occupied by the first gateway. Reselect, allocate, and consume resources from another gateway. The reselection gateway is:
如第一 MSC-S可以使用第二 MSC-S占用的第二网关,第一 MSC-S 选择第二网关为第一网关; 否则:  For example, the first MSC-S may use the second gateway occupied by the second MSC-S, and the first MSC-S selects the second gateway as the first gateway; otherwise:
如第一 MSC-S可以使用第二 MSC-S提供的第二网关之外的其他 网关, 则选择该网关为第一网关; 否则  If the first MSC-S can use a gateway other than the second gateway provided by the second MSC-S, the gateway is selected as the first gateway; otherwise
则选择其他第一 MSC-S可以用于本呼叫的网关。  Then select the other first MSC-S can be used for the gateway of the call.
如果第一 MSC-S重新选择第一网关, 则分配和占用第一网关资 源。 进一步包括如下步骤:  If the first MSC-S reselects the first gateway, the first gateway resource is allocated and occupied. Further includes the following steps:
步骤 306, 第一 MSC-S向第二 MSC-S (被叫 MSC-S )发送 SIP消息 (如 UPDATE请求消息), 该消息携带重新选择的第一网关的网关标 识 BCU-ID以及网关资源的承载信息 (即网关媒体信息, 包括 RTP地 址、 端口、 可用编解码列表等) 。 Step 306: The first MSC-S sends a SIP message (such as an UPDATE request message) to the second MSC-S (called MSC-S), where the message carries the re-selected gateway identifier of the first gateway. Know BCU-ID and bearer information of gateway resources (ie gateway media information, including RTP address, port, available codec list, etc.).
步骤 307 ,如果步骤 306消息中携带的第一 MSC-S重新选择的第一 网关标识 BCU-ID对应的网关与第二 MSC-S占用的第二网关不是同一 网关, 并且第二 MSC-S可以使用第一 MSC-S重新选择的网关, 同时在 呼叫建立和进行过程中 MSC-S可以根据业务需要对呼叫和承载进行 控制。其中呼叫所经过的多个 MSC-S可能会占用不同的网关进行承载 的建立。新选择的第一网关建立呼叫则第二 MSC-S可以重新选择第一 MSC-S重新选择的第一网关, 分配和占用重新选择的第二网关资源, 并执行步骤 308和步骤 309。  Step 307: If the first gateway identified by the first MSC-S in step 306 identifies the gateway corresponding to the BCU-ID and the second gateway occupied by the second MSC-S is not the same gateway, and the second MSC-S may The gateway reselected by the first MSC-S is used, and during the call setup and progress, the MSC-S can control the call and bearer according to the service requirements. The multiple MSC-Ss through which the call passes may occupy different gateways for the establishment of bearers. The newly selected first gateway establishes a call, and the second MSC-S may reselect the first gateway reselected by the first MSC-S, allocate and occupy the reselected second gateway resource, and perform steps 308 and 309.
步骤 308 , 第二 MSC-S向第一 MSC-S返回重新占用的第二网关的 承载信息。  Step 308: The second MSC-S returns the bearer information of the re-occupied second gateway to the first MSC-S.
步骤 309 ,收到步骤 308所对应的消息后第一 MSC-S向第一网关更 新远端承载信息 (此步骤图中未示出) 。  Step 309: After receiving the message corresponding to step 308, the first MSC-S updates the remote bearer information to the first gateway (not shown in this step).
本领域技术技术人员可以根据上述主要步骤以及基于 SIP-I的 3GPP CS网络相关技术推导出包括但不限于如下的一些业务流程: Those skilled in the art can derive some business processes including, but not limited to, the following main steps and SIP-I based 3GPP CS network related technologies:
1、第一 MSC-S为主叫用户提供服务的访问 MSC-S( Visited Mobile Switch Central Server, VMSC ) , 第二 MSC-S为被叫用户提供服务的 访问 MSC-S ( VMSC )或者网关 MSC-S ( Gateway Mobile Switch Central Server, GMSC ) ; 1. The first MSC-S accesses the MSC-S (VMSC) to provide services to the called user, and the second MSC-S accesses the MSC-S (VMSC) or the gateway MSC that provides services for the called user. -S (Gateway Mobile Switch Central Server, GMSC);
2、 第一 MSC-S为网关 MSC-S ( GMSC ) , 第二 MSC-S为被叫用 户提供服务的访问 MSC-S ( VMSC )或者其他网关 MSC-S ( GMSC )。  2. The first MSC-S is the gateway MSC-S (GMSC), and the second MSC-S is the access MSC-S (VMSC) or other gateway MSC-S (GMSC) that provides services to the called subscriber.
本发明实施例中的技术方法的实施需要能够在 MSC-S之间传递 网关标识 BCU-ID以及协商呼叫所使用的网关。  Implementation of the technical method in the embodiments of the present invention requires the ability to pass the gateway identity BCU-ID between the MSC-S and the gateway used to negotiate the call.
本发明实施例提供了一种网关标识传递方法, 包括:  The embodiment of the invention provides a method for transmitting a gateway identifier, including:
第二移动交换中心服务器接收第一移动交换中心服务器发送的 携带第一移动交换中心服务器占用的第一网关的网关标识的 SDP或 SIP消息; 第二移动交换中心服务器向第一移动交换中心服务器返回 第二网关的网关标识的 SDP或 SIP消息。 其中,可以使用 SDP的 0=行的用户名或单播地址参数携带网关标 识、 i=行、 s=行或者通过 SDP属性参数&=行携带网关标识; 或使用 SIP 头域携带网关标识; 或使用 SIP消息体携带网关标识; 其中 SIP消息体 可以采用 ABNF( Augmented Backus - Naur Form,增强型巴科斯范式 ) 编码方式、 XML ( Extensible Markup Language , 可扩展标记语言)编 码方式或者其他编码方式。 The second mobile switching center server receives the SDP or SIP message sent by the first mobile switching center server and carries the gateway identifier of the first gateway occupied by the first mobile switching center server; the second mobile switching center server returns to the first mobile switching center server The SDP or SIP message identified by the gateway of the second gateway. The user name or unicast address parameter of the SDP may be used to carry the gateway identifier, i=row, s=row or carry the gateway identifier through the SDP attribute parameter &= line; or use the SIP header field to carry the gateway identifier; or The SIP message body carries the gateway identifier. The SIP message body can adopt the ABNF (Augmented Backus - Naur Form) encoding method, the XML (Extensible Markup Language) encoding method, or other encoding methods.
SIP协议使用 SDP进行会话的媒体协商, 基于 SIP-I的 3GPP CS网 络使用 SDP进行会话的媒体协商以及承载的建立。 SDP协议具有筒单 的特点并在通信领域内得到了广泛的应用。 同时 SDP具有容易扩展等 特点, 不支持 SDP扩展的实体可以忽略不能识别的扩展而不影响基本 会话的建立功能。 因此对 SDP协议进行恰当的扩展和定义可以实现网 关标识传递与协商。  The SIP protocol uses SDP for media negotiation of sessions, and the SIP-I based 3GPP CS network uses SDP for media negotiation of sessions and establishment of bearers. The SDP protocol has the characteristics of a single ticket and has been widely used in the field of communication. At the same time, SDP has the characteristics of easy expansion, and entities that do not support SDP extension can ignore unrecognized extensions without affecting the establishment of basic sessions. Therefore, proper extension and definition of the SDP protocol can implement gateway identity delivery and negotiation.
基于 SDP传递网关标识 BCU-ID以及协商呼叫所使用的网关, 在 基于网关协商以及基于协商结果进行承载建立的方法中的步骤 101、 步骤 102、 进行网关协商和^载建立的方法中的步骤 202、 步骤 204和 本发明的实现方案中的步骤 302、 步骤 304、 步骤 306、 步骤 308可以采 用如下实现方式 1~8中的任何一种传递方法:  Based on the SDP delivery gateway identifier BCU-ID and the gateway used for negotiating the call, step 202 in the method based on the gateway negotiation and the bearer establishment based on the negotiation result, step 202 in the method of performing gateway negotiation and loading establishment Step 302, step 304, step 306, and step 308 in the implementation of step 204 and the implementation of the present invention may adopt any one of the following implementation methods 1-8:
1、 SDP的 o=行的 username (用户名)参数用于传递 SDP发送者的 用户名信息, 在基于多播的多媒体会话中可以帮助 SDP接受者决定是 否加入多媒体会话。 在非多播多媒体会话业务或系统 (特别是基于 SIP-I的 3GPP CS网络)中暂未使用该参数。 采用这种方式, 无需新增 参数, 对协议的改动少, 实现更方便, 同时因为不占用对业务处理有 影响的参数, 不会对不使用 MGW-ID的 SIP应用产生任何影响。 通过 SDP的 o=行的 username (用户名)参数携带 BCU-ID。 如:  1. The username (username) parameter of the S= o= line is used to pass the SDP sender's username information. In the multicast-based multimedia session, the SDP receiver can help the SDP receiver to decide whether to join the multimedia session. This parameter is not used in non-multicast multimedia session services or systems (especially SIP-I based 3GPP CS networks). In this way, there is no need to add new parameters, fewer changes to the protocol, and more convenient implementation. At the same time, because it does not occupy parameters that affect the service processing, it will not have any impact on SIP applications that do not use MGW-ID. The BCU-ID is carried by the username (username) parameter of the o= line of the SDP. Such as:
v=0  V=0
o=BCU-ID:mgwl .orig-cs.net;mgw2. orig-cs.net 98789736 90842807 IN IP4 mscl .orig-cs.net  o=BCU-ID:mgwl .orig-cs.net;mgw2. orig-cs.net 98789736 90842807 IN IP4 mscl .orig-cs.net
s=- c=IN IP4 192.168.1.2 t=0 0 s=- c=IN IP4 192.168.1.2 t=0 0
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
其中 0=行的 username以 "BCU-ID:" 开始表示该参数其余部分内 容为 BCU-ID , 或者也可以采用 MSC-S之间约定的方式表示此参数所 有内容为 BCU-ID而无需 "BCU-ID:" 开始标记。 如 o=行为: Where 0 ) the username of the line starts with "BCU-ID:" to indicate that the rest of the parameter is BCU-ID, or the content of this parameter can be expressed as BCU-ID in the manner agreed by MSC-S without "BCU" -ID: "Start tag. Such as o = behavior:
o=mgwl.orig-cs.net;mgw2. orig-cs.net 98789736 90842807 IN IP4 mscl.orig-cs.net  o=mgwl.orig-cs.net;mgw2. orig-cs.net 98789736 90842807 IN IP4 mscl.orig-cs.net
当携带多个 BCU-ID时 BCU-ID之间以 ";" 或其他方式分隔。 2、 SDP的 o=行的 unicast-address (单播地址)参数用于传递 SDP 发送者的地址信息, 在基于多播的多媒体会话中可以帮助 SDP接受者 决定是否加入多媒体会话。 在非多播多媒体会话业务或系统(特别是 基于 SIP-I的 3GPP CS网络) 中暂未使用该参数。 采用这种方式, 无需 新增参数, 对协议的改动少, 实现更方便, 同时因为不占用对业务处 理有影响的参数, 不会对不使用 MGW-ID的 SIP应用产生任何影响。 通过 SDP的 o=行的 unicast-address (单播地址)参数携带 BCU-ID。 如: v=0  When carrying multiple BCU-IDs, the BCU-IDs are separated by ";" or other means. 2. The unicast-address parameter of the SDP o= line is used to pass the address information of the SDP sender. In the multicast-based multimedia session, the SDP receiver can help the SDP receiver decide whether to join the multimedia session. This parameter is not used in non-multicast multimedia session services or systems (especially SIP-I based 3GPP CS networks). In this way, there is no need to add new parameters, fewer changes to the protocol, and more convenient implementation. At the same time, because it does not occupy parameters that affect the service processing, it will not have any impact on the SIP application that does not use the MGW-ID. The BCU-ID is carried by the unicast-address (unicast address) parameter of the o= line of the SDP. Such as: v=0
o=- 3498789736 2890842807 IN IP4 mgwl.orig-cs.net s=- c=IN IP4 192.168.1.2  o=- 3498789736 2890842807 IN IP4 mgwl.orig-cs.net s=- c=IN IP4 192.168.1.2
t=0 0  t=0 0
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
3、 SDP的 8=行用于传递会话的主题信息, 在基于多播的多媒体 会话中可以帮助 SDP接受者决定是否加入多媒体会话。 在非多播多媒 体会话业务或系统(特别是基于 SIP-I的 3GPP CS网络)中暂未使用该 参数。采用这种方式, 无需新增参数,对协议的改动少, 实现更方便, 同时因为不占用对业务处理有影响的参数,不会对不使用 MGW-ID的 SIP应用产生任何影响。 通过 80?的8=行携带 BCU-ID。 如: v=0 3. The 8= line of the SDP is used to convey the topic information of the session, and the multicast-based multimedia session can help the SDP recipient decide whether to join the multimedia session. This parameter is not used in non-multicast multimedia session services or systems (especially SIP-I based 3GPP CS networks). In this way, there is no need to add new parameters, fewer changes to the protocol, and more convenient implementation. At the same time, because it does not occupy parameters that have an impact on service processing, it will not have any impact on SIP applications that do not use MGW-ID. Carry the BCU-ID through the 8= line of 80?. Such as: V=0
o=- 3498789736 2890842807 IN IP4 192.168.1.2 s=BCU-ID: mgwl.orig-cs.net; mgw2.orig-cs.net c=IN IP4 192.168.1.2  o=- 3498789736 2890842807 IN IP4 192.168.1.2 s=BCU-ID: mgwl.orig-cs.net; mgw2.orig-cs.net c=IN IP4 192.168.1.2
t=0 0  t=0 0
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
其中 s=行以 "BCU-ID:"开始表示该参数其余部分内容为 BCU-ID, 或者也可以采用 MSC-S之间约定的方式表示此参数所有内容为 BCU-ID而无需 "BCU-ID:" 开始标记。 如8=行为:  The s= line starts with "BCU-ID:" to indicate that the rest of the parameter is BCU-ID, or the content of this parameter can be expressed as BCU-ID in the manner agreed by MSC-S without "BCU-ID". :" Start tag. Such as 8 = behavior:
s=mgwl. orig-cs.net; mgw2.orig-cs.net  s=mgwl. orig-cs.net; mgw2.orig-cs.net
当携带多个 BCU-ID时 BCU-ID之间以 ";" 或其他方式分隔。  When carrying multiple BCU-IDs, the BCU-IDs are separated by ";" or other means.
4、 80?的1=行用于传递会话的附加文本信息,在基于多播的多媒 体会话中可以帮助 SDP接受者决定是否加入多媒体会话。 在非多播多 媒体会话业务或系统(特别是基于 SIP-I的 3GPP CS网络)中暂未使用 该参数。 采用这种方式, 无需新增参数, 对协议的改动少, 实现更方 便, 同时因为不占用对业务处理有影响的参数, 不会对不使用 MGW-ID的 SIP应用产生任何影响。 通过 80 的1=行携带 BCU-ID。 如: v=0 4, 80? The 1= line is used to deliver additional text information for the session, which can help the SDP recipient decide whether to join the multimedia session in a multicast-based multimedia session. This parameter is not used in non-multicast multimedia session services or systems (especially SIP-I based 3GPP CS networks). In this way, there is no need to add new parameters, fewer changes to the protocol, and more convenient implementation. At the same time, because it does not occupy parameters that affect the service processing, it will not have any impact on SIP applications that do not use MGW-ID. Carry the BCU-ID through the 1= line of 80. Such as: v=0
o=- 3498789736 2890842807 IN IP4 192.168.1.2 s=- i=BCU-ID: mgwl.orig-cs.net, mgw2.orig-cs.net c=IN IP4 192.168.1.2  o=- 3498789736 2890842807 IN IP4 192.168.1.2 s=- i=BCU-ID: mgwl.orig-cs.net, mgw2.orig-cs.net c=IN IP4 192.168.1.2
t=0 0  t=0 0
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
其中 i=行以 "BCU-ID:"开始表示该参数其余部分内容为 BCU-ID, 或者也可以采用 MSC-S之间约定的方式表示此参数所有内容为 BCU-ID而无需 "BCU-ID:" 开始标记。 如1=行为:  Where i=row starts with "BCU-ID:" to indicate that the rest of the parameter is BCU-ID, or you can use the way agreed by MSC-S to indicate that all the contents of this parameter are BCU-ID without "BCU-ID". :" Start tag. Such as 1 = behavior:
i=mgw Lorig-cs.net; mgw2.orig-cs.net 当携带多个 BCU-ID时 BCU-ID之间以 ";" 或其他方式分隔。 i=mgw Lorig-cs.net; mgw2.orig-cs.net BCU-IDs are separated by ";" or other means when carrying multiple BCU-IDs.
5、 80?的&=行用于会话或者媒体的各种属性信息, 每种属性信 息通过属性名称进行标识。采用这种方式因为不占用对业务处理有影 响的参数,不会对不使用 MGW-ID的 SIP应用产生任何影响。通过 SDP 的属性参数 a=行携带 BCU-ID属性传递 BCU-ID。 如: 5, 80? The &= line is used for various attribute information of the session or media, and each attribute information is identified by the attribute name. In this way, because it does not occupy parameters that affect business processing, it does not have any impact on SIP applications that do not use MGW-ID. The BCU-ID is passed through the SDP attribute parameter a= line carrying the BCU-ID attribute. Such as:
v=0  V=0
o=- 3498789736 2890842807 IN IP4 192.168.1.2 s=- a=BCU-ID: mgwl.orig-cs.net, mgw2.orig-cs.net c=IN IP4 192.168.1.2  o=- 3498789736 2890842807 IN IP4 192.168.1.2 s=- a=BCU-ID: mgwl.orig-cs.net, mgw2.orig-cs.net c=IN IP4 192.168.1.2
t=0 0  t=0 0
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
基于 SIP-I的 3GPP CS网络使用 SIP协议进行会话的建立、 修改和 终止等呼叫、 会话、 业务控制功能。 SIP协议具有容易扩展等特点, SIP实体忽略不支持的 SIP头域、 消息体不会影响基本 SIP呼叫和会话 控制功能。 因此对 SIP协议进行恰当的扩展和定义可以实现网关标识 传递与协商。 采用这种方式因为不占用对业务处理有影响的参数, 不 会对不使用 MGW-ID的 SIP应用产生任何影响。  The SIP-I-based 3GPP CS network uses the SIP protocol to perform call, session, and service control functions such as session establishment, modification, and termination. The SIP protocol has the characteristics of easy extension, and the SIP entity ignores the unsupported SIP header field and the message body does not affect the basic SIP call and session control functions. Therefore, proper extension and definition of the SIP protocol can implement gateway identification delivery and negotiation. In this way, because it does not occupy parameters that affect the processing of the service, it does not have any impact on the SIP application that does not use the MGW-ID.
6、 通过 SIP头域进行携带, 如在 SIP消息中包含如下头域: 6. Carrying through the SIP header field, for example, the following header field is included in the SIP message:
BCU-ID: mgwl.orig-cs.net, mgw2.orig-cs.net  BCU-ID: mgwl.orig-cs.net, mgw2.orig-cs.net
7、 通过 SIP消息体进行携带, 其中消息体使用 ABNF编码, 如在 SIP消息中包含如下表示消息体类型的头域: 7. Carrying by the SIP message body, wherein the message body uses ABNF coding, for example, the SIP message includes the following header field indicating the message body type:
Content-Type: application/available-BCU-ID  Content-Type: application/available-BCU-ID
以及相应的消息体如:  And the corresponding message body such as:
mgwl.orig-cs.net  Mgwl.orig-cs.net
mgw2.orig-cs.net 8、通过 SIP消息体进行携带, 其中消息体使用 XML编码方式, 如 在 SIP消息中包含如下表示消息体类型的头域: Mgw2.orig-cs.net 8. Carrying by the SIP message body, wherein the message body uses the XML encoding method, for example, the SIP message includes the following header field indicating the message body type:
Content-Type: application/available-BCU-ID+xml 以及相应的消息体如:  Content-Type: application/available-BCU-ID+xml and the corresponding message body such as:
<available-mgw>  <available-mgw>
<mgw name="mgwl.orig-cs.net"/>  <mgw name="mgwl.orig-cs.net"/>
<mgw name="mgw2.orig-cs.net"/>  <mgw name="mgw2.orig-cs.net"/>
</available-mgw>  </available-mgw>
其 中 假 设 第 一 MSC-S 可 以 使 用 mgwl.orig-cs.net 和 mgw2.orig-cs.net进行呼叫承载的建立,进一步在本发明实施例一以及 本发明实施例二中第一 MSC-S占用了标识为 mgwl.orig-cs.net的网关 进行呼叫 7 载的建立。  It is assumed that the first MSC-S can use the mgwl.orig-cs.net and the mgw2.orig-cs.net to establish the call bearer, and further occupies the first MSC-S in the first embodiment of the present invention and the second embodiment of the present invention. The gateway identified as mgwl.orig-cs.net is used to establish the call 7 load.
其中基于网关协商以及基于协商结果进行承载建立的方法的步 骤 101、 步骤 102如采用如上 1~5方法时则 SDP中不包含^载信息, 相 应的 SDP中的 m=行如为:  Step 101 and step 102 of the method for performing bearer establishment based on the gateway negotiation and the result of the negotiation based on the foregoing method, if the method of the above 1~5 is adopted, the SDP does not include the information, and the m= line in the corresponding SDP is:
m=audio 0 RTP/AVP 0  m=audio 0 RTP/AVP 0
表示承载信息暂不可用, 或者 0=行如为:  Indicates that the bearer information is temporarily unavailable, or 0= the line is:
c=IN IP4 0.0.0.0  c=IN IP4 0.0.0.0
表示承载信息暂不可用, 或其它方式表示承载信息暂不可用。 Indicates that bearer information is temporarily unavailable, or other means that bearer information is temporarily unavailable.
^口第二 MSC-S可以使用 mgwl.term-cs.net和 mgw2.term-cs.net进行 呼叫 7 载的建立 , 同时 mgwl.term-cs.net和 mgwl.orig-cs.net为同一网 关的不同标识,则当在基于网关协商以及基于协商结果进行承载建立 的方法中的步骤 101、本发明实施例一中的步骤 202和本发明的实现方 案中的步骤 302、 步骤 306中的网关信息传递方法为上述 1~8方式中的 任何一种, 则根据如上网关标识传递方法, 基于网关协商以及基于协 商结果进行承载建立的方法中的步骤 102、 本发明实施例一中的步骤 204和本发明实施例二中的步骤 304、 步骤 308中的网关信息可以分别 如 1,~8,中的对应的内容: 1,、通过 SDP的 o=行的 username (用户名)参数携带 BCU-ID。如: v=0 ^ The second MSC-S can use mgwl.term-cs.net and mgw2.term-cs.net to establish the call 7 load, while mgwl.term-cs.net and mgwl.orig-cs.net are the same gateway. The different identifiers, the gateway information in the step 101 in the method for performing bearer establishment based on the gateway negotiation and the negotiation result, the step 202 in the first embodiment of the present invention, and the gateway information in the step 302 and the step 306 in the implementation of the present invention The delivery method is any one of the foregoing 1 to 8 modes, and according to the foregoing gateway identifier transmission method, the step 102 in the method of performing bearer establishment based on the gateway negotiation and the negotiation result, the step 204 and the present in the first embodiment of the present invention The gateway information in step 304 and step 308 in the second embodiment of the present invention may be corresponding contents in the following: 1, 8 to 8, respectively: 1. Carry the BCU-ID through the username (username) parameter of the o= line of the SDP. Such as: v=0
o=BCU-ID:mgw 1.term-cs.net;mgw2. term-cs.net 98789736 90842807 IN IP4 mscl.term-cs.net  o=BCU-ID: mgw 1.term-cs.net;mgw2. term-cs.net 98789736 90842807 IN IP4 mscl.term-cs.net
s=- c=IN IP4 192.168.10.2  s=- c=IN IP4 192.168.10.2
t=0 0  t=0 0
m=audio 10000 RTP/AVP 0  m=audio 10000 RTP/AVP 0
2,、 通过 SDP的 o=行的 unicast-address (单播地址) 参数携带 BCU-ID。 如: 2. Carry the BCU-ID through the unicast-address (unicast address) parameter of the o= line of the SDP. Such as:
v=0  V=0
o=BCU-ID:mgwl.term-cs.net;mgw2.term-cs.net 98789736 90842807 IN IP4 mscl.term-cs.net  o=BCU-ID: mgwl.term-cs.net;mgw2.term-cs.net 98789736 90842807 IN IP4 mscl.term-cs.net
s=- c=IN IP4 192.168.10.2  s=- c=IN IP4 192.168.10.2
t=0 0  t=0 0
m=audio 10000 RTP/AVP 0  m=audio 10000 RTP/AVP 0
3,、 通过 SDP的 s=#携带 BCU-ID。 如: 3. Carry the BCU-ID through s=# of SDP. Such as:
v=0  V=0
o=- 98789736 90842807 IN IP4 192.168.1.2  o=- 98789736 90842807 IN IP4 192.168.1.2
s=BCU-ID: mgwl.term-cs.net; mgw2.term-cs.net c=IN IP4 192.168.10.2  s=BCU-ID: mgwl.term-cs.net; mgw2.term-cs.net c=IN IP4 192.168.10.2
t=0 0  t=0 0
m=audio 10000 RTP/AVP 0  m=audio 10000 RTP/AVP 0
4,、 通过 80 的1=行携带 BCU-ID。 如: 4, Carry the BCU-ID through the 1= line of 80. Such as:
v=0 o=- 98789736 90842807 IN IP4 192.168.1.2 s=- i=BCU-ID: mgwl.term-cs.net, mgw2.term-cs.net c=IN IP4 192.168.10.2 V=0 o=- 98789736 90842807 IN IP4 192.168.1.2 s=- i=BCU-ID: mgwl.term-cs.net, mgw2.term-cs.net c=IN IP4 192.168.10.2
t=0 0  t=0 0
m=audio 10000 RTP/AVP 0  m=audio 10000 RTP/AVP 0
5,、 通过 SDP的属性参数 a=行携带 BCU-ID。 如: 5, Carry the BCU-ID through the attribute parameter a= of the SDP. Such as:
v=0  V=0
o=- 98789736 90842807 IN IP4 192.168.1.2  o=- 98789736 90842807 IN IP4 192.168.1.2
s=- a=BCU-ID: mgwl.term-cs.net, mgw2.term-cs.net c=IN IP4 192.168.10.2  s=- a=BCU-ID: mgwl.term-cs.net, mgw2.term-cs.net c=IN IP4 192.168.10.2
t=0 0  t=0 0
m=audio 10000 RTP/AVP 0  m=audio 10000 RTP/AVP 0
6,、 通过 SIP头域进行携带, 如在 SIP消息中包含如下头域: 6. Carrying through the SIP header field, for example, the following header field is included in the SIP message:
BCU-ID: mgwl.term-cs.net, mgw2.term-cs.net  BCU-ID: mgwl.term-cs.net, mgw2.term-cs.net
7,、 通过 SIP消息体进行携带, 其中消息体使用 ABNF编码, 如在 SIP消息中包含如下表示消息体类型的头域: 7. The bearer is carried by the SIP message body, where the message body uses the ABNF code, for example, the SIP message includes a header field indicating the message body type as follows:
Content-Type: application/available-BCU-ID  Content-Type: application/available-BCU-ID
以及相应的消息体如:  And the corresponding message body such as:
mgwl.term-cs.net  Mgwl.term-cs.net
mgw2.term-cs.net  Mgw2.term-cs.net
8'、 通过 SIP消息体进行携带, 其中消息体使用 XML编码方式, 如在 SIP消息中包含如下表示消息体类型的头域: 8', carried by the SIP message body, wherein the message body uses XML coding mode, for example, the SIP message includes a header field indicating the message body type as follows:
Content-Type: application/available-BCU-ID+xml 以及相应的消息体如: Content-Type: application/available-BCU-ID+xml And the corresponding message body such as:
<available-mgw>  <available-mgw>
<mgw name="mgwl.term-cs.net"/>  <mgw name="mgwl.term-cs.net"/>
<mgw name="mgw2.term-cs.net"/>  <mgw name="mgw2.term-cs.net"/>
</available-mgw>  </available-mgw>
如第一 MSC-S和第二 MSC-S对同一 MGW使用同样的标识进行标 识 ( 如 对 于 1,~8, 中 所 示 的 mgwl.term-cs.net 同 样 采 用 mgwl.orig-cs.net ) , 则第一 MSC-S和第二 MSC-S无须根据对端传递过 来的 BCU-ID确定本地对应的网关标识。 上述实现方法也更加筒单。 对应的 1,~8,中所示的 mgwl.term-cs.net只需要替换为 mgwl.orig-cs.net 即可。  For example, the first MSC-S and the second MSC-S use the same identifier for the same MGW (for example, mgwl.term-cs.net shown in 1,8, also uses mgwl.orig-cs.net) The first MSC-S and the second MSC-S do not need to determine the local corresponding gateway identifier according to the BCU-ID transmitted from the peer end. The above implementation method is also more simple. The corresponding mgwl.term-cs.net shown in 1,~8, only needs to be replaced by mgwl.orig-cs.net.
本发明实施例提供了一种网关选择的系统, 如图 4所示, 包括: 第一移动交换中心服务器 MSC-S 100, 用于向第二 MSC-S 200发 送携带第一 MSC-S 100占用的第一网关的网关标识和网关媒体信息 的消息。  The embodiment of the present invention provides a gateway selection system, as shown in FIG. 4, including: a first mobile switching center server MSC-S 100, configured to send to the second MSC-S 200 to carry the first MSC-S 100 occupation The gateway of the first gateway and the message of the gateway media information.
第二 MSC-S 200, 用于接收第一 MSC-S 100发送的携带第一网关 的网关标识和网关媒体信息的消息; 当能够使用第一网关提供业务 时, 则根据网关媒体信息使用第一网关建立承载, 并且返回第二网关 标识, 其中第二网关标识与第一网关标识为同一网关的标识。  The second MSC-S 200 is configured to receive, by the first MSC-S 100, a message that carries the gateway identifier of the first gateway and the gateway media information; when the service can be provided by using the first gateway, the first information is used according to the gateway media information. The gateway establishes a bearer and returns a second gateway identifier, where the second gateway identifier is an identifier of the same gateway as the first gateway identifier.
第二 MSC-S 200, 还用于接收第一 MSC-S 100发送的携带第一网 关之外的其他第一 MSC-S 100能够用于本呼叫的网关的网关标识, 当 第二 MSC-S 200不能使用第一 MSC-S 100占用的第一网关时, 使用其 他第一 MSC-S 100能够用于本呼叫的网关标识对应的网关。  The second MSC-S 200 is further configured to receive, by the first MSC-S 100, a gateway identifier of a gateway that is used by the first MSC-S 100 other than the first gateway to be used for the call, when the second MSC-S When the first gateway occupied by the first MSC-S 100 cannot be used, the gateway corresponding to the gateway identifier that the other first MSC-S 100 can use for the call is used.
当第二 MSC-S 200不可以使用第一网关提供业务时, 选择其他网 关作为第二网关, 第二 MSC-S 200还用于向第一 MSC-S 100返回第二 网关的网关标识和网关媒体信息的消息。  When the second MSC-S 200 cannot use the first gateway to provide services, the other gateway is selected as the second gateway, and the second MSC-S 200 is further configured to return the gateway identifier and the gateway of the second gateway to the first MSC-S 100. Media information message.
第二 MSC-S 200还用于向第一 MSC-S 100返回其他第二 MSC-S 200能够用于本呼叫的网关的网关标识。  The second MSC-S 200 is also used to return to the first MSC-S 100 the gateway identity of the gateway that the other second MSC-S 200 can use for the call.
第一 MSC-S 100还用于收到第二网关的标识后确定是否可以使 用第二网关提供业务, 如果可以则释放第一网关的占用, 并根据网关 媒体信息重新使用第二网关建立承载; 当第一 MSC-S 100不能使用第 二网关, 并且第二 MSC-S 200向第一 MSC-S 100除了返回第二网关的 标识之外还返回其他第二 MSC-S 200能够用于本呼叫的网关的网关 标识时, 如果第一 MSC-S 100能够使用第二 MSC-S 200提供的第二网 关之外的其他网关, 则重新选择该网关为第一网关。 The first MSC-S 100 is further configured to: after receiving the identifier of the second gateway, determine whether the Providing a service by using the second gateway, releasing the occupation of the first gateway if possible, and re-using the second gateway to establish a bearer according to the gateway media information; when the first MSC-S 100 cannot use the second gateway, and the second MSC-S 200 When the first MSC-S 100 returns to the gateway identifier of the gateway of the other MSC-S 200 in addition to the identity of the second gateway, if the first MSC-S 100 can use the second MSC- The gateway other than the second gateway provided by the S200 reselects the gateway as the first gateway.
第二移动交换中心服务器 MSC-S 200, 具体包括:  The second mobile switching center server MSC-S 200 specifically includes:
第二接收单元 210, 用于接收其他 MSC-S发送的携带第一网关的 网关标识和网关媒体信息的消息。  The second receiving unit 210 is configured to receive a message that is sent by another MSC-S and carries the gateway identifier of the first gateway and the gateway media information.
第二处理单元 220, 用于当能够使用第一网关提供业务时, 则根 据网关媒体信息使用第一网关建立承载。  The second processing unit 220 is configured to: when the service is provided by using the first gateway, establish a bearer by using the first gateway according to the gateway media information.
第二接收单元 210, 还用于接收第一 MSC-S 100发送的消息中, 携带第一网关之外的其他第一 MSC-S 100能够用于本呼叫的网关的 网关标识。  The second receiving unit 210 is further configured to receive, by using the message sent by the first MSC-S 100, the gateway identifier of the gateway that the first MSC-S 100 other than the first gateway can use for the call.
第二 MSC-S 200, 还包括:  The second MSC-S 200 also includes:
第二发送单元 230, 用于将第二网关标识返回给第一 MSC-S 100, 第二网关标识与第一网关标识为同一网关的标识。  The second sending unit 230 is configured to return the second gateway identifier to the first MSC-S 100, where the second gateway identifies the identifier that is the same gateway as the first gateway identifier.
优选地, 第二处理单元 220, 还用于当第二 MSC-S 200不可以使 用第一网关提供业务时, 选择其他网关作为第二网关。  Preferably, the second processing unit 220 is further configured to select another gateway as the second gateway when the second MSC-S 200 cannot use the first gateway to provide services.
第二发送单元 230 ,还用于当第二处理单元 220选择其他网关作为 第二网关时, 向第一 MSC-S 100返回第二网关的网关标识和网关媒体 信息的消息。  The second sending unit 230 is further configured to: when the second processing unit 220 selects another gateway as the second gateway, return a message of the gateway identifier of the second gateway and the gateway media information to the first MSC-S 100.
当第二 MSC-S 200不可以使用第一网关提供业务时, 选择其他网 关作为第二网关时, 第二处理单元 220还用于优先选择第一 MSC-S 100发送的第一网关之外的其他第一 MSC-S 100能够用于本次呼叫的 网关标识对应的网关。  When the second MSC-S 200 can not use the first gateway to provide services, when the other gateway is selected as the second gateway, the second processing unit 220 is further configured to preferentially select the first gateway sent by the first MSC-S 100. The other first MSC-S 100 can be used for the gateway corresponding to the gateway identity of the current call.
第二发送单元 230, 还用于向第一 MSC-S 100除了返回第二网关 的标识之外还返回其他第二 MSC-S 200能够用于本呼叫的网关的标 识。 第一 MSC-S 100, 具体包括: The second sending unit 230 is further configured to return, to the first MSC-S 100, an identifier of the gateway that the other second MSC-S 200 can use for the call, in addition to the identifier of the second gateway. The first MSC-S 100 specifically includes:
第一发送单元 110, 用于向第二 MSC-S 200发送携带第一 MSC-S 100占用的第一网关的网关标识和网关媒体信息的消息。  The first sending unit 110 is configured to send, to the second MSC-S 200, a message that carries the gateway identifier and gateway media information of the first gateway occupied by the first MSC-S 100.
第一接收单元 120, 用于接收第二 MSC-S 200返回给第一 MSC-S 100的第二网关标识, 第二网关标识与第一网关标识为同一网关的标 识。  The first receiving unit 120 is configured to receive a second gateway identifier that is returned by the second MSC-S 200 to the first MSC-S 100, where the second gateway identifier is the same gateway identifier as the first gateway identifier.
第一接收单元 120接收第二 MSC-S 200返回的其他第二 MSC-S 200能够用于本呼叫的网关的网关标识,  The first receiving unit 120 receives the gateway identifier of the gateway that the other second MSC-S 200 returned by the second MSC-S 200 can use for the call.
第一 MSC-S 100, 还包括:  The first MSC-S 100 also includes:
第一处理单元 130, 用于当第一 MSC-S 100不能使用第二网关, 并且第一接收单元 120接收第二 MSC-S 200返回的其他第二 MSC-S 200能够用于本呼叫的网关的网关标识时, 如果第一 MSC-S 100能够 使用第二 MSC-S 200提供的第二网关之外的其他网关, 则选择该网关 为第一网关。  The first processing unit 130 is configured to: when the first MSC-S 100 cannot use the second gateway, and the first receiving unit 120 receives the gateway that the other second MSC-S 200 returned by the second MSC-S 200 can use for the call. When the gateway is identified, if the first MSC-S 100 can use other gateways than the second gateway provided by the second MSC-S 200, the gateway is selected as the first gateway.
第一处理单元 130, 还用于当第二 MSC-S 200不可以使用第一网 关提供业务时, 选择其他网关作为第二网关时, 第一 MSC-S 100收到 第二网关的标识后确定是否可以使用第二网关提供业务,如果可以使 用第二网关提供业务, 则释放第一网关的占用, 并根据网关媒体信息 重新使用第二网关建立承载。  The first processing unit 130 is further configured to: when the second MSC-S 200 can not use the first gateway to provide services, when the other gateway is selected as the second gateway, the first MSC-S 100 determines the identifier of the second gateway, and then determines Whether the second gateway can be used to provide the service, if the second gateway can be used to provide the service, the occupation of the first gateway is released, and the second gateway is used to establish the bearer according to the gateway media information.
其中系统和装置携带网关标识的消息方式包括以下方式的一种 或者组合:  The message mode in which the system and the device carry the gateway identifier includes one or a combination of the following modes:
使用 SDP的 o=行的用户名或单播地址参数、 i=行、 s=行、通过 SDP 属性参数3=行;  Use SDP's o= line username or unicast address parameter, i=row, s=row, pass SDP attribute parameter 3=row;
使用 SIP头域;  Use the SIP header field;
使用 SIP消息体;  Use SIP message body;
采用 ABNF编码方式。  Adopt ABNF coding method.
本发明的实施例中,可以实现多个 MSC-S占用同一媒体网关实现 7 载路径的优化, 避免多次 SDP交互, 降低 MSC-S处理 SDP的次数、 实现复杂度以及加快呼叫建立过程。 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以借助软件加必要的通用硬件平台 的方式来实现。基于这样的理解, 本发明的技术方案可以以软件产品 的形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可 以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例所述的方法。 In the embodiment of the present invention, multiple MSC-Ss can occupy the same media gateway to optimize the 7-carrier path, avoid multiple SDP interactions, reduce the number of times the MSC-S processes the SDP, implement complexity, and speed up the call setup process. Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware or by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1、 一种网关选择的方法, 其特征在于, 包括: A method for gateway selection, characterized in that it comprises:
第二移动交换中心服务器 MSC-S接收第一 MSC-S发送的携带所 述第一 MSC-S占用的第一网关的网关标识和网关媒体信息的消息; 当所述第二 MSC-S能够使用所述第一网关提供业务时,则根据所 述网关媒体信息使用所述第一网关建立承载。  The second mobile switching center server MSC-S receives the message that the first MSC-S sends the gateway identifier and the gateway media information of the first gateway occupied by the first MSC-S; when the second MSC-S can use When the first gateway provides a service, the first gateway is used to establish a bearer according to the gateway media information.
2、 如权利要求 1所述网关选择的方法, 其特征在于, 还包括: 所 述第二 MSC-S将第二网关标识返回给所述第一 MSC-S,所述第二网关 标识与所述第一网关标识为同一网关的标识。  2. The method of gateway selection according to claim 1, further comprising: said second MSC-S returning a second gateway identifier to said first MSC-S, said second gateway identifier and The first gateway identifier is an identifier of the same gateway.
3、 如权利要求 1所述网关选择的方法, 其特征在于, 还包括: 当第二 MSC-S不可以使用所述第一网关提供业务时,选择其他网 关作为第二网关,并向所述第一 MSC-S返回所述第二网关的网关标识 和网关媒体信息的消息。  The method of gateway selection according to claim 1, further comprising: when the second MSC-S is not available to provide services by using the first gateway, selecting another gateway as the second gateway, and The first MSC-S returns a message of the gateway identifier and gateway media information of the second gateway.
4、 如权利要求 1或 3所述网关选择的方法, 其特征在于, 还包括: 所述第二 MSC-S接收所述第一 MSC-S发送的消息中,携带所述第一网 关之外的其他第一 MSC-S能够用于本呼叫的网关的网关标识,当所述 第二 MSC-S不能使用所述第一 MSC-S占用的所述第一网关时,使用其 他第一 MSC-S能够用于本呼叫的网关标识对应的网关。  The method for gateway selection according to claim 1 or 3, further comprising: the second MSC-S receiving the message sent by the first MSC-S, carrying the message outside the first gateway The other first MSC-S can be used for the gateway identifier of the gateway of the call, and when the second MSC-S cannot use the first gateway occupied by the first MSC-S, the other first MSC is used. S can be used for the gateway corresponding to the gateway ID of the call.
5、 如权利要求 1或 3所述网关选择的方法, 其特征在于, 还包括: 所述第二 MSC-S向所述第一 MSC-S除了返回第二网关的标识之 外, 还返回其他第二 MSC-S能够用于本呼叫的网关的标识。  The method for gateway selection according to claim 1 or 3, further comprising: the second MSC-S returning to the first MSC-S in addition to the identifier of the second gateway, and returning to the other The identity of the gateway that the second MSC-S can use for the call.
6、 如权利要求 1或 3所述网关选择的方法, 其特征在于, 当所述 第二 MSC-S不可以使用所述第一网关提供业务时,选择其他网关作为 第二网关时,  The method for gateway selection according to claim 1 or 3, wherein when the second MSC-S is not available to use the first gateway to provide services, when another gateway is selected as the second gateway,
所述第一 MSC-S收到所述第二网关的标识后,确定是否可以使用 所述第二网关提供业务, 如果可以使用所述第二网关提供业务, 则释 放所述第一网关的占用,并根据所述网关媒体信息重新使用所述第二 网关建立 7 载。 After receiving the identifier of the second gateway, the first MSC-S determines whether the second gateway can be used to provide services, and if the second gateway is used to provide services, releasing the occupation of the first gateway. And re-using the second gateway to establish a load according to the gateway media information.
7、 如权利要求 5所述网关选择的方法, 其特征在于, 还包括: 当 所述第一 MSC-S不能使用所述第二网关,并且所述第二 MSC-S向所述 第一 MSC-S除了返回所述第二网关的标识之外还返回其他第二 MSC-S能够用于本呼叫的网关的标识时, 7. The method of gateway selection according to claim 5, further comprising: when said first MSC-S is incapable of using said second gateway, and said second MSC-S is directed to said first MSC -S returning the identity of the gateway of the other second MSC-S that can be used for the call, in addition to returning the identity of the second gateway,
如果所述第一 MSC-S能够使用所述第二 MSC-S提供的所述第二 网关之外的其他网关, 则重新选择该网关为第一网关。  If the first MSC-S is able to use other gateways than the second gateway provided by the second MSC-S, the gateway is reselected as the first gateway.
8、如权利要求 1至 3中任一项所述网关选择的方法, 其特征在于, 所述携带网关标识的消息方式包括以下方式的至少一种:  The method for selecting a gateway according to any one of claims 1 to 3, wherein the manner of carrying the message of the gateway identifier comprises at least one of the following manners:
使用会话描述协议 SDP的 o=行的用户名或单播地址参数、 i=行、 s=行、 通过 SDP属性参数&=行;  Use the session description protocol SDP o= line username or unicast address parameter, i=row, s=row, pass SDP attribute parameter &= line;
使用会话启动协议 SIP头域;  Use the Session Initiation Protocol SIP header field;
使用 SIP消息体;  Use SIP message body;
采用增强型巴科斯范式 ABNF编码方式。  The enhanced Bacchus paradigm ABNF coding method is adopted.
9、 一种网关选择的系统, 其特征在于, 包括:  9. A gateway selection system, comprising:
第一移动交换中心服务器 MSC-S,用于向第二 MSC-S发送携带所 述第一 MSC-S占用的第一网关的网关标识和网关媒体信息的消息; 第二 MSC-S , 用于接收所述第一 MSC-S发送的携带所述第一 MSC-S占用的第一网关的网关标识和网关媒体信息的消息,当所述第 二 MSC-S能够使用所述第一网关提供业务时,则根据网关媒体信息使 用所述第一网关建立承载。  a first mobile switching center server MSC-S, configured to send, to the second MSC-S, a message carrying the gateway identifier and gateway media information of the first gateway occupied by the first MSC-S; Receiving, by the first MSC-S, a message carrying the gateway identifier and the gateway media information of the first gateway occupied by the first MSC-S, when the second MSC-S can provide the service by using the first gateway The bearer is established by using the first gateway according to the gateway media information.
10、 如权利要求 9所述网关选择的系统, 其特征在于,  10. The gateway selection system of claim 9 wherein:
所述第二 MSC-S, 还用于将第二网关标识返回给第一 MSC-S, 所 述第二网关标识与所述第一网关标识为同一网关的标识。  The second MSC-S is further configured to return the second gateway identifier to the first MSC-S, where the second gateway identifier is an identifier of the same gateway as the first gateway identifier.
11、 如权利要求 9所述网关选择的系统, 其特征在于,  11. The gateway selection system of claim 9 wherein:
所述第二 MSC-S,还用于接收所述第一 MSC-S发送的携带所述第 一网关之外的其他第一 MSC-S能够用于本呼叫的网关的网关标识,当 所述第二 MSC-S不能使用所述第一 MSC-S占用的第一网关时,使用其 他第一 MSC-S能够用于本呼叫的网关标识对应的网关。  The second MSC-S is further configured to receive, by the first MSC-S, a gateway identifier of a gateway that is used by the first MSC-S other than the first gateway to be used for the call, when When the second MSC-S cannot use the first gateway occupied by the first MSC-S, the gateway corresponding to the gateway identifier that the other first MSC-S can use for the call is used.
12、 如权利要求 9所述网关选择的系统, 其特征在于, 所述第二 MSC-S ,还用于当所述第二 MSC-S不可以使用第一网关 提供业务时, 选择其他网关作为第二网关, 向所述第一 MSC-S返回所 述第二网关的网关标识和网关媒体信息的消息。 12. The gateway selection system of claim 9 wherein: The second MSC-S is further configured to: when the second MSC-S is not available to provide services by using the first gateway, select another gateway as the second gateway, and return the second to the first MSC-S. The gateway's gateway ID and gateway media information.
13、 如权利要求 9、 11或 12所述网关选择的系统, 其特征在于, 所述第二 MSC-S ,还用于向所述第一 MSC-S返回其他第二 MSC-S 能够用于本呼叫的网关的标识。  The gateway selection system according to claim 9, 11 or 12, wherein the second MSC-S is further configured to return to the first MSC-S that another second MSC-S can be used for The identity of the gateway for this call.
14、 如权利要求 9、 11或 12所述网关选择的系统, 其特征在于, 所述第一 MSC-S ,还用于收到第二网关的标识后确定是否可以使 用所述第二网关提供业务, 如果可以使用所述第二网关提供业务, 则 释放所述第一网关的占用,并根据所述网关媒体信息重新使用第二网 关建立承载; 当所述第一 MSC-S不能使用所述第二网关, 并且所述第 二 MSC-S向第一 MSC-S除了返回第二网关的标识之外还返回其他第 二 MSC-S能够用于本呼叫的网关的网关标识时,如果所述第一 MSC-S 能够使用第二 MSC-S提供的第二网关之外的其他网关,则重新选择该 网关为第一网关。  The gateway selection system according to claim 9, 11 or 12, wherein the first MSC-S is further configured to: after receiving the identifier of the second gateway, determine whether the second gateway can be used by the second gateway. The service, if the second gateway is used to provide services, releasing the occupation of the first gateway, and re-using the second gateway to establish a bearer according to the gateway media information; when the first MSC-S cannot use the a second gateway, and if the second MSC-S returns to the first MSC-S, in addition to returning the identity of the second gateway, the gateway identifier of the gateway that the other second MSC-S can use for the call, if The first MSC-S can use the other gateways other than the second gateway provided by the second MSC-S, and then reselect the gateway as the first gateway.
15、 一种第二移动交换中心服务器 MSC-S, 其特征在于, 包括: 第二接收单元,用于接收第一 MSC-S发送的携带第一网关的网关 标识和网关媒体信息的消息;  A second mobile switching center server MSC-S, comprising: a second receiving unit, configured to receive a message that is sent by the first MSC-S and carries the gateway identifier of the first gateway and the gateway media information;
第二处理单元, 用于当能够使用所述第一网关提供业务时, 则根 据网关媒体信息使用所述第一网关建立承载。  And a second processing unit, configured to: when the first gateway is used to provide services, use the first gateway to establish a bearer according to the gateway media information.
16、 如权利要求 15所述第二 MSC-S, 其特征在于,  16. The second MSC-S of claim 15 wherein:
所述第二接收单元, 还用于接收所述第一 MSC-S发送的消息中, 携带所述第一网关之外的其他第一 MSC-S能够用于本呼叫的网关的 网关标识。  The second receiving unit is further configured to receive, by using the message sent by the first MSC-S, a gateway identifier of a gateway that the first MSC-S other than the first gateway can use for the call.
17、 如权利要求 15所述第二 MSC-S, 其特征在于, 还包括: 第二发送单元, 用于将第二网关标识返回给所述第一 MSC-S, 所 述第二网关标识与所述第一网关标识为同一网关的标识。  The second MSC-S as claimed in claim 15, further comprising: a second sending unit, configured to return the second gateway identifier to the first MSC-S, where the second gateway identifier is The first gateway identifier is an identifier of the same gateway.
18、 如权利要求 17所述第二 MSC-S, 其特征在于,  18. The second MSC-S of claim 17 wherein:
所述第二处理单元,还用于当不可以使用所述第一网关提供业务 时, 选择其他网关作为第二网关; The second processing unit is further configured to: when the first gateway is not available to provide services When other gateways are selected as the second gateway;
所述第二发送单元,还用于当所述第二处理单元选择其他网关作 为所述第二网关时,向所述第一 MSC-S返回所述第二网关的网关标识 和网关媒体信息的消息。  The second sending unit is further configured to: when the second processing unit selects another gateway as the second gateway, returning, to the first MSC-S, the gateway identifier of the second gateway and the gateway media information. Message.
19、 如权利要求 16所述第二 MSC-S, 其特征在于,  19. The second MSC-S of claim 16 wherein:
所述第二处理单元, 还用于当选择其他网关作为第二网关时, 优 先选择所述第一 MSC-S发送的第一网关之外的其他第一 MSC-S能够 用于本次呼叫的网关标识对应的网关。  The second processing unit is further configured to: when selecting another gateway as the second gateway, preferentially selecting another first MSC-S other than the first gateway sent by the first MSC-S to be used for the current call. The gateway corresponding to the gateway ID.
20、 如权利要求 18或 19所述第二 MSC-S, 其特征在于, 所述第二发送单元,还用于向所述第一 MSC-S除了返回第二网关 的标识之外, 还返回其他第二 MSC-S能够用于本呼叫的网关的标识。  The second MSC-S according to claim 18 or 19, wherein the second sending unit is further configured to return to the first MSC-S in addition to the identifier of the second gateway. The identity of the gateway that the other second MSC-S can use for the call.
21、 一种第一移动交换中心服务器 MSC-S, 其特征在于, 包括: 第一发送单元,用于向第二 MSC-S发送携带所述第一 MSC-S占用 的第一网关的网关标识和网关媒体信息的消息。  A first mobile switching center server MSC-S, comprising: a first sending unit, configured to send, to a second MSC-S, a gateway identifier that carries the first gateway occupied by the first MSC-S And gateway media information messages.
22、 如权利要求 21所述第一 MSC-S, 其特征在于, 还包括: 第一接收单元,用于接收所述第二 MSC-S返回给所述第一 MSC-S 的第二网关标识,所述第二网关标识与所述第一网关标识为同一网关 的标识。  The first MSC-S according to claim 21, further comprising: a first receiving unit, configured to receive a second gateway identifier returned by the second MSC-S to the first MSC-S The second gateway identifier is an identifier of the same gateway as the first gateway identifier.
23、 如权利要求 21所述第一 MSC-S, 其特征在于,  23. The first MSC-S of claim 21, wherein:
所述第一接收单元,还用于接收所述第二 MSC-S返回的其他第二 MSC-S能够用于本呼叫的网关的网关标识;  The first receiving unit is further configured to receive a gateway identifier of a gateway that the second MSC-S returned by the second MSC-S can use for the call;
所述第一 MSC-S, 还包括:  The first MSC-S further includes:
第一处理单元, 用于当所述第一 MSC-S不能使用第二网关, 并且 第一接收单元接收所述第二 MSC-S返回的其他第二 MSC-S能够用于 本呼叫的网关的网关标识时,如果所述第一 MSC-S能够使用所述第二 MSC-S提供的第二网关之外的其他网关, 则选择该网关为第一网关。  a first processing unit, configured to: when the first MSC-S cannot use the second gateway, and the first receiving unit receives the other second MSC-S returned by the second MSC-S to be used by the gateway of the call When the gateway is identified, if the first MSC-S can use other gateways than the second gateway provided by the second MSC-S, the gateway is selected as the first gateway.
24、 如权利要求 23所述第一 MSC-S, 其特征在于,  24. The first MSC-S of claim 23, wherein:
所述第一处理单元,还用于当所述第二 MSC-S不可以使用第一网 关提供业务, 选择其他网关作为第二网关时, 确定是否可以使用所述 第二网关提供业务, 如果可以用所述第二网关提供业务, 则释放所述 第一网关的占用,并根据网关媒体信息重新使用所述第二网关建立承 载。 The first processing unit is further configured to: when the second MSC-S cannot use the first gateway to provide a service, and select another gateway as the second gateway, determine whether the The second gateway provides a service. If the second gateway is used to provide services, the occupation of the first gateway is released, and the second gateway is used to establish a bearer according to the gateway media information.
PCT/CN2009/071160 2008-04-03 2009-04-03 Method, system and device for selecting a gateway WO2009121310A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810089724 CN101553042B (en) 2008-04-03 2008-04-03 Method, system and equipment for selecting gateway
CN200810089724.2 2008-04-03

Publications (1)

Publication Number Publication Date
WO2009121310A1 true WO2009121310A1 (en) 2009-10-08

Family

ID=41134857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071160 WO2009121310A1 (en) 2008-04-03 2009-04-03 Method, system and device for selecting a gateway

Country Status (2)

Country Link
CN (1) CN101553042B (en)
WO (1) WO2009121310A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065406B (en) * 2009-11-12 2014-04-09 中兴通讯股份有限公司 Implementation method for local switch of local call
CN102104979B (en) * 2009-12-22 2014-02-19 华为技术有限公司 Method, device and system for establishing local exchange
CN104320502B (en) * 2014-11-14 2017-11-24 大唐移动通信设备有限公司 Terminating gateway IP address distribution method, the method for data transfer, MME and system
CN109257323B (en) * 2017-07-14 2022-03-08 中兴通讯股份有限公司 Call method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882120A (en) * 2005-11-28 2006-12-20 华为技术有限公司 Wireless network end office and call switching method
CN101005633A (en) * 2006-07-21 2007-07-25 华为技术有限公司 Method and system for realizing mobile exchange central pool

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0314252D0 (en) * 2003-06-19 2003-07-23 Ericsson Telefon Ab L M Conversational bearer negotiation
CN100558088C (en) * 2006-12-14 2009-11-04 华为技术有限公司 Virtual media gateway to optimize connects the method and system of net

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882120A (en) * 2005-11-28 2006-12-20 华为技术有限公司 Wireless network end office and call switching method
CN101005633A (en) * 2006-07-21 2007-07-25 华为技术有限公司 Method and system for realizing mobile exchange central pool

Also Published As

Publication number Publication date
CN101553042B (en) 2012-05-23
CN101553042A (en) 2009-10-07

Similar Documents

Publication Publication Date Title
US10469545B2 (en) Multimedia session call control method and application server
US7965704B2 (en) Method and apparatus for handling IMS terminal&#39;s call request including request for real-time service received over IMS domain by CSI terminal
US20060256748A1 (en) System and method for interworking between IMS network and H.323 network
US8599821B2 (en) Method, terminal and network device for changing status of a packet switched domain
JP2010517411A (en) Handover apparatus and method in heterogeneous wireless communication network
WO2017147959A1 (en) Service carrying method, communication terminal, control element s-cscf and system
US10681100B2 (en) Method, user equipment and application server for adding media stream of multimedia session
JP2009519629A (en) Method and apparatus for establishing a multimedia communication session
WO2009015525A1 (en) A method for switching the session control path of ip multimedia core network subsystem centralized service
WO2008145051A1 (en) Method for converting conversation media, method and device for updating calling establishment
JP2010515354A (en) Dynamic service trigger in communication networks
WO2007090347A1 (en) A carrying method, system and device for ip multimedia system service
WO2009024081A1 (en) A method, device and system for processing the continuity of the media stream in a session
JP2011529653A (en) Method and system for selective call forwarding based on media attributes in a telecommunications network
WO2011026438A1 (en) Method, equipment and network system for voice handover of inter-radio access technology
WO2011018017A1 (en) Session processing method and device and communication system
AU2005263756A1 (en) Push to watch network element and software architecture
WO2009121310A1 (en) Method, system and device for selecting a gateway
WO2011054257A1 (en) Method of establishing optimized media path and signaling gateway for implementing this method
WO2009149635A1 (en) A method, device and mobile communication system for realizing explicit communication transfer
WO2011018008A1 (en) Method, device and system for service control of i1 interface
WO2008110110A1 (en) Ip multimedia subsystem service providing method and system
EP1998517B1 (en) METHOD AND aPPARATUS FOR CHANGING STATUS OF PACKET SWITCHED DOMAIN
CN105391876A (en) Method and device for providing media services for communication
WO2009129728A1 (en) Broadcast/multicast method, apparatus and 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: 09727482

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

Country of ref document: EP

Kind code of ref document: A1