[go: up one dir, main page]

CN101902824B - Local switch implementation method, mobile switch centre and communication system - Google Patents

Local switch implementation method, mobile switch centre and communication system Download PDF

Info

Publication number
CN101902824B
CN101902824B CN2009101457189A CN200910145718A CN101902824B CN 101902824 B CN101902824 B CN 101902824B CN 2009101457189 A CN2009101457189 A CN 2009101457189A CN 200910145718 A CN200910145718 A CN 200910145718A CN 101902824 B CN101902824 B CN 101902824B
Authority
CN
China
Prior art keywords
msc
local
mobile switching
switching centre
local exchange
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN2009101457189A
Other languages
Chinese (zh)
Other versions
CN101902824A (en
Inventor
王宝义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009101457189A priority Critical patent/CN101902824B/en
Priority to PCT/CN2010/072549 priority patent/WO2010139225A1/en
Priority to RU2011153729/08A priority patent/RU2487503C1/en
Publication of CN101902824A publication Critical patent/CN101902824A/en
Application granted granted Critical
Publication of CN101902824B publication Critical patent/CN101902824B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

本发明公开了一种本地交换的实现方法、移动交换中心和通信系统。本发明实施例采用当呼叫双方分别在第一移动交换中心与第二移动交换中心时,第一呼叫方所在的第一移动交换中心获取第二移动交换中心发送的第二呼叫方的本地交换信息,然后根据第一呼叫方的本地交换信息,以及第二呼叫方的本地交换信息进行本地交换的处理,其中,第一呼叫方的本地交换信息或第二呼叫方的本地交换信息分别包括相应呼叫方所在的基站控制器的信息,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主叫或被叫也可以得知对方呼叫所在的BSC,可以进行启动本地交换的判断以便进行本地交换的处理。

The invention discloses a method for realizing local switching, a mobile switching center and a communication system. In the embodiment of the present invention, when both calling parties are in the first mobile switching center and the second mobile switching center, the first mobile switching center where the first calling party is located obtains the local switching information of the second calling party sent by the second mobile switching center , and then perform local switching processing according to the local switching information of the first calling party and the local switching information of the second calling party, wherein the local switching information of the first calling party or the local switching information of the second calling party include corresponding call In the MSC POOL network, even if the calling party and the called party are located on different MSCs, the calling party or the called party can also know the BSC where the other party is calling, and can judge whether to start local switching for local exchange processing.

Description

一种本地交换的实现方法、移动交换中心和通信系统A method for implementing local switching, a mobile switching center and a communication system

技术领域 technical field

本发明涉及通信技术领域,具体涉及一种本地交换的实现方法、移动交换中心和通信系统。The invention relates to the technical field of communication, in particular to a method for realizing local switching, a mobile switching center and a communication system.

背景技术 Background technique

传输网络是无线通讯网络的重要组成部分,降低对传输网络资源(以下简称传输资源)的占用,有利于降低网络建设和运营的成本,本地交换就是一种有效的降低传输资源占用的方案。The transmission network is an important part of the wireless communication network. Reducing the occupation of transmission network resources (hereinafter referred to as transmission resources) is conducive to reducing the cost of network construction and operation. Local switching is an effective solution to reduce the occupation of transmission resources.

本地交换指的是对于主叫和被叫位于同一个基站子系统(BSS,BaseStation Subsystem)内的会话,在BSS内完成语音链路的环回,即用户面的语音数据不流出该BSS,从而实现特定接口传输资源的节省的一种技术方案。本地交换可以分为基站(BTS,Base Transceiver Station)内的本地交换和基站控制器(BSC,Base Station Controller)内的本地交换。其中,基站内的本地交换,指的是会话双方位于同一个基站内,或者是同一个基站簇内(对于基站级联的情况),语音链路的环回发生在相应的基站中。而基站控制器内的本地交换,则指的是会话双方位于同一基站控制器内,但在不同的基站(或基站簇)内,语音链路环回发生在相应的基站控制器中。通过建立基站内的本地交换,可以实现对Abis(基站和基站控制器间的接口)、Ater(基站和基站控制器间的接口)、以及A口(BSS与移动交换中心(MSC,Mobile Switch Center)间的接口)传输资源的节省,而通过建立基站控制器内的本地交换,则可以实现对A口传输资源的节省。Local switching refers to the conversation in which the calling party and the called party are located in the same Base Station Subsystem (BSS, BaseStation Subsystem), the loopback of the voice link is completed in the BSS, that is, the voice data of the user plane does not flow out of the BSS, thereby A technical solution for saving transmission resources of a specific interface. Local switching can be divided into local switching in a base station (BTS, Base Transceiver Station) and local switching in a base station controller (BSC, Base Station Controller). Wherein, the local switching in the base station refers to that the two conversation parties are located in the same base station, or in the same base station cluster (for the case of cascaded base stations), and the loopback of the voice link occurs in the corresponding base station. The local switching in the base station controller means that the two parties in the conversation are located in the same base station controller, but in different base stations (or base station clusters), and the voice link loopback occurs in the corresponding base station controller. By establishing local switching in the base station, it is possible to realize the connection between Abis (the interface between the base station and the base station controller), Ater (the interface between the base station and the base station controller), and the A port (BSS and the mobile switching center (MSC, Mobile Switch Center) ) transmission resources of the interface between ) can be saved, and the transmission resources of the A interface can be saved by establishing a local switch in the base station controller.

现有技术定义了非MSC池(POOL)组网下本地交换的实现方法,主要是通过MSC判断位于同一个MSC内的主被叫所在的基站控制器是否属于同一个基站控制器,以及是否具备启动本地交换的条件来确定是否启动本地交换,若主被叫属于同一个基站控制器且具备启动本地交换的条件,则MSC向基站控制器下发启动本地交换的指示,基站控制器执行建立本地交换操作。MSC收到基站控制器的本地交换建立完成消息后,释放主被叫用户使用的A口电路资源。其中,具备启动本地交换的条件指的是没有发生补充业务、进行放音或合法监听等操作的情况下,若在启动了本地交换后,发生补充业务、进行放音或合法监听等操作,或者发生了切换使得主被叫的基站控制器不再属于同一个基站控制器的情况,则需要解除本地交换,此时MSC可以通过发送信令要求基站控制器解除本地交换。The prior art defines the implementation method of local switching in a non-MSC pool (POOL) network, mainly through the MSC to judge whether the base station controllers where the calling party and the called party are located in the same MSC belong to the same base station controller, and whether they have The conditions for starting local switching are used to determine whether to start local switching. If the calling party and the called party belong to the same base station controller and meet the conditions for starting local switching, the MSC sends an instruction to start local switching to the base station controller, and the base station controller executes the establishment of local switching. swap operation. After the MSC receives the local switching establishment completion message from the base station controller, it releases the A-port circuit resources used by the calling and called users. Among them, the conditions for initiating local switching refer to the fact that in the absence of supplementary services, announcements, or legal interception operations, if after local switching is activated, supplementary services, announcements, or legal interception operations occur, or In the event that the calling and called base station controllers no longer belong to the same base station controller due to handover, the local switching needs to be released. At this time, the MSC can request the base station controller to release the local switching by sending a signaling.

在对现有技术的研究和实践过程中,本发明的发明人发现,对于在MSCPOOL组网下实现本地交换,现有技术并不存在相关的方案。During the research and practice of the prior art, the inventors of the present invention found that there is no relevant solution in the prior art for realizing local switching under the MSCPOOL network.

发明内容 Contents of the invention

本发明实施例提供一种本地交换的实现方法、移动交换中心和通信系统,可以在MSC POOL组网下实现本地交换。Embodiments of the present invention provide a method for realizing local switching, a mobile switching center and a communication system, which can realize local switching under the MSC POOL network.

一种本地交换的实现方法,其特征在于,包括:A method for implementing local switching, characterized by comprising:

当呼叫双方分别在第一移动交换中心与第二移动交换中心时,第一呼叫方所在的第一移动交换中心获取第二移动交换中心发送的第二呼叫方的本地交换信息;When both calling parties are in the first mobile switching center and the second mobile switching center respectively, the first mobile switching center where the first calling party is located obtains the local switching information of the second calling party sent by the second mobile switching center;

第一移动交换中心根据第一呼叫方的本地交换信息,以及第二呼叫方的本地交换信息进行本地交换的处理,其中,第一呼叫方的本地交换信息或第二呼叫方的本地交换信息分别包括相应呼叫方所在的基站控制器的信息。The first mobile switching center performs local switching processing according to the local switching information of the first calling party and the local switching information of the second calling party, wherein the local switching information of the first calling party or the local switching information of the second calling party are respectively Contains information about the base station controller where the corresponding calling party is located.

一种移动交换中心,其特征在于,包括:A mobile switching center, characterized in that it comprises:

获取单元,用于当呼叫双方分别在第一移动交换中心与第二移动交换中心时,获取第二移动交换中心发送的第二呼叫方的本地交换信息;An acquisition unit, configured to acquire the local switching information of the second calling party sent by the second mobile switching center when both calling parties are in the first mobile switching center and the second mobile switching center respectively;

处理单元,用于根据第一呼叫方的本地交换信息,以及所述第二呼叫方的本地交换信息进行本地交换的处理,其中,所述第一呼叫方的本地交换信息或第二呼叫方的本地交换信息分别包括相应呼叫方所在的基站控制器的信息。A processing unit, configured to perform local switching processing according to the local switching information of the first calling party and the local switching information of the second calling party, wherein the local switching information of the first calling party or the local switching information of the second calling party The local switching information respectively includes the information of the base station controller where the corresponding calling party is located.

一种通信系统,其特征在于,包括第一移动交换中心和第二移动交换中心;A communication system, characterized by comprising a first mobile switching center and a second mobile switching center;

所述第一移动交换中心,用于当呼叫双方分别在第一移动交换中心与第二移动交换中心时,获取第二移动交换中心发送的第二呼叫方的本地交换信息,根据所述第一呼叫方的本地交换信息,以及所述第二呼叫方的本地交换信息进行本地交换的处理,其中,所述第一呼叫方的本地交换信息或第二呼叫方的本地交换信息分别包括相应呼叫方所在的基站控制器的信息;The first mobile switching center is configured to acquire the local switching information of the second calling party sent by the second mobile switching center when both calling parties are in the first mobile switching center and the second mobile switching center, according to the first The local switching information of the calling party and the local switching information of the second calling party are processed for local switching, wherein the local switching information of the first calling party or the local switching information of the second calling party respectively include corresponding calling party Information about the base station controller where it is located;

所述第二移动交换中心,用于发送本方的本地交换信息给第一移动交换中心。The second mobile switching center is configured to send local switching information of the local party to the first mobile switching center.

本发明实施例采用接收对方呼叫的MSC发送的对方的本地交换信息,然后根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主叫或被叫也可以得知对方呼叫所在的BSC,可以进行启动本地交换的判断以便进行本地交换的处理。The embodiment of the present invention adopts the local exchange information of the other party sent by the MSC that receives the call of the other party, and then performs local exchange processing according to the local exchange information of the party and the local exchange information of the other party, so that under the MSC POOL network, even if the calling party and the called party They are respectively located on different MSCs, and the calling party or the called party can also know the BSC where the other party is calling, and can make a judgment to start local switching so as to perform local switching processing.

附图说明 Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明实施例一所提供的方法的方法流程图;Fig. 1 is a method flowchart of the method provided by Embodiment 1 of the present invention;

图2是本发明实施例二所提供的方法的方法流程图;Fig. 2 is a method flowchart of the method provided by Embodiment 2 of the present invention;

图3是本发明实施例二所提供的方法的另一方法流程图;Fig. 3 is another method flowchart of the method provided by Embodiment 2 of the present invention;

图4是本发明实施例二所提供的方法的又一方法流程图;Fig. 4 is another method flowchart of the method provided by Embodiment 2 of the present invention;

图5是本发明实施例三所提供的方法的方法流程图;Fig. 5 is a method flow chart of the method provided by Embodiment 3 of the present invention;

图6是本发明实施例三所提供的方法的另一方法流程图;Fig. 6 is another method flowchart of the method provided by Embodiment 3 of the present invention;

图7是本发明实施例三所提供的方法的又一方法流程图;Fig. 7 is another method flowchart of the method provided by Embodiment 3 of the present invention;

图8是本发明实施例所提供的移动交换中心的结构示意图;FIG. 8 is a schematic structural diagram of a mobile switching center provided by an embodiment of the present invention;

图9是本发明实施例所提供的通信系统的结构示意图。Fig. 9 is a schematic structural diagram of a communication system provided by an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在MSC POOL组网下,由于主被叫可能位于同一基站控制器却分别位于不同的MSC上,主被叫所在的MSC都无法相互得知对方呼叫所在的基站控制器,因此无法进行启动本地交换的判断。而且,如果呼叫在其中一个MSC上被监听,或进行放音、补充业务等操作而不能启动本地交换时,另一个MSC也无法得知。为了使得在MSC POOL组网下可以实现本地交换,本发明实施例提供一种本地交换的实现方法,同时还提供相应的移动交换中心和通信系统。以下分别进行详细说明。In the MSC POOL network, since the calling party and the called party may be located in the same base station controller but located in different MSCs, the MSCs where the calling party and the called party are located cannot know the base station controller where the other party is calling, so it is impossible to start local switching. judgment. Moreover, if a call is monitored on one of the MSCs, or the local exchange cannot be started when performing operations such as announcement or supplementary services, the other MSC cannot know. In order to realize local switching under the MSC POOL network, the embodiment of the present invention provides a method for implementing local switching, and also provides a corresponding mobile switching center and communication system. Each will be described in detail below.

实施例一、Embodiment one,

本实施例将从移动交换中心,即MSC的角度进行描述。需说明的是,本发明实施例所说的“本方”和“对方”是针对于呼叫而言的,例如,从主叫的角度来说,主叫就是“本方”,被叫就是“对方”,从被叫的角度来说,被叫就是“本方”,主叫就是“对方”。本发明实施例中将本方的移动交换中心称为第一移动交换中心,对方的移动交换中心称为第二移动交换中心,因此,第一、二移动交换中心可以为主叫方的移动交换中心,也可以为被叫方的移动交换中心,当第一移动交换中心为主叫方移动交换中心时,第二移动交换中心为被叫方移动交换中心,当第一移动交换中心为被叫方移动交换中心时,第二移动交换中心为主叫方移动交换中心。方案如下:This embodiment will be described from the perspective of a mobile switching center, ie MSC. It should be noted that the "own party" and "other party" mentioned in the embodiment of the present invention are for calling. For example, from the calling point of view, the calling party is "the party" and the called party is " From the perspective of the called party, the called party is the "own party" and the calling party is the "other party". In the embodiment of the present invention, the mobile switching center of the party is called the first mobile switching center, and the mobile switching center of the other party is called the second mobile switching center. Therefore, the first and second mobile switching centers can be the calling party's mobile switching center. The center can also be the mobile switching center of the called party. When the first mobile switching center is the mobile switching center of the calling party, the second mobile switching center is the mobile switching center of the called party. When the first mobile switching center is the mobile switching center of the called party When the mobile switching center of the calling party is used, the second mobile switching center is the mobile switching center of the calling party. The scheme is as follows:

一种本地交换的实现方法,包括:当呼叫双方分别在第一移动交换中心与第二移动交换中心时,第一移动交换中心获取第二移动交换中心的本地交换信息,根据本方的本地交换信息和第二移动交换中心的本地交换信息进行本地交换的处理。由于主被叫双方的MSC之间可以进行本地交换信息的交互,可以让双方都可以充分了解对方的本地交换信息,所以可以根据完整的本地交换信息(包括主被叫双方的本地交换信息)进行本地交换的处理。如图1所示,具体流程可以如下:A method for realizing local switching, comprising: when both calling parties are in the first mobile switching center and the second mobile switching center, the first mobile switching center obtains the local switching information of the second mobile switching center, and according to the local switching The information and the local switching information of the second mobile switching center are processed by local switching. Since the MSCs of the calling party and the called party can exchange local exchange information, both parties can fully understand each other's local exchange information, so it can be performed according to the complete local exchange information (including the local exchange information of the calling party and the called party). Handling of local exchanges. As shown in Figure 1, the specific process can be as follows:

101、第一移动交换中心获取第二移动交换中心发送的对方的本地交换信息;101. The first mobile switching center acquires the local switching information of the other party sent by the second mobile switching center;

例如,可以通过移动应用部分(MAP,Mobile Application Part)信令或中继信令获取对方MSC发送的对方的本地交换信息,其中,本地交换信息可以包括基站控制器信令点信息,还可以包括对方的本地交换能力信息,当然,还包括建立或解除本地交换所需使用的其它信息,例如呼叫的Call-ID或A口承载信息等信息。其中,基站控制器信令点信息指的是一方呼叫腿(所谓呼叫腿就是指一方呼叫。比如,一个呼叫是由主叫方和被叫方组成的,每一方都叫做一个呼叫腿。)所在的基站控制器信息,可以是第一移动交换中心或第二移动交换中心的本局内呼叫方所在的基站控制器信令点信息,根据基站控制器信令点信息可以来判断主被叫双方所属的BSC是否是同一个BSC,依据判断结果判定是否需要执行本地交换。而本地交换能力信息是指呼叫是否被监听,或是否在进行放音、补充业务等操作,根据对方的本地交换能力信息可以进一步判断对方是否可以进行本地交换。Call-ID用于标识主叫方和被叫方的呼叫信息,执行本地交换的移动交换中心获得对方的Call-ID后,将本方和对方的Call-ID提供给基站控制器,使得基站控制器根据Call-ID建立本地交换。A口承载信息用于在执行本地交换的移动交换中心在解除本地交换的时候使用。For example, the local switching information of the other party sent by the other party's MSC can be obtained through the mobile application part (MAP, Mobile Application Part) signaling or relay signaling, wherein the local switching information can include base station controller signaling point information, and can also include The local switching capability information of the other party, of course, also includes other information needed to establish or release the local switching, such as the Call-ID of the call or the bearer information of the A interface. Wherein, the base station controller signaling point information refers to one party's call leg (the so-called call leg refers to one party's call. For example, a call is composed of a calling party and a called party, and each party is called a calling leg.) The base station controller information of the first mobile switching center or the second mobile switching center can be the information of the base station controller signaling point where the calling party is located in the local office. According to the information of the base station controller signaling point, it can be determined Whether the BSCs are the same BSC or not, it is determined whether local switching needs to be performed according to the judgment result. The local switching capability information refers to whether the call is monitored, or whether it is performing operations such as playing a sound or supplementing services. According to the local switching capability information of the other party, it can be further judged whether the other party can perform local switching. Call-ID is used to identify the call information of the calling party and the called party. After the mobile switching center that performs local switching obtains the Call-ID of the other party, it provides the Call-ID of the party and the other party to the base station controller, so that the base station controls The router establishes a local exchange based on the Call-ID. The bearer information of the A port is used when the mobile switching center performing local switching releases the local switching.

若主被叫双方是通过MAP信令来进行本地交换信息的提供(即是通过MAP信令承载来承载本地交换信息),则可以获取对方呼叫的MSC的地址,然后根据获取到的对方的MSC的地址来进行MAP信令的寻址,并利用国际移动用户识别码(IMSI,International Mobile Subscriber Identity)信息来进行呼叫的关联,以便后续执行过程中MSC可以根据本方的本地交换信息和对方的本地交换信息对关联后的呼叫进行本地交换的处理。也就是说,在通过MAP信令获取对方呼叫的MSC发送的对方的本地交换信息之前,还可以发送本方呼叫的MSC的地址和本方呼叫的IMSI信息给对方呼叫的MSC,然后对方呼叫的MSC就可以根据本方呼叫的MSC的地址发送对方的本地交换信息给本方呼叫的MSC,其中,该对方的本地交换信息中携带本方呼叫的IMSI信息,这样,本方呼叫的MSC接收到该对方的本地交换信息后,就可以根据接收到的对方的本地交换信息中携带的本方呼叫的IMSI信息对呼叫进行关联,然后根据本方的本地交换信息和对方的本地交换信息再对关联后的呼叫进行本地交换的处理。If both the calling party and the called party provide local exchange information through MAP signaling (that is, bear the weight of local exchange information through MAP signaling), the address of the MSC called by the other party can be obtained, and then according to the obtained MSC of the other party address for MAP signaling, and use the International Mobile Subscriber Identity (IMSI, International Mobile Subscriber Identity) information to associate calls, so that in the subsequent execution process, the MSC can exchange information according to its local exchange information and the other party’s The local switching information performs local switching processing on the associated call. That is to say, before obtaining the local exchange information sent by the MSC called by the other party through MAP signaling, the address of the MSC called by the own party and the IMSI information of the called MSC can also be sent to the MSC called by the other party, and then the MSC called by the other party The MSC just can send the other party's local switching information to the MSC that the own party calls according to the address of the MSC that the own party calls, wherein, the IMSI information that the own party calls is carried in the local switching information of the other party, like this, the MSC that the own party calls receives After the local switching information of the other party, the call can be associated according to the IMSI information of the local call carried in the received local switching information of the other party, and then associated according to the local switching information of the local party and the local switching information of the other party Subsequent calls are processed by local switching.

102、第一移动交换中心根据本方的本地交换信息和作为对方的第二移动交换中心的本地交换信息进行本地交换的处理,包括关于建立本地交换的处理或关于解除本地交换的处理等;102. The first mobile switching center performs local switching processing according to the local switching information of its own party and the local switching information of the second mobile switching center as the other party, including the processing of establishing local switching or the processing of canceling local switching, etc.;

例如,若根据本方呼叫的基站控制器信令点信息和对方呼叫的基站控制器信令点信息确定双方呼叫属于同一个基站控制器,通知基站控制器启动本地交换,并通知移动网关释放本方的A口资源;另外,如果本地交换信息还包括本地交换能力,第一移动交换中心还可以继续判断,即再根据本方的本地交换能力信息和对方的本地交换能力信息确定双方是否都具备启动本地交换的能力时,在判断结果为是时,才通知基站控制器启动本地交换,并通知移动网关释放本方的A口资源;如果本地交换信息不包括本地交换能力,为了保障本地交换的正确执行,第二移动交换中心在向第一移动交换中心提供本地交换信息之前,可以先判断自身是否具备本地交换能力,如果是,才向第一移动交换中心提供本地交换信息,而第一移动交换中心在获取第二移动交换中心的本地交换信息之前或者处理本地交换之前都可以判断自身是否具备本地交换能力,如果是,才执行相应的操作。当然,也可以直接根据主被叫双方的信令点信息及直接判断是否执行本地交换,而不用考虑本地交换能力的信息。For example, if it is determined according to the signaling point information of the base station controller called by the own party and the signaling point information of the base station controller called by the other party, it is determined that the calls of both parties belong to the same base station controller, notify the base station controller to start local switching, and notify the mobile gateway to release the local switching. In addition, if the local switching information also includes the local switching capability, the first mobile switching center can continue to judge, that is, determine whether both parties have When the local switching capability is enabled, the base station controller is notified to start local switching when the judgment result is yes, and the mobile gateway is notified to release the local A port resources; if the local switching information does not include the local switching capability, in order to ensure the local switching Correct implementation, before the second mobile switching center provides local switching information to the first mobile switching center, it can first judge whether it has local switching capability, and if so, it provides local switching information to the first mobile switching center, and the first mobile switching center Before acquiring the local switching information of the second mobile switching center or processing the local switching, the switching center can judge whether it has the local switching capability, and if so, perform corresponding operations. Of course, it is also possible to directly judge whether to perform local switching according to the signaling point information of the calling party and the called party, without considering the information of the local switching capability.

其中,在通知移动网关释放本方的A口资源之后,还可以发送本地交换建立响应消息给对方的MSC,以便对方呼叫的MSC可以根据该本地交换建立响应消息通知移动网关释放对方的A口资源。也就是说,可以让主被叫双方各自对本地交换进行判断和启动,也可以只让其中一方对本地交换进行判断和启动,然后再通知另一方。Wherein, after informing the mobile gateway to release the A port resources of the party, it can also send a local exchange establishment response message to the other party's MSC, so that the MSC called by the other party can notify the mobile gateway to release the other party's A port resources according to the local exchange establishment response message . That is to say, both the calling party and the called party can be allowed to judge and start the local switching respectively, or only one of them can be allowed to judge and start the local switching, and then notify the other party.

在本地交换建立之后,若需要对本地交换进行解除时,例如需要被合法监听,或进行放音、补充业务操作时,可以根据本方的本地交换信息和对方的本地交换能力信息向移动网关申请本方的A口资源,若申请本方的A口资源成功,则发送本地交换解除请求给对方MSC,以便对方呼叫的MSC根据该本地交换解除请求向移动网关申请对方的A口资源,在接收到对方呼叫的MSC返回的表示成功申请了对方的A口资源的确认消息后,通知基站控制器解除本地交换。需说明的是,对方MSC在申请A口资源成功后,也可以通知基站控制器解除本地交换,然后才返回表示成功申请了对方的A口资源的确认消息给本方MSC。After the local switching is established, if it is necessary to cancel the local switching, for example, when it needs to be legally intercepted, or perform announcements or supplementary service operations, it can apply to the mobile gateway according to the local switching information of the local switching party and the local switching capability information of the other party. If the application for the resources of the A port of the party is successful, the local switching release request is sent to the MSC of the other party, so that the MSC called by the other party applies to the mobile gateway for the resources of the A port of the other party according to the local switching release request. After the MSC called by the other party returns an acknowledgment message indicating that it has successfully applied for the resource of the A port of the other party, it notifies the base station controller to release the local switching. It should be noted that after the other party's MSC successfully applies for the A port resource, it may also notify the base station controller to cancel the local switching, and then return a confirmation message indicating that the other party's A port resource has been successfully applied to the local MSC.

或者,在本地交换建立之后,若需要对本地交换进行解除时,也可以先不申请本方的A口资源,直接发送本地交换解除请求给对方MSC,以便对方呼叫的MSC根据该本地交换解除请求向移动网关申请对方的A口资源,在接收到对方呼叫的MSC返回的表示成功申请了对方的A口资源的确认消息后,再申请本方的A口资源,若申请A口资源失败,则不解除本地交换,否则,若申请A口资源成功,则通知基站控制器解除本地交换。Or, after the local exchange is established, if it is necessary to cancel the local exchange, it is also possible to send a local exchange release request to the other party's MSC directly without applying for the A port resource of the own party, so that the MSC called by the other party can respond to the local exchange release request. Apply to the mobile gateway for the A port resource of the other party, and apply for the A port resource of the other party after receiving the confirmation message returned by the MSC called by the other party indicating that the A port resource of the other party has been successfully applied. If the application for the A port resource fails, then The local switching is not canceled, otherwise, if the application for A port resources is successful, the base station controller is notified to cancel the local switching.

由上可知,本实施例采用接收对方呼叫的MSC发送的对方的本地交换信息,然后根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主叫或被叫所在的MSC也可以得知对方呼叫所在的基站控制器,可以进行启动本地交换的判断以便进行本地交换的处理,而且,由于可以接收对方呼叫的MSC发送的对方的本地交换信息,所以如果呼叫在其中一个MSC上被监听,或进行放音、补充业务等操作而不能启动本地交换时,另一个MSC也可以得知,有利于本地交换的实现。As can be seen from the above, the present embodiment adopts the local exchange information of the other party sent by the MSC that receives the call of the other party, and then performs local exchange processing according to the local exchange information of the party and the local exchange information of the other party, so that under the MSC POOL networking, even if The calling party and the called party are respectively located on different MSCs, and the MSC where the calling party or the called party is located can also know the base station controller where the other party is calling, and can make a judgment to start local switching so as to perform local switching processing. The calling MSC sends the local switching information of the other party, so if the call is monitored on one of the MSCs, or the local switching cannot be started when performing operations such as announcements or supplementary services, the other MSC can also know, which is beneficial to local switching realization.

需要说明的是,上述实施例以一方获取另一方的信息进行判断后执行本地交换,而实际实现时,也可以主被叫双方都获取对方的信息进行判断,都对本地交换进行处理,例如以下方案:It should be noted that, in the above-mentioned embodiment, one party obtains the other party's information for judgment and then executes the local exchange, but in actual implementation, both the calling party and the called party can obtain the other party's information for judgment, and both process the local exchange, for example as follows plan:

第一移动交换中心获取第二移动交换中心的本地交换信息,第一移动交换中心根据自身的本地交换信息与所述第二移动交换中心的本地交换信息进行本地交换的处理;The first mobile switching center obtains the local switching information of the second mobile switching center, and the first mobile switching center performs local switching processing with the local switching information of the second mobile switching center according to its own local switching information;

第二移动交换中心获取第一移动交换中心的本地交换信息,第二移动交换中心根据自身的本地交换信息与所述第一移动交换中心的本地交换信息进行本地交换的处理。The second mobile switching center obtains the local switching information of the first mobile switching center, and the second mobile switching center performs local switching processing with the local switching information of the first mobile switching center according to its own local switching information.

实施例二、Embodiment two,

根据实施例一所描述的方法,本实施例将以采用MAP信令在MSC之间交换本地交换信息来实现本地交换为例作详细说明。方案如下:According to the method described in the first embodiment, this embodiment will take the implementation of local switching by exchanging local switching information between MSCs by using MAP signaling as an example for detailed description. The scheme is as follows:

1、主被叫MSC之间通过MAP信令携带本地交换信息并传送。1. The calling and called MSCs carry and transmit local switching information through MAP signaling.

一方MSC使用MAP信令向对方MSC发送本方的本地交换信息。另一方MSC接收到对方本地交换相关信息后,保存接收到的对方MSC的本地交换信息,使用MAP信令向对方返回本方的本地交换信息。其中,若在呼叫过程中,一方MSC的本地交换信息发生了变化,还需要将发生了变化的本地交换信息发送给另一方MSC,以保证主被叫MSC都能够及时充分地了解对方的本地交换信息,以便主被叫MSC可以根据完整的本地交换信息,即两个MSC内的本地交换信息进行本地交换的处理。One MSC uses MAP signaling to send its own local switching information to the other MSC. After the MSC of the other party receives the local switching information of the other party, it saves the received local switching information of the other party's MSC, and returns the local switching information of the other party to the other party by using the MAP signaling. Among them, if the local switching information of one MSC changes during the call process, it is necessary to send the changed local switching information to the other MSC to ensure that both the calling and called MSCs can fully understand the other party's local switching information in a timely manner. information, so that the calling and called MSCs can perform local switching processing according to the complete local switching information, that is, the local switching information in the two MSCs.

2、主被叫MSC之间通过对方MSC的地址来相互进行MAP信令的寻址。其中,主被叫MSC分别获取对方MSC的地址(即主叫MSC获取被叫MSC的MSC地址,被叫MSC获取主叫MSC的地址)的方法可以如下:2. The calling and called MSCs address each other for MAP signaling through the address of the other party's MSC. Wherein, the method for the calling and called MSCs to obtain the address of the other party's MSC respectively (that is, the calling MSC obtains the MSC address of the called MSC, and the called MSC obtains the address of the calling MSC) can be as follows:

呼叫建立过程中,主被叫MSC之间通过路由信息请求(SRI,SENDROUTING INFORMATION Request)、漫游号码请求(PRN,PROVIDEROAMING NUMBER Request)、漫游号码响应(PRN ack,PROVIDEROAMING NUMBER Response)、路由信息响应(SRI ack,SEND ROUTINGINFORMATION Response)来传递主被叫IMSI信息和主被叫MSC的地址。During the call establishment process, the calling and called MSCs pass routing information request (SRI, SENDROUTING INFORMATION Request), roaming number request (PRN, PROVIDEROAMING NUMBER Request), roaming number response (PRN ack, PROVIDEROAMING NUMBER Response), routing information response ( SRI ack, SEND ROUTINGINFORMATION Response) to deliver the calling and called IMSI information and the address of the calling and called MSC.

例如,主叫发起呼叫,主叫MSC发送路由信息请求给HLR以获取被叫路由信息,该路由信息请求中携带主叫MSC的地址和主叫IMSI;HLR向被叫MSC发送漫游号码请求以获取被叫漫游号码,该漫游号码请求中携带主叫MSC的地址和主叫IMSI信息,被叫MSC保存主叫MSC的地址和主叫IMSI信息。被叫MSC向HLR返回漫游号码响应时,携带被叫MSC的地址和被叫IMSI信息,HLR向主叫MSC返回取路由信息响应时,携带被叫MSC的地址和被叫IMSI信息,主叫MSC-A保存被叫MSC的地址和被叫IMSI信息。For example, when a calling party initiates a call, the calling MSC sends a routing information request to the HLR to obtain the called routing information. The routing information request carries the address of the calling MSC and the calling IMSI; the HLR sends a roaming number request to the called MSC to obtain The called roaming number, the roaming number request carries the address of the calling MSC and the information of the calling IMSI, and the called MSC saves the address of the calling MSC and the information of the calling IMSI. When the called MSC returns the roaming number response to the HLR, it carries the address of the called MSC and the called IMSI information. -A saves the address of the called MSC and the information of the called IMSI.

3、主被叫MSC之间使用IMSI来关联呼叫。即主被叫MSC收到对方MSC的本地交换信息后,使用本MSC内呼叫的IMSI来关联到相应的呼叫。因此,主被叫MSC还需要分别获取对方IMSI信息,这可以通过在发送给对方的MAP信令中携带对方呼叫腿的用户IMSI信息来实现。参见2中的描述。3. The calling and called MSCs use IMSI to associate calls. That is, after the calling and called MSCs receive the local switching information from the other party's MSC, they use the IMSI of the call within the MSC to associate with the corresponding call. Therefore, the calling and called MSCs also need to obtain the IMSI information of the other party separately, which can be realized by carrying the IMSI information of the calling leg of the other party in the MAP signaling sent to the other party. See description in 2.

上面所说的可以用来传送本地交换信息的MAP信令,实施时可以通过对现有的MAP信令进行改造来实现,例如扩展现有的MAP信令SRI和PRN等;也可以通过新增MAP信令来实现,在本实施例中,将以新增MAP信令为例进行说明。假设该新增的MAP信令命名为[MAP LCLS serevice],且该信令可以携带如下信息(根据不同的场景选择携带):The above-mentioned MAP signaling that can be used to transmit local exchange information can be implemented by modifying the existing MAP signaling, such as extending the existing MAP signaling SRI and PRN, etc.; it can also be implemented by adding MAP signaling is implemented. In this embodiment, new MAP signaling will be used as an example for description. Assume that the newly added MAP signaling is named [MAP LCLS serevice], and the signaling can carry the following information (choose according to different scenarios):

(1)对方的IMSI。(1) The IMSI of the other party.

(2)本局内呼叫所在的基站控制器信令点信息。(2) Information about the signaling point of the base station controller where the intra-office call is located.

(3)本地交换指示,可以用承载本地交换能力信息。例如,可以包括如下指示类型:(3) The local switching indication may be used to bear the local switching capability information. For example, the following indication types can be included:

本地交换(LCLS,Local Call Local Switch)建立请求;LCLS建立允许;LCLS建立拒绝;LCLS解除请求;LCLS解除允许;LCLS解除拒绝;LCLS禁止指示;LCLS允许指示;LCLS建立指示;LCLS解除指示;Local Switch (LCLS, Local Call Local Switch) establishment request; LCLS establishment permission; LCLS establishment rejection; LCLS release request; LCLS release permission; LCLS release rejection; LCLS prohibition indication; LCLS permission indication;

(4)本局内呼叫对应的呼叫标识(Call-ID);MSC和基站控制器之间使用Call-ID来标识一个呼叫腿。(4) The call identification (Call-ID) corresponding to the intra-office call; the Call-ID is used between the MSC and the base station controller to identify a call leg.

(5)本局内的A口承载信息;基站控制器在解除本地交换时,需要使用两个呼叫腿的A口承载信息。(5) The A port in the local office carries information; when the base station controller cancels the local switching, it needs to use the A ports of the two calling legs to carry information.

以下将通过几个具体的场景对该方案进行详细说明。为了描述方便,以下均假设主叫终端为MS-A,主叫MSC为MSC-A,被叫终端为MS-B,被叫MSC为MSC-B。The scheme will be described in detail through several specific scenarios below. For convenience of description, it is assumed that the calling terminal is MS-A, the calling MSC is MSC-A, the called terminal is MS-B, and the called MSC is MSC-B.

(一)场景一:呼叫建立过程(1) Scenario 1: Call establishment process

呼叫建立过程中,主被叫MSC,即MSC-A和MSC-B通过SRI、PRN、PRN ack、SRI ack来传递主被叫用户的IMSI和主被叫MSC的地址信息。如图2所示,具体流程可以如下:During the call establishment process, the calling and called MSCs, that is, MSC-A and MSC-B, transmit the IMSI of the calling and called users and the address information of the calling and called MSCs through SRI, PRN, PRN ack, and SRI ack. As shown in Figure 2, the specific process can be as follows:

A201、MS-A发送业务请求(CM Service Req)给MSC-A;A201, MS-A sends a service request (CM Service Req) to MSC-A;

A202、MSC-A对MS-A进行鉴权和加密处理,比如,MSC-A与MS-A之间进行Authenticate&Chiper消息的交互;A202, MSC-A performs authentication and encryption processing on MS-A, for example, Authenticate&Chiper messages are exchanged between MSC-A and MS-A;

A203、MS-A发送建立(SETUP)消息给MSC-A,MSC-A返回呼叫进行消息(Call Proceeding)给MS-A;A203, MS-A sends a setup (SETUP) message to MSC-A, and MSC-A returns a call proceeding message (Call Proceeding) to MS-A;

A204、MSC-A向移动网关发送建立请求(ADD_REQ),移动网关返回建立响应(ADD_REPLY)给MSC-A;A204, MSC-A sends an establishment request (ADD_REQ) to the mobile gateway, and the mobile gateway returns an establishment response (ADD_REPLY) to MSC-A;

A205、MSC-A发送指配请求(ASS_REQ)给基站控制器,基站控制器发送指配命令(ASS_CMD)给MS-A,MS-A返回指配完成(ASS_COMP)给基站控制器,基站控制器返回指配响应(ASS_RSP)给MSC-A;A205, MSC-A sends assignment request (ASS_REQ) to base station controller, base station controller sends assignment command (ASS_CMD) to MS-A, MS-A returns assignment complete (ASS_COMP) to base station controller, base station controller Return an Assignment Response (ASS_RSP) to MSC-A;

A206、MSC-A发送路由信息请求给HLR,请求MS-B的路由信息,其中,路由信息请求中携带MSC-A的地址和MS-A的IMSI;A206, MSC-A sends a routing information request to the HLR to request routing information of MS-B, wherein the routing information request carries the address of MSC-A and the IMSI of MS-A;

A207、HLR向MSC-B发送漫游号码请求以获取被叫漫游号码,该漫游号码请求中携带MSC-A的地址和MS-A的IMSI信息;A207, HLR sends a roaming number request to MSC-B to obtain the called roaming number, and the roaming number request carries the address of MSC-A and the IMSI information of MS-A;

A208、MSC-B保存MSC-A的地址和MS-A的IMSI信息,MSC-B返回漫游号码响应给HLR时,该漫游号码响应中携带MSC-B的地址和MS-B的IMSI信息;A208, MSC-B saves the address of MSC-A and the IMSI information of MS-A, and when MSC-B returns a roaming number response to the HLR, the roaming number response carries the address of MSC-B and the IMSI information of MS-B;

A209、HLR返回路由信息响应给MSC-A,该路由信息响应中携带MSC-B的地址和MS-B的IMSI信息,MSC-A保存MSC-B的地址和MS-B的IMSI信息;A209, the HLR returns a routing information response to MSC-A, the routing information response carries the address of MSC-B and the IMSI information of MS-B, and MSC-A stores the address of MSC-B and the IMSI information of MS-B;

A210、MSC-A再次向移动网关发送建立请求,移动网关返回建立响应给MSC-A;A210, MSC-A sends an establishment request to the mobile gateway again, and the mobile gateway returns an establishment response to MSC-A;

A211、通过在步骤A206至步骤A208的交互和寻址,MSC-A和MSC-B根据各自保存的对方的IMSI信息进行呼叫关联,MSC-A发送初始地址消息(IAM)给MSC-B,MSC-B发送寻呼(Page)给基站控制器,基站控制器发送寻呼给MS-B,MS-B可以返回寻呼响应给基站控制器,基站控制器接收到该寻呼响应(Page rsp)后,可以发送寻呼响应给MSC-B;A211, through the interaction and addressing in step A206 to step A208, MSC-A and MSC-B perform call association according to the IMSI information of the other party saved respectively, and MSC-A sends an initial address message (IAM) to MSC-B, MSC -B sends a paging (Page) to the base station controller, the base station controller sends a page to MS-B, MS-B can return a paging response to the base station controller, and the base station controller receives the paging response (Page rsp) After that, a paging response can be sent to MSC-B;

A212、MSC-B对MS-B进行鉴权和加密处理,比如,MSC-B与MS-B之间进行Authenticate&Chiper消息的交互;同时,MSC-B向移动网关发送建立请求,移动网关可以返回建立响应给MSC-B;MSC-B发送建立消息给MS-B,MS-B返回呼叫确认(Call Confrimed)给MSC-B;A212, MSC-B performs authentication and encryption processing on MS-B, for example, Authenticate&Chiper messages are exchanged between MSC-B and MS-B; at the same time, MSC-B sends an establishment request to the mobile gateway, and the mobile gateway can return the establishment Respond to MSC-B; MSC-B sends a setup message to MS-B, and MS-B returns Call Confirmed to MSC-B;

A213、MSC-B向移动网关再次发送建立请求,移动网关可以返回建立响应给MSC-B;A213, MSC-B sends the establishment request to the mobile gateway again, and the mobile gateway can return the establishment response to MSC-B;

A214、MSC-B发送指配请求给基站控制器,基站控制器发送指配命令给MS-B,MS-B返回指配完成给基站控制器,基站控制器返回指配响应给MSC-B;A214, MSC-B sends an assignment request to the base station controller, the base station controller sends an assignment command to MS-B, MS-B returns assignment complete to the base station controller, and the base station controller returns an assignment response to MSC-B;

A215、MS-B可以发送振铃消息(ALERT)给MSC-B,MSC-B发送地址完成消息(ACM)给MSC-A,MSC-A发送振铃消息给MS-A,此后,MS-B发送连接消息(CONNECT)给MSC-B,MSC-B可以返回连接确认(CONNECT_ACK)给MS-B,MSC-B发送应答消息(ANM)给MSC-A,MSC-A发送连接消息给MS-A,MS-A可以返回连接确认消息给MSC-A;至此,MS-A与MS-B的呼叫建立完成。A215, MS-B can send a ringing message (ALERT) to MSC-B, MSC-B sends an address completion message (ACM) to MSC-A, MSC-A sends an ringing message to MS-A, thereafter, MS-B Send a connection message (CONNECT) to MSC-B, MSC-B can return a connection confirmation (CONNECT_ACK) to MS-B, MSC-B sends an answer message (ANM) to MSC-A, and MSC-A sends a connection message to MS-A , MS-A can return a connection confirmation message to MSC-A; so far, the call establishment between MS-A and MS-B is completed.

A216、MSC-B根据MSC-A的地址发送的本地交换信息请求(LCLS infoReq)给MSC-A,该用来传送本地交换信息的MAP信令中携带MS-B所在的基站控制器信令点信息和MSC-B的本地交换能力信息,还可以携带MS-B的Call-ID;A216, MSC-B sends the local switching information request (LCLS infoReq) to MSC-A according to the address of MSC-A, and the MAP signaling used to transmit the local switching information carries the base station controller signaling point where MS-B is located information and the local switching capability information of MSC-B, and may also carry the Call-ID of MS-B;

A217、MSC-A判断本地交换启动条件是否具备,若具备,则启动本地交换,即执行步骤A218;A217, MSC-A determines whether the local switching start condition is met, and if so, starts the local switching, that is, executes step A218;

例如,根据MS-A所在的基站控制器信令点信息和MS-B所在的基站控制器信令点信息确定双方呼叫是否属于同一个基站控制器;For example, according to the signaling point information of the base station controller where MS-A is located and the signaling point information of the base station controller where MS-B is located, it is determined whether the calls of both parties belong to the same base station controller;

若为同一个基站控制器,则在根据MSC-A的本地交换能力信息和MSC-B的本地交换能力信息确定双方都具备启动本地交换的能力(比如主被叫编解码相同,被叫BSC支持本地交换,被叫用户没有被监听等)时,通知MS-A所在的基站控制器启动本地交换(步骤A218),并通知移动网关释放MS-A的A口资源(步骤A219);如果确定本局不具备启动本地交换的能力,则在返回给MSC-B的本地交换信息确认消息(LCLS info Cnf)中指示不允许本地交换,MSC-B接收到该本地交换信息确认消息后,如果该本地交换信息确认消息中指示不允许本地交换,则不会启动本地交换。If they are the same base station controller, then according to the local switching capability information of MSC-A and the local switching capability information of MSC-B, it is determined that both parties have the ability to start local switching (for example, the calling and called codecs are the same, and the called BSC supports Local switching, when the called user is not monitored, etc.), notify the base station controller where MS-A is located to start local switching (step A218), and notify the mobile gateway to release the A port resources of MS-A (step A219); If it does not have the ability to start local switching, it indicates that local switching is not allowed in the local switching information confirmation message (LCLS info Cnf) returned to MSC-B. After MSC-B receives the local switching information confirmation message, if the local switching Local switching is not initiated if the information acknowledgment message indicates that local switching is not allowed.

若MSC-A虽然没有启动本地交换的限制,但MS-A和MS-B不属于同一个基站控制器,则直接给MSC-B返回本地交换信息确认消息,携带MS-A的基站控制器信令点信息及相应的Call-ID。If MSC-A does not have the limitation of starting local switching, but MS-A and MS-B do not belong to the same base station controller, it will directly return the local switching information confirmation message to MSC-B, carrying the base station controller information of MS-A. Order point information and corresponding Call-ID.

在本实施例中,假设MS-A和MS-B均属于同一个基站控制器,具体可以属于同一个基站控制器,且MSC-A和MSC-B都具备启动本地交换的能力,于是,MSC-A在接收到MSC-B发送的本地交换信息请求后,启动本地交换,即执行步骤A218;In this embodiment, it is assumed that both MS-A and MS-B belong to the same base station controller, specifically may belong to the same base station controller, and both MSC-A and MSC-B have the ability to start local switching, so MSC -A starts local switching after receiving the local switching information request sent by MSC-B, that is, executes step A218;

A218、MSC-A发送本地交换命令(LOCAL SWITCH COMMAND)给基站控制器以启动本地交换,基站控制器返回本地交换完成消息(LOCALSWITCH COMP)给MSC-A,MSC-A返回本地交换信息确认消息给MSC-B,该本地交换信息确认消息中携带MS-A的基站控制器信令点信息及相应的Call-ID,并指示本地交换已经启动;A218, MSC-A sends a local switching command (LOCAL SWITCH COMMAND) to the base station controller to start local switching, the base station controller returns a local switching completion message (LOCALSWITCH COMP) to MSC-A, and MSC-A returns a local switching information confirmation message to MSC-B, the local switching information confirmation message carries MS-A's base station controller signaling point information and the corresponding Call-ID, and indicates that the local switching has been started;

需说明的是,如果基站控制器启动本地交换失败,则MSC-A向MSC-B返回本地交换信息确认消息时,在本地交换信息确认消息中携带MS-A所在的基站控制器信令点信息,并指示本地交换没有启动。It should be noted that if the base station controller fails to start the local switching, when MSC-A returns the local switching information confirmation message to MSC-B, the signaling point information of the base station controller where MS-A is located is carried in the local switching information confirmation message , and indicates that local switching is not started.

A219、MSC-A发送删除请求(SUB_REQ)给移动网关,以释放MS-A的A口资源;移动网关可以返回删除响应(SUB_REPLY)给MSC-A;A219, MSC-A sends a deletion request (SUB_REQ) to the mobile gateway to release the A port resources of MS-A; the mobile gateway can return a deletion response (SUB_REPLY) to MSC-A;

A220、MSC-B接收到MSC-A返回本地交换信息确认消息后,如果本地交换信息确认消息中指示本地交换已经启动,则发送删除请求给移动网关,以释放MS-B的A口资源;移动网关可以返回删除响应给MSC-B;如果本地交换信息确认消息中指示本地交换没有启动,则不动作。A220, MSC-B receives after MSC-A returns the local exchange information confirmation message, if the local exchange information confirmation message indicates that the local exchange has started, then send a delete request to the mobile gateway to release the A port resource of MS-B; The gateway can return a deletion response to MSC-B; if the local switching information confirmation message indicates that the local switching is not started, no action will be taken.

至此,本地交换建立完成。需说明的是,主被叫MSC之间,即MSC-A和MSC-B之间不需要保持MAP连接;另外,本地交换启动后,MSC-A与MSC-B之间的中继资源不释放,因为如果释放了,后续就无法对该已经建立的本地交换进行解除了。So far, the establishment of the local exchange is completed. It should be noted that there is no need to maintain a MAP connection between the calling and called MSCs, that is, between MSC-A and MSC-B; in addition, after the local switching is started, the relay resources between MSC-A and MSC-B will not be released , because if it is released, the established local exchange cannot be released later.

当然,本地交换信息请求也可以由MSC-A首先发起,实现方式与前面所描述的由MSC-B首先发起的类似,即MSC-B接收到MSC-A发送的本地交换信息请求后,MSC-B根据MS-A所在的基站控制器信令点信息和MS-B所在的基站控制器信令点信息确定双方呼叫是否属于同一个基站控制器;若为同一个基站控制器,则在根据本方的本地交换能力信息和对方的本地交换能力信息确定双方都具备启动本地交换的能力(比如主被叫编解码相同,被叫BSC支持本地交换,被叫用户没有被监听等)时,通知MS-B所在的基站控制器启动本地交换,并通知移动网关释放MS-B的A口资源,此外,MSC-B还可以返回本地交换信息确认消息给MSC-A,该本地交换信息确认消息中携带MS-B的基站控制器信令点信息及相应的Call-ID,并指示本地交换已经启动;如果确定本局不具备启动本地交换的能力,则在返回给MSC-A的本地交换信息确认消息中指示不允许本地交换,MSC-A接收到该本地交换信息确认消息后,如果该本地交换信息确认消息中指示不允许本地交换,则不会启动本地交换。若MSC-B虽然没有启动本地交换的限制,但MS-A和MS-B不属于同一个基站控制器,则直接给MSC-A返回本地交换信息确认消息,携带MS-B的基站控制器信令点信息及相应的Call-ID。Of course, MSC-A can also initiate the local exchange information request first, and the implementation method is similar to that firstly initiated by MSC-B described above, that is, after MSC-B receives the local exchange information request sent by MSC-A, MSC- B determines whether the calls of both parties belong to the same base station controller according to the signaling point information of the base station controller where MS-A is located and the signaling point information of the base station controller where MS-B is located; When the local switching capability information of the party and the local switching capability information of the other party determine that both parties have the ability to start local switching (for example, the codec of the calling party and the called party are the same, the called BSC supports local switching, and the called user is not monitored, etc.), notify the MS - The base station controller where B is located starts local switching, and notifies the mobile gateway to release the A port resources of MS-B. In addition, MSC-B can also return a local switching information confirmation message to MSC-A, and the local switching information confirmation message carries MS-B's base station controller signaling point information and corresponding Call-ID, and indicates that local switching has been started; if it is determined that the local office does not have the ability to start local switching, then in the local switching information confirmation message returned to MSC-A Indicates that local switching is not allowed. After MSC-A receives the local switching information acknowledgment message, if the local switching information acknowledgment message indicates that local switching is not allowed, local switching will not be started. If MSC-B does not have the limitation of starting local switching, but MS-A and MS-B do not belong to the same base station controller, it will directly return the local switching information confirmation message to MSC-A, carrying the base station controller information of MS-B. Order point information and corresponding Call-ID.

另外,需说明的是,除了上面所描述的让一方MSC判断和启动本地交换之外,也可以由主被叫MSC各自判断和启动本地交换。例如,在步骤A216之后,MSC-A可以返回本地交换信息确认消息给MSC-B然后,MSC-A和MSC-B分别判断自身的本地交换启动条件是否具备,若具备,则MSC-A和MSC-B分别启动本地交换,即一方面,MSC-A通知MS-A所在的基站控制器启动本地交换,并通知移动网关释放MS-A的A口资源;另一方面MSC-B也通知MS-B所在的基站控制器启动本地交换,并通知移动网关释放MS-B的A口资源。In addition, it should be noted that, in addition to letting one MSC judge and start the local switching as described above, the calling and called MSCs can also judge and start the local switching respectively. For example, after step A216, MSC-A can return a local exchange information confirmation message to MSC-B. Then, MSC-A and MSC-B judge whether their own local exchange start conditions are met, and if yes, MSC-A and MSC -B respectively start local switching, that is, on the one hand, MSC-A notifies the base station controller where MS-A is located to start local switching, and notifies the mobile gateway to release the A port resources of MS-A; on the other hand, MSC-B also notifies MS- The base station controller where B is located starts the local switching, and notifies the mobile gateway to release the resources of the port A of MS-B.

在呼叫过程中,MSC-A与MSC-B之间可以通过本地交换信息请求和本地交换信息确认消息来更新呼叫的本地交换能力信息,即当呼叫的本地交换能力信息发生变化时,MSC-A与MSC-B之间要动态地进行交互。比如,在呼叫发起时,由于MS-A与MS-B不在同一个基站控制器而没有启动本地交换,但没有其他本地交换的限制,在呼叫进行中,如果MS-A的用户被监听或发生补充业务,则MSC-A需要通知MSC-B该呼叫不再具备本地交换能力;如果后续监听解除或补充业务结束,则MSC-A需要通知MSC-B该呼叫又具备了本地交换能力。当一个呼叫不具备本地交换能力时,即使主被叫用户属于同一个基站控制器,也不会启动本地交换。During the call, MSC-A and MSC-B can update the local switching capability information of the call through the local switching information request and local switching information confirmation messages, that is, when the local switching capability information of the call changes, MSC-A It needs to interact dynamically with MSC-B. For example, when a call is initiated, local switching is not started because MS-A and MS-B are not in the same base station controller, but there are no other local switching restrictions. During the call, if the user of MS-A is monitored or If the supplementary service is used, MSC-A needs to notify MSC-B that the call no longer has the local switching capability; if the follow-up monitoring is released or the supplementary service ends, MSC-A needs to notify MSC-B that the call has the local switching capability again. When a call does not have the local switching capability, even if the calling and called users belong to the same base station controller, the local switching will not be started.

(二)场景二:在本地交换建立后,MSC要求解除本地交换(2) Scenario 2: After the local exchange is established, the MSC requests to release the local exchange

MSC-A发生补充业务等操作需要解除本地交换时,MSC-A根据两方的本地交换信息向移动网关申请A口资源,若申请A口资源成功,则向MSC-B发送本地交换信息请求,通知MSC-B并要求解除本地交换;MSC-B收到该本地交换信息请求后,向移动网关申请A口资源,如可以申请到A口资源,则向MSC-A返回本地交换信息确认消息,并在该本地交换信息确认消息中携带相应的A口资源,MSC-A收到MSC-B的本地交换信息确认消息后,指示基站控制器解除本地交换,本地交换解除后,MSC-A再通过本地交换信息请求告知MSC-B本地交换已解除。需说明的是,若MSC-A要求基站控制器解除本地交换失败,MSC-A也要通过本地交换信息请求知会MSC-B,以便MSC-A和MSC-B释放已经申请的A口资源。When MSC-A needs to cancel the local exchange for operations such as supplementary services, MSC-A applies to the mobile gateway for A port resources according to the local exchange information of the two parties. If the application for A port resources is successful, it sends a local exchange information request to MSC-B. Notify MSC-B and request to cancel the local switching; MSC-B applies to the mobile gateway for port A resources after receiving the local switching information request, and returns the local switching information confirmation message to MSC-A if the resource of port A can be applied for. And carry the corresponding A port resources in the local switching information confirmation message. After MSC-A receives the local switching information confirmation message from MSC-B, it instructs the base station controller to cancel the local switching. After the local switching is cancelled, MSC-A passes through The local switching information request informs MSC-B that the local switching has been released. It should be noted that if MSC-A fails to request the base station controller to release the local switching, MSC-A should also notify MSC-B through a local switching information request, so that MSC-A and MSC-B release the A port resources that have been applied for.

当然,除了上面所描述的由一方的MSC,比如由MSC-A要求基站控制器解除本地交换之外,也可以由双方的MSC,即由MSC-A和MSC-B分别要求基站控制器解除本地交换。例如,可以如下:Of course, in addition to the MSC of one party described above, for example, MSC-A requires the base station controller to release the local exchange, the MSCs of both parties, that is, MSC-A and MSC-B, can also request the base station controller to release the local exchange. exchange. For example, it could be as follows:

MSC-A发生补充业务等操作需要解除本地交换时,MSC-A根据两方的本地交换信息向移动网关申请A口资源,若申请A口资源成功,则向MSC-B发送本地交换信息请求,通知MSC-B并要求解除本地交换;MSC-B收到该本地交换信息请求后,向移动网关申请到A口资源,并向MSC-A返回本地交换信息确认消息,该本地交换信息确认消息中不需携带A口资源信息,同时指示基站控制器解除本地交换,并返回本地交换确认消息告知MSC-A本地交换已解除,MSC-A收到本地交换确认消息后,指示基站控制器解除本地交换。When MSC-A needs to cancel the local exchange for operations such as supplementary services, MSC-A applies to the mobile gateway for A port resources according to the local exchange information of the two parties. If the application for A port resources is successful, it sends a local exchange information request to MSC-B. Notify MSC-B and request to cancel the local switching; MSC-B applies to the mobile gateway for A port resources after receiving the local switching information request, and returns a local switching information confirmation message to MSC-A, and the local switching information confirmation message contains It does not need to carry the A port resource information, and at the same time instructs the base station controller to cancel the local switching, and returns a local switching confirmation message to inform MSC-A that the local switching has been cancelled. After receiving the local switching confirmation message, MSC-A instructs the base station controller to cancel the local switching .

当然,MSC-A也可以直接向MSC-B请求解除本地交换,MSC-B接收到该请求后,向移动网关申请A口资源,若MSC-B申请A口资源成功,则返回本地交换确认消息告知MSC-A,MSC-A接收到该本地交换确认消息后,MSC-A向移动网关申请A口资源,若MSC-A申请A口资源不成功,则不解除本地交换;若MSC-A申请成功,则指示基站控制器解除本地交换;若MSC-B申请A口资源不成功,则会向MSC-A返回拒绝消息,MSC-A收到拒绝消息后,不再解除本地交换。其中,对于不同的启动解除本地交换的原因,MSC-A将会做不同的处理,比如,如果是要进行补充业务,则MSC-A拒绝补充业务;如果是要进行合法监听,则可以释放呼叫或者不进行监听。Of course, MSC-A can also directly request MSC-B to release the local switching. After receiving the request, MSC-B applies to the mobile gateway for port A resources. If MSC-B successfully applies for port A resources, it returns a local switching confirmation message. Inform MSC-A that after MSC-A receives the local exchange confirmation message, MSC-A applies to the mobile gateway for port A resources. If MSC-A fails to apply for port A resources, the local exchange will not be canceled; if MSC-A applies If it succeeds, it will instruct the base station controller to cancel the local switching; if MSC-B fails to apply for A port resources, it will return a rejection message to MSC-A, and MSC-A will not cancel the local switching after receiving the rejection message. Among them, MSC-A will do different processing for different reasons for starting and releasing local switching. For example, if it is to perform supplementary services, MSC-A will refuse the supplementary services; if it is to perform legal interception, it can release the call Or not to monitor.

(三)场景三:切换过程中建立本地交换(3) Scenario 3: Local switching is established during the switching process

在呼叫过程中没有建立本地交换,但是经过切换之后,主被叫双方所在的基站控制器属于同一个基站控制器,且双方都具备启动本地交换的能力,那么,此时需要建立本地交换。也就是说,一个用户切换到另一用户所在基站控制器,且本地交换建立条件都已具备时,需要建立本地交换。No local switching is established during the call, but after the handover, the base station controllers of the calling party and the called party belong to the same base station controller, and both parties have the ability to start the local switching, then the local switching needs to be established at this time. That is to say, when a user is handed over to the base station controller where another user is located, and the local switching establishment conditions are met, the local switching needs to be established.

下面将举例说明局间呼叫流程中,如果一方发生基站控制器间的切换,本地交换的建立方法。其中,基站控制器间的切换包括两种,一种为局内的基站控制器间的切换,另一种为局间的基站控制器间的切换。假设切换前的基站控制器为源基站控制器,切换后的基站控制器为目标基站控制器,源基站控制器为BSC1,目标基站控制器为BSC2;In the following, an example will be given to illustrate the establishment method of the local exchange if a handover between base station controllers occurs on one party in the inter-office call flow. The handover between base station controllers includes two types, one is handover between base station controllers within an office, and the other is handover between base station controllers in an office. Assume that the base station controller before the handover is the source base station controller, the base station controller after the handover is the target base station controller, the source base station controller is BSC1, and the target base station controller is BSC2;

首先,描述在局间呼叫流程中,主叫发生局内的基站控制器间切换的场景,如图3所示,具体流程如下:First, describe the scenario where the caller is handed over between the base station controllers in the office in the inter-office call process, as shown in Figure 3, and the specific process is as follows:

B201、BSC1发送请求切换消息(Handover Required)给MSC-A,MSC-A发送建立请求给移动网关,移动网关可以返回建立响应给MSC-A;B201, BSC1 sends a handover request message (Handover Required) to MSC-A, MSC-A sends a setup request to the mobile gateway, and the mobile gateway can return a setup response to MSC-A;

B202、MSC-A发送切换请求(Handover Request)给BSC2,该切换请求中携带本地交换指示(LS ind),比如指示BSC2启动本地交换或解除本地交换等等;B202, MSC-A sends a handover request (Handover Request) to BSC2, which carries a local switching indication (LS ind) in the handover request, such as instructing BSC2 to start local switching or release local switching, etc.;

例如,MSC-A可以根据在呼叫建立阶段和呼叫过程中MSC-A与MSC-B之间交互的相关信息,比如MSC-B的本地交换能力信息判断MSC-B是否具备启动本地交换的能力,若具备,则MSC-A发送切换请求给BSC2时,可以在该切换请求中指示BSC2启动本地交换,并携带切换后的呼叫的Call-ID;若不具备,则在发给BSC2的切换请求消息中,不会指示启动本地交换;For example, MSC-A can judge whether MSC-B has the ability to initiate local switching according to the relevant information exchanged between MSC-A and MSC-B during the call establishment phase and call process, such as the local switching capability information of MSC-B. If it is available, when MSC-A sends a handover request to BSC2, it can instruct BSC2 to start local switching in the handover request, and carry the Call-ID of the call after switching; In , there is no indication to start local switching;

BSC2可以返回切换请求确认消息(Handover Request ack)给MSC-A,该切换请求确认消息中携带本地交换确认信息(LS ack);BSC2 can return a handover request acknowledgment message (Handover Request ack) to MSC-A, and the handover request acknowledgment message carries local switching acknowledgment information (LS ack);

B203、MSC-A发送切换命令(Handover Command)给BSC1;B203, MSC-A sends a handover command (Handover Command) to BSC1;

B204、BSC2发送发现切换消息(Handover Detect)给MSC-A,以及发送切换完成(Handover Complete)给MSC-A;B204, BSC2 sends a discovery handover message (Handover Detect) to MSC-A, and sends handover completion (Handover Complete) to MSC-A;

B205、MSC-A发送清除命令(Clear Command)给BSC1,BSC1返回清除完成消息(Clear Complete)给MSC-A;B205, MSC-A sends a clear command (Clear Command) to BSC1, and BSC1 returns a clear complete message (Clear Complete) to MSC-A;

B206、MSC-A发送本地交换信息请求给MSC-B,以启动本地交换,该本地交换信息请求携带主叫所在的基站控制器信令点信息、相应的Call-ID、以及本地交换已经启动的指示;MSC-B可以返回本地交换信息确认消息给MSC-A,此后,若具备启动本地交换的条件,则MSC-A通知MS-A所在的基站控制器启动本地交换,并通知移动网关释放MS-A的A口资源;此时,MSC-B也通知MS-B所在的基站控制器启动本地交换,并通知移动网关释放MS-B的A口资源。解除本地交换的方法具体可参见场景一中的相关描述,在此不再赘述。B206. MSC-A sends a local switching information request to MSC-B to start local switching. The local switching information request carries the signaling point information of the base station controller where the calling party is located, the corresponding Call-ID, and the local switching has been started. Instruction; MSC-B can return a local switching information confirmation message to MSC-A. After that, if the conditions for starting local switching are met, MSC-A will notify the base station controller where MS-A is located to start local switching, and notify the mobile gateway to release the MS -A port resources of A; at this time, MSC-B also notifies the base station controller where MS-B is located to start local switching, and notifies the mobile gateway to release the port A resources of MS-B. For details about how to release local switching, refer to the relevant description in Scenario 1, which will not be repeated here.

下面描述在局间呼叫流程中,用户发生局间的基站控制器切换的场景,即源基站控制器与目标基站控制器所属的MSC不同。在此假设主叫用户发生局间的基站控制器切换,源MSC为MSC-A,源BSC为BSC1,目标MSC为MSC-A’,目标BSC为BSC2,被叫的MSC为MSC-B,被叫的BSC为BSC2,则如图4所示,具体流程如下:The following describes a scenario in which a user has an inter-office base station controller handover in an inter-office call flow, that is, the source base station controller and the target base station controller belong to different MSCs. Here, it is assumed that the calling user undergoes inter-office base station controller switching, the source MSC is MSC-A, the source BSC is BSC1, the target MSC is MSC-A', the target BSC is BSC2, the called MSC is MSC-B, and the called MSC is MSC-B. The called BSC is BSC2, as shown in Figure 4, and the specific process is as follows:

C201、MSC-A接收到切换请求后,若MSC-A判断可以启动本地交换,比如MSC-A根据本方的本地交换能力信息和对方的本地交换能力信息确定双方都具备启动本地交换的能力,则在发送给MSC-A’的切换请求中携带表示启动本地交换的指示,以便切换完成后,MSC-A’根据该表示启动本地交换的指示通知移动网关释放本方的A口资源以及通知基站控制器启动本地交换,MSC-A’返回的表示本地交换成功启动的切换响应给MSC-A;其中,发送给MSC-A’的切换请求可以是准备切换请求(MAP Prepare Handover Req);C201. After MSC-A receives the handover request, if MSC-A judges that local switching can be started, for example, MSC-A determines that both parties have the ability to start local switching according to the local switching capability information of its own party and the local switching capability information of the other party. Then, the handover request sent to MSC-A' carries an indication of starting local switching, so that after the handover is completed, MSC-A' notifies the mobile gateway to release its own A port resources and informs the base station according to the indication of starting local switching The controller starts the local switching, and MSC-A' returns a handover response indicating that the local switching is successfully started to MSC-A; wherein, the handover request sent to MSC-A' may be a MAP Prepare Handover Req;

C202、MSC-A’发送切换请求给BSC2,该切换请求中携带本地交换指示,比如指示BSC2启动本地交换或解除本地交换等等,以及携带切换后的呼叫的Call-IDBSC2可以返回切换请求确认消息给MSC-A’,该切换请求确认消息中携带本地交换确认信息;C202, MSC-A' sends a handover request to BSC2, the handover request carries a local switching instruction, such as instructing BSC2 to start local switching or cancel local switching, etc., and Call-ID BSC2 carrying the switched call can return a switching request confirmation message For MSC-A', the handover request confirmation message carries local switching confirmation information;

C203、MSC-A’发送切换请求确认消息给MSC-A,该切换请求确认消息中携带本地交换确认信息;其中,该切换请求确认消息也可以是准备切换响应(MAP Prepare Handover Resp);C203, MSC-A' sends a handover request confirmation message to MSC-A, and the handover request confirmation message carries local switching confirmation information; wherein, the handover request confirmation message can also be a MAP Prepare Handover Resp;

C204、切换完成后,MSCA’自行通知移动网关释放相应的A口承载,由MSC-A和/或MSC-B通知基站控制器启动本地交换,MSC-A与MSC-B之间的流程同用户发生局内的基站控制器切换时的流程,例如,MSC-A发送本地交换信息请求给MSC-B,MSC-B返回本地交换信息确认消息给MSC-A,并且,MSC-B通知移动网关释放A口资源等等,具体客参见前面实施例,在此不再赘述。C204. After the handover is completed, MSCA' notifies the mobile gateway to release the corresponding A port bearer, and MSC-A and/or MSC-B notifies the base station controller to start local switching. The process between MSC-A and MSC-B is the same as that of the user The process when the base station controller handover occurs in the office, for example, MSC-A sends a local switching information request to MSC-B, MSC-B returns a local switching information confirmation message to MSC-A, and MSC-B notifies the mobile gateway to release A Port resources, etc., for details, refer to the previous embodiments, and will not be repeated here.

当然,除了上面所描述的由MSC-A判断是否可以启动本地交换之外,也可以由MSC-A’来进行判断,如下:Of course, in addition to the MSC-A described above judging whether local switching can be started, it can also be judged by MSC-A', as follows:

在局间切换完成后,无论是否启动了本地交换,MSC-A都要给MSC-A’发送本地交换信息,例如通知MSC-A’本呼叫的本地交换能力,以及MSC-B所在的基站控制器信令点信息和Call-ID,以便目标移动交换中心根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理。另外,在后续呼叫过程中,若该呼叫的本地交换能力信息或MSC-B所在的基站控制器信令点信息发生变化时,MSCA也都要通知MSCA’。After the inter-office handover is completed, regardless of whether the local switching is started, MSC-A must send local switching information to MSC-A', such as notifying MSC-A' of the local switching capability of the call and the control of the base station where MSC-B is located. Signaling point information and Call-ID of the device, so that the target mobile switching center performs local switching processing according to the local switching information of its own party and the local switching information of the other party. In addition, in the subsequent call process, if the local switching capability information of the call or the signaling point information of the base station controller where the MSC-B is located changes, the MSCA must also notify the MSCA'.

下面再描述局间切换完成后,用户再发生局内切换时,本地交换的检查和启动流程。即,如果局间切换后,主被叫并不在一个基站控制器上而没有启动本地交换,后续用户在MSC-A’内发生局内跨基站控制器切换,如果切换到了对方用户所在的基站控制器,则此时可以启动本地交换。The following describes the check and start-up process of the local exchange when the intra-office handover occurs after the inter-office handover is completed. That is, if after the inter-office handover, the caller and the called party are not on the same base station controller and do not start local switching, the subsequent intra-office inter-base station controller handover occurs in MSC-A'. , then local switching can be started at this time.

MSC-A’收到切换请求后,首先发送本地交换信息请求询问MSC-A是否可以启动本地交换,该本地交换信息请求中携带切换目标BSC信息,若MSC-A判断可以启动本地交换,则给MSC-A’返回允许启动本地交换的指示,MSC-A’继续进行后续的切换和启动本地交换操作,具体可参见前面实施例,切换完成后,MSC-A’要知会MSC-A已经启动了本地交换。MSC-A需要向MSC-B传递MSC-A’的本地交换信息。After MSC-A' receives the handover request, it first sends a local switching information request to inquire whether MSC-A can start local switching. The local switching information request carries the handover target BSC information. MSC-A' returns an indication that local switching is allowed to start, and MSC-A' continues to perform subsequent handover and start local switching operations. For details, refer to the previous embodiment. After the handover is completed, MSC-A' will notify MSC-A that it has started local exchange. MSC-A needs to deliver the local switching information of MSC-A' to MSC-B.

当然,也可以由MSC-A’自行判断是否可以启动本地交换,即MSC-A’收到切换请求后,自行判断是否可以启动本地交换,如果可以启动则在切换流程中启动本地交换,切换完成后,MSC-A’通知MSC-A已经启动了本地交换,MSC-A需要向MSC-B传递MSC-A’的本地交换信息。Of course, MSC-A' can also judge whether local switching can be started by itself, that is, MSC-A' can judge whether local switching can be started after receiving the handover request, and if it can be started, start local switching during the handover process, and the handover is completed Afterwards, MSC-A' notifies MSC-A that the local switching has been started, and MSC-A needs to transmit the local switching information of MSC-A' to MSC-B.

需说明的是,在MSC POOL组网下,呼叫的一方发生跨基站控制器切换后,即使没有启动本地交换,该呼叫所在的MSC也要向对方MSC通知新的基站控制器信息。It should be noted that, in the MSC POOL network, after the calling party is switched across base station controllers, even if local switching is not activated, the MSC where the call is located must notify the other MSC of the new base station controller information.

(四)场景四:切换过程中解除本地交换(4) Scenario 4: Release local switching during switching

首先,描述在局间呼叫流程中,用户发生局内的基站控制器切换时,本地交换解除的流程。如下:Firstly, in the inter-office call flow, when the user has an intra-office base station controller handover, the flow of local switching release is described. as follows:

MSC-A接收切换请求,根据接收到切换请求判断需要解除本地交换时,发送本地交换解除请求给MSC-B,比如发送本地交换信息请求给MSC-B,MSC-B接收到后,可以根据该本地交换解除请求判断是否可以解除本地交换,若不能解除,则向MSC-A返回表示拒绝的消息,MSC-A接收到该表示拒绝的消息后,拒绝切换;若可以解除,则向移动网关申请A口资源,并向MSC-A返回表示成功申请了A口资源的确认消息,比如向MSC-A返回本地交换信息确认消息,其中,该本地交换信息确认消息中携带MSC-B向移动网关申请的A口资源,MSC-A接收到该确认消息后,向移动网关申请A口资源,通知基站控制器解除本地交换,并进行后面的切换处理,在发送给源BSC的切换命令中携带解除本地交换的指示,以及MSC-B申请的A口资源信息,在切换完成后,通知MSC-B本地交换已经解除。MSC-A receives the handover request, and when it judges that local switching needs to be released according to the received handover request, it sends a local switching release request to MSC-B, such as sending a local switching information request to MSC-B. After receiving the handover request, MSC-B can The local switching release request judges whether the local switching can be released. If it cannot be released, it returns a rejection message to MSC-A. After receiving the rejection message, MSC-A refuses the handover; if it can be released, it applies to the mobile gateway. A port resources, and return to MSC-A a confirmation message indicating successful application for A port resources, such as returning a local switching information confirmation message to MSC-A, wherein the local switching information confirmation message carries MSC-B to apply to the mobile gateway After receiving the confirmation message, MSC-A applies for A port resources from the mobile gateway, notifies the base station controller to release the local switching, and performs subsequent handover processing. The handover command sent to the source BSC carries the release of the local After the switching instruction and the A port resource information applied by MSC-B are completed, MSC-B is notified that the local switching has been released.

当然,MSC-A也可以在向MGW申请A口资源后,再向MSC-B发送本地交换信息请求,即MSC-A向移动网关申请A口资源,若申请A口资源成功,才发送本地交换信息请求给MSC-B。Of course, MSC-A can also send a local switching information request to MSC-B after applying for port A resources from MGW, that is, MSC-A applies for port A resources to the mobile gateway, and only sends local switching information if the application for port A resources is successful. Information request to MSC-B.

另外,除了上面所描述的只由一方的MSC,比如MSC-A来指示基站控制器解除本地交换之外,也可以由双方的MSC,比如MSC-A和MSC-B各自指示BSC解除本地交换。如下:In addition, in addition to the above description that only one MSC, such as MSC-A, instructs the base station controller to release the local switching, MSCs of both parties, such as MSC-A and MSC-B, can also instruct the BSC to release the local switching. as follows:

MSC-A接收切换请求,根据接收到的切换请求判断需要解除本地交换时,发送本地交换解除请求给MSC-B,比如发送本地交换信息请求给MSC-B,MSC-B接收到后,根据该本地交换信息请求判断是否允许解除本地交换,若不能解除,则向MSC-A返回表示拒绝的消息,MSC-A接收到该表示拒绝的消息后,拒绝切换;若可以解除,则向移动网关申请A口资源,并返回本地交换解除允许指示给MSC-A(不携带申请的A口资源信息),MSC-A根据本地交换解除允许指示进行后面的切换处理,包括向移动网关申请A口资源,以及通知基站控制器解除本地交换。切换完成后,MSC-A发送关于已经解除本地交换的通知给MSC-B,MSC-B根据该关于已经解除本地交换的通知解除本地交换,并返回确认消息。MSC-A receives the handover request, and when it judges that local switching needs to be released according to the received handover request, it sends a local switching release request to MSC-B, such as sending a local switching information request to MSC-B. The local switching information request judges whether it is allowed to cancel the local switching. If it cannot be canceled, it will return a rejection message to MSC-A. After receiving the rejection message, MSC-A will refuse the handover; if it can be canceled, it will apply to the mobile gateway A port resources, and return the local switching to release permission instruction to MSC-A (without carrying the applied A port resource information), MSC-A performs subsequent handover processing according to the local switching release permission instruction, including applying for A port resources to the mobile gateway, And notify the base station controller to cancel the local switching. After the handover is completed, MSC-A sends a notification to MSC-B about the cancellation of the local switching, and MSC-B cancels the local switching according to the notification about the cancellation of the local switching, and returns an acknowledgment message.

当然,MSC-A也可以在向MGW申请A口资源后,再向MSC-B发送本地交换信息请求,即MSC-A向移动网关申请A口资源,若申请A口资源成功,才发送本地交换信息请求给MSC-B。Of course, MSC-A can also send a local switching information request to MSC-B after applying for port A resources from MGW, that is, MSC-A applies for port A resources to the mobile gateway, and only sends local switching information if the application for port A resources is successful. Information request to MSC-B.

如果用户发生局间的基站控制器切换,需要解除本地交换时,MSC-A和MSC-B之间的交互和局内切换相同,在此不在赘述,需说明的是,此时,MSC-A’在进行切换前,要先得到MSC-A和MSC-B的许可。If the user has inter-office base station controller handover and needs to release the local exchange, the interaction between MSC-A and MSC-B is the same as the intra-office handover, which will not be described here. It should be noted that at this time, MSC-A Before switching, the permission of MSC-A and MSC-B must be obtained.

由上可知,本实施例采用通过MAP信令来进行MSC之间的本地交换信息的交互,以便MSC可以根据完整的本地交换信息(本方和对方的本地交换信息)进行本地交换的处理,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主被叫所在的MSC也可以相互得知对方呼叫所在的基站控制器,可以进行启动本地交换的判断以便进行本地交换的处理,而且,由于可以通过MAP信令来传递MSC之间的本地交换信息,所以如果呼叫在其中一个MSC上被监听,或进行放音、补充业务等操作而不能启动本地交换时,另一个MSC也可以得知,有利于本地交换的实现。进一步的,采用MAP信令来传递MSC之间的本地交换信息,不需要对MSC作太多的改动,有利于实施。As can be seen from the above, the present embodiment uses MAP signaling to carry out the interaction of local exchange information between MSCs, so that the MSC can perform local exchange processing according to complete local exchange information (the local exchange information of the local party and the other party), so that In the MSC POOL network, even if the calling party and the called party are located on different MSCs, the MSCs where the calling party and the called party are located can also know the base station controller where the other party is calling, and can make a judgment to start the local exchange for local exchange processing. , and, since the local switching information between MSCs can be transmitted through MAP signaling, if a call is monitored on one of the MSCs, or the local switching cannot be started when performing operations such as announcements or supplementary services, the other MSC will also It can be known that it is beneficial to the realization of local switching. Furthermore, the use of MAP signaling to transmit local exchange information between MSCs does not require too many changes to the MSCs, which is beneficial to implementation.

实施例三、Embodiment three,

根据实施例一所描述的方法,本实施例将以采用中继信令在MSC之间交换本地交换信息来实现本地交换为例作详细说明。方案如下:According to the method described in Embodiment 1, this embodiment will take the example of exchanging local switching information between MSCs by using relay signaling to realize local switching in detail. The scheme is as follows:

1、主被叫MSC之间通过中继信令来进行本地交换信息的交互。1. The calling and called MSCs exchange information locally through relay signaling.

一方MSC使用中继信令向对方MSC发送本方的本地交换信息,包括本方呼叫腿所在的基站控制器信令点信息和/或本地交换能力信息等。另一方MSC接收到对方本地交换相关信息后,保存接收到的对方MSC的本地交换信息,使用中继信令向对方返回本方的本地交换信息。其中,若在呼叫过程中,一方MSC的本地交换信息发生了变化,还需要将发生了变化的本地交换信息发送给另一方MSC,以保证主被叫MSC都能够及时充分地了解对方的本地交换信息,以便主被叫MSC可以根据完整的本地交换信息,即两个MSC内的本地交换信息进行本地交换的处理。One MSC uses relay signaling to send its local switching information to the other MSC, including the signaling point information of the base station controller where the calling leg of the local party is located and/or local switching capability information. After the MSC of the other party receives the local switching information of the other party, it saves the received local switching information of the other party's MSC, and returns the local switching information of the other party to the other party by using relay signaling. Among them, if the local switching information of one MSC changes during the call process, it is necessary to send the changed local switching information to the other MSC to ensure that both the calling and called MSCs can fully understand the other party's local switching information in a timely manner. information, so that the calling and called MSCs can perform local switching processing according to the complete local switching information, that is, the local switching information in the two MSCs.

2、上面所说的可以用来传送本地交换信息的中继信令,可以使用中继信令类型为:与承载无关的呼叫控制协议(BICC,Bearer Independent Call ControlProtocol),或会话发起协议(SIP,Session Initiation Protocol),或综合业务数字网用户部分(ISUP,Integrated Services Digital Network User Part)等中继信令来实现,也可以通过扩展现有的中继信令来实现,比如:2. The above-mentioned relay signaling that can be used to transmit locally switched information can use the relay signaling type as: Bearer Independent Call Control Protocol (BICC, Bearer Independent Call Control Protocol), or Session Initiation Protocol (SIP , Session Initiation Protocol), or integrated services digital network user part (ISUP, Integrated Services Digital Network User Part) and other relay signaling, and can also be realized by extending the existing relay signaling, such as:

可以扩展现有的BICC消息的信息请求(INR,Information Request)和信息(INF,Information),也可以扩展现有的ISUP消息的INR、INF;The information request (INR, Information Request) and information (INF, Information) of the existing BICC message can be extended, and the INR and INF of the existing ISUP message can also be extended;

其中,SIP信令可以使用SIP-I信令,另外,可以使用INFO(信息,Information)来携带扩展的ISUP消息的INR,使用200 OK(一种响应消息)来携带扩展的ISUP消息的INF,从而实现在主被叫MSC之间来传递本地交换信息。Wherein, SIP signaling can use SIP-I signaling, in addition, can use INFO (information, Information) to carry the INR of the ISUP message of extension, use 200 OK (a kind of response message) to carry the INF of the ISUP message of extension, In this way, local switching information can be transferred between the calling and called MSCs.

扩展后的INR、INF可以携带如下信息:The extended INR and INF can carry the following information:

(1)本局内呼叫方所在的基站控制器信令点信息。(1) Information about the signaling point of the base station controller where the calling party is located in the local office.

(2)本地交换指示,可以用来承载第一移动交换中心或第二移动交换中心的本局内呼叫方的本地交换能力信息。例如,可以包括如下指示类型:(2) The local switching indication, which can be used to carry the local switching capability information of the caller in the local office of the first mobile switching center or the second mobile switching center. For example, the following indication types can be included:

LCLS建立请求;LCLS建立允许;LCLS建立拒绝;LCLS解除请求;LCLS解除允许;LCLS解除拒绝;LCLS禁止指示;LCLS允许指示;LCLS建立指示;LCLS解除指示;LCLS Establishment Request; LCLS Establishment Allow; LCLS Establishment Reject; LCLS Release Request; LCLS Release Allow; LCLS Release Reject; LCLS Prohibition Indication;

(3)本局内呼叫对应的Call-ID。MSC和基站控制器之间使用Call-ID来标识一个呼叫腿。(3) The Call-ID corresponding to the intra-office call. The Call-ID is used between the MSC and the base station controller to identify a call leg.

(4)本局内的A口承载信息。基站控制器在解除本地交换时,需要使用两个呼叫腿的A口承载信息。另外,除了上面所说的通过扩展中继信令来实现在主被叫MSC之间进行本地交换信息的交互之外,也可以通过新增中继信令来实现在主被叫MSC之间进行本地交换信息的交互。比如,新增BICC消息的LCLS Request、LCLS information(需说明的是,此处的信令名称仅仅是例子,应当理解的是,也可以为其它的信令名称);或者新增ISUP消息LCLSRequest、LCLS information,等等。其中,SIP信令可以使用SIP-I信令,另外,可以使用INFO来携带新增的ISUP消息的LCLS Request,可以使用200 OK来携带新增的ISUP消息的LCLS information,从而实现在主被叫MSC之间来传递本地交换信息。(4) Port A in the office bears information. When the base station controller releases the local switching, it needs to use the A ports of the two call legs to carry information. In addition, in addition to the above-mentioned exchange of information between the calling and called MSCs by extending the relay signaling, it is also possible to implement the exchange of information between the calling and called MSCs by adding a new relay signaling. Interaction for local exchange of information. For example, add LCLS Request and LCLS information of BICC messages (it should be noted that the signaling names here are only examples, and it should be understood that they can also be other signaling names); or add ISUP messages LCLSRequest, LCLS information, etc. Among them, SIP signaling can use SIP-I signaling. In addition, INFO can be used to carry the LCLS Request of the newly added ISUP message, and 200 OK can be used to carry the LCLS information of the newly added ISUP message. MSCs to transfer local exchange information.

为了描述方便,在本发明实施例中,将以扩展SIP信令为例进行说明。For the convenience of description, in the embodiment of the present invention, the extended SIP signaling will be taken as an example for description.

以下将通过几个具体的场景对该方案进行详细说明。为了描述方便,以下均假设主叫终端为MS-A,主叫MSC为MSC-A,被叫终端为MS-B,被叫MSC为MSC-B。The scheme will be described in detail through several specific scenarios below. For convenience of description, it is assumed that the calling terminal is MS-A, the calling MSC is MSC-A, the called terminal is MS-B, and the called MSC is MSC-B.

(一)场景一:呼叫建立过程(1) Scenario 1: Call establishment process

呼叫建立过程中,主被叫MSC,即MSC-A和MSC-B通过扩展的SIP信令来传递双方的本地交互信息,其中,可以使用INFO来携带扩展的ISUP消息的INR,使用200 OK来携带扩展的ISUP消息的INF。如图5所示,具体流程可以如下:During the call establishment process, the calling and called MSCs, that is, MSC-A and MSC-B, transmit the local interaction information of both parties through extended SIP signaling, among which, INFO can be used to carry the INR of the extended ISUP message, and 200 OK can be used to INF carrying extended ISUP messages. As shown in Figure 5, the specific process can be as follows:

A301、MS-A发送业务请求(CM Service Req)给MSC-A;A301, MS-A sends a service request (CM Service Req) to MSC-A;

A302、MSC-A对MS-A进行鉴权和加密处理,比如,MSC-A与MS-A之间进行Authenticate&Chiper消息的交互;A302, MSC-A performs authentication and encryption processing on MS-A, for example, the interaction of Authenticate&Chiper messages between MSC-A and MS-A;

A303、MS-A发送建立(SETUP)消息给MSC-A,MSC-A返回呼叫进行消息(Call Proceeding)给MS-A;A303, MS-A sends a setup (SETUP) message to MSC-A, and MSC-A returns a call proceeding message (Call Proceeding) to MS-A;

A304、MSC-A向移动网关发送建立请求(ADD_REQ),移动网关返回建立响应(ADD_REPLY)给MSC-A;A304, MSC-A sends an establishment request (ADD_REQ) to the mobile gateway, and the mobile gateway returns an establishment response (ADD_REPLY) to MSC-A;

A305、MSC-A发送指配请求(ASS_REQ)给基站控制器,基站控制器发送指配命令(ASS_CMD)给MS-A,MS-A返回指配完成(ASS_COMP)给基站控制器,基站控制器返回指配响应(ASS_RSP)给MSC-A;A305. MSC-A sends an assignment request (ASS_REQ) to the base station controller, and the base station controller sends an assignment command (ASS_CMD) to MS-A, and MS-A returns assignment completion (ASS_COMP) to the base station controller, and the base station controller Return an Assignment Response (ASS_RSP) to MSC-A;

A306、MSC-A发送路由信息请求给HLR,请求MS-B的路由信息;A306, MSC-A sends a routing information request to the HLR, requesting the routing information of MS-B;

A307、HLR向MSC-B发送漫游号码请求以获取被叫漫游号码;A307, HLR sends a roaming number request to MSC-B to obtain the called roaming number;

A308、MSC-B返回漫游号码响应给HLR;A308, MSC-B returns a roaming number response to the HLR;

A309、HLR返回路由信息响应给MSC-A;A309, HLR returns routing information response to MSC-A;

A310、MSC-A再次向移动网关发送建立请求,移动网关返回建立响应给MSC-A;A310, MSC-A sends an establishment request to the mobile gateway again, and the mobile gateway returns an establishment response to MSC-A;

A311、MSC-A发送初始地址消息(IAM)给MSC-B,MSC-B发送寻呼(Page)给基站控制器,基站控制器发送寻呼给MS-B,MS-B可以返回寻呼响应给基站控制器,基站控制器接收到该寻呼响应(Page rsp)后,可以发送寻呼响应给MSC-B;A311, MSC-A sends an initial address message (IAM) to MSC-B, MSC-B sends a page (Page) to the base station controller, the base station controller sends a page to MS-B, and MS-B can return a page response To the base station controller, after the base station controller receives the paging response (Page rsp), it can send the paging response to MSC-B;

A312、MSC-B对MS-B进行鉴权和加密处理,比如,MSC-B与MS-B之间进行Authenticate&Chiper消息的交互;同时,MSC-B向移动网关发送建立请求,移动网关可以返回建立响应给MSC-B;MSC-B发送建立消息给MS-B,MS-B返回呼叫确认(Call Confrimed)给MSC-B;A312, MSC-B performs authentication and encryption processing on MS-B, for example, Authenticate&Chiper messages are exchanged between MSC-B and MS-B; at the same time, MSC-B sends an establishment request to the mobile gateway, and the mobile gateway can return the establishment Respond to MSC-B; MSC-B sends a setup message to MS-B, and MS-B returns Call Confirmed to MSC-B;

A313、MSC-B向移动网关再次发送建立请求,移动网关可以返回建立响应给MSC-B;A313, MSC-B sends the establishment request to the mobile gateway again, and the mobile gateway can return the establishment response to MSC-B;

A3 14、MSC-B发送指配请求给基站控制器,基站控制器发送指配命令给MS-B,MS-B返回指配完成给基站控制器,基站控制器返回指配响应给MSC-B;A3 14. MSC-B sends an assignment request to the base station controller, the base station controller sends an assignment command to MS-B, MS-B returns assignment complete to the base station controller, and the base station controller returns an assignment response to MSC-B ;

A315、MS-B可以发送振铃消息(ALERT)给MSC-B,MSC-B发送地址完成消息(ACM)给MSC-A,MSC-A发送振铃消息给MS-A,此后,MS-B发送连接消息(CONNECT)给MSC-B,MSC-B可以返回连接确认(CONNECT_ACK)给MS-B,MSC-B发送应答消息(ANM)给MSC-A,MSC-A发送连接消息给MS-A,MS-A可以返回连接确认消息给MSC-A;至此,MS-A与MS-B的呼叫建立完成。A315, MS-B can send an alarm message (ALERT) to MSC-B, MSC-B sends an address complete message (ACM) to MSC-A, MSC-A sends an alarm message to MS-A, after that, MS-B Send a connection message (CONNECT) to MSC-B, MSC-B can return a connection confirmation (CONNECT_ACK) to MS-B, MSC-B sends an answer message (ANM) to MSC-A, and MSC-A sends a connection message to MS-A , MS-A can return a connection confirmation message to MSC-A; so far, the call establishment between MS-A and MS-B is completed.

A3 16、MSC-B发送INFO[INR]消息给MSC-A,该INFO[INR]消息中携带MS-B所在的基站控制器信令点信息和MSC-B的本地交换能力信息,还可以携带MS-B的Call-ID;A3 16. MSC-B sends an INFO[INR] message to MSC-A. The INFO[INR] message carries the signaling point information of the base station controller where MS-B is located and the local switching capability information of MSC-B. It can also carry Call-ID of MS-B;

A317、MSC-A判断本地交换启动条件是否具备,若具备,则启动本地交换,即执行步骤A318;A317, MSC-A judges whether the local switching activation condition is met, and if yes, then starts the local switching, that is, executes step A318;

例如,根据MS-A所在的基站控制器信令点信息和MS-B所在的基站控制器信令点信息确定双方呼叫是否属于同一个基站控制器;For example, according to the signaling point information of the base station controller where MS-A is located and the signaling point information of the base station controller where MS-B is located, it is determined whether the calls of both parties belong to the same base station controller;

若为同一个基站控制器,则在根据MSC-A的本地交换能力信息和MSC-B的本地交换能力信息确定双方都具备启动本地交换的能力(比如主被叫编解码相同,被叫BSC支持本地交换,被叫用户没有被监听等)时,通知MS-A所在的基站控制器启动本地交换(步骤A318),并通知移动网关释放MS-A的A口资源(步骤A319);如果确定本局不具备启动本地交换的能力,则在返回给MSC-B的200 OK[INF]消息中指示不允许本地交换,MSC-B接收到该200OK[INF]消息后,如果该200 OK[INF]消息中指示不允许本地交换,则不会启动本地交换。If they are the same base station controller, then according to the local switching capability information of MSC-A and the local switching capability information of MSC-B, it is determined that both parties have the ability to start local switching (for example, the calling and called codecs are the same, and the called BSC supports Local switching, when the called user is not monitored, etc.), notify the base station controller where MS-A is located to start local switching (step A318), and notify the mobile gateway to release the A port resources of MS-A (step A319); If it does not have the ability to start local switching, it indicates that local switching is not allowed in the 200 OK[INF] message returned to MSC-B. After MSC-B receives the 200 OK[INF] message, if the 200 OK[INF] message Indicates that local swapping is not allowed, local swapping will not be started.

若MSC-A虽然没有启动本地交换的限制,但MS-A和MS-B不属于同一个基站控制器,则直接给MSC-B返回200 OK[INF]消息,携带MS-A的基站控制器信令点信息及相应的Call-ID。If MSC-A does not have the limitation of starting local switching, but MS-A and MS-B do not belong to the same base station controller, it will directly return a 200 OK[INF] message to MSC-B, carrying the base station controller of MS-A Signaling point information and corresponding Call-ID.

在本实施例中,假设MS-A和MS-B均属于同一个基站控制器,具体可以属于同一个基站控制器,且MSC-A和MSC-B都具备启动本地交换的能力,于是,MSC-A在接收到MSC-B发送的200 OK[INF]消息后,启动本地交换,即执行步骤A318;In this embodiment, it is assumed that both MS-A and MS-B belong to the same base station controller, specifically may belong to the same base station controller, and both MSC-A and MSC-B have the ability to start local switching, so MSC -A starts local switching after receiving the 200 OK[INF] message sent by MSC-B, that is, executes step A318;

A318、MSC-A发送本地交换命令(LOCAL SWITCH COMMAND)给基站控制器以启动本地交换,基站控制器返回本地交换完成消息(LOCALSWITCH COMP)给MSC-A,MSC-A返回200 OK[INF]消息给MSC-B,该200OK[INF]消息中携带MS-A的基站控制器信令点信息及相应的Call-ID,并指示本地交换已经启动;A318, MSC-A sends a local switching command (LOCAL SWITCH COMMAND) to the base station controller to start local switching, the base station controller returns a local switching completion message (LOCALSWITCH COMP) to MSC-A, and MSC-A returns a 200 OK[INF] message For MSC-B, the 200OK[INF] message carries MS-A's base station controller signaling point information and the corresponding Call-ID, and indicates that local switching has been started;

需说明的是,如果基站控制器启动本地交换失败,则MSC-A向MSC-B返回200 OK[INF]消息时,在200 OK[INF]消息中携带MS-A所在的基站控制器信令点信息,并指示本地交换没有启动。It should be noted that if the base station controller fails to start local switching, when MSC-A returns a 200 OK[INF] message to MSC-B, the 200 OK[INF] message carries the signaling of the base station controller where MS-A is located. Points to info and indicates that local switching is not enabled.

A319、MSC-A发送删除请求(SUB_REQ)给移动网关,以释放MS-A的A口资源;移动网关可以返回删除响应(SUB_REPLY)给MSC-A;A319, MSC-A sends a deletion request (SUB_REQ) to the mobile gateway to release the A port resource of MS-A; the mobile gateway can return a deletion response (SUB_REPLY) to MSC-A;

A320、MSC-B接收到MSC-A返回200 OK[INF]消息后,如果200 OK[INF]消息中指示本地交换已经启动,则发送删除请求给移动网关,以释放MS-B的A口资源;移动网关可以返回删除响应给MSC-B;如果200 OK[INF]消息中指示本地交换没有启动,则不动作。A320, MSC-B receives the 200 OK[INF] message returned by MSC-A, if the 200 OK[INF] message indicates that the local switching has been started, it sends a delete request to the mobile gateway to release the A port resources of MS-B ; The mobile gateway may return a delete response to MSC-B; if the 200 OK[INF] message indicates that local switching has not been started, then no action will be taken.

至此,本地交换建立完成。需说明的是,主被叫MSC之间,即MSC-A和MSC-B之间不需要保持MAP连接;另外,本地交换启动后,MSC-A与MSC-B之间的中继资源不释放,因为如果释放了,后续就无法对该已经建立的本地交换进行解除了。So far, the establishment of the local exchange is completed. It should be noted that there is no need to maintain a MAP connection between the calling and called MSCs, that is, between MSC-A and MSC-B; in addition, after the local switching is started, the relay resources between MSC-A and MSC-B will not be released , because if it is released, the established local exchange cannot be released later.

当然,INFO[INR]消息也可以由MSC-A首先发起,实现方式与前面所描述的由MSC-B首先发起的类似,即MSC-B接收到MSC-A发送的INFO[INR]消息后,MSC-B根据MS-A所在的基站控制器信令点信息和MS-B所在的基站控制器信令点信息确定双方呼叫是否属于同一个基站控制器;若为同一个基站控制器,则在根据本方的本地交换能力信息和对方的本地交换能力信息确定双方都具备启动本地交换的能力(比如主被叫编解码相同,被叫BSC支持本地交换,被叫用户没有被监听等)时,通知MS-B所在的基站控制器启动本地交换,并通知移动网关释放MS-B的A口资源,此外,MSC-B还可以返回200OK[INF]消息给MSC-A,该200 OK[INF]消息中携带MS-B的基站控制器信令点信息及相应的Call-ID,并指示本地交换已经启动;如果确定本局不具备启动本地交换的能力,则在返回给MSC-A的200 OK[INF]消息中指示不允许本地交换,MSC-A接收到该200 OK[INF]消息后,如果该200 OK[INF]消息中指示不允许本地交换,则不会启动本地交换。若MSC-B虽然没有启动本地交换的限制,但MS-A和MS-B不属于同一个基站控制器,则直接给MSC-A返回200 OK[INF]消息,携带MS-B的基站控制器信令点信息及相应的Call-ID。Of course, the INFO[INR] message can also be first initiated by MSC-A, and the implementation method is similar to that firstly initiated by MSC-B described above, that is, after MSC-B receives the INFO[INR] message sent by MSC-A, MSC-B determines whether the calls of both parties belong to the same base station controller according to the signaling point information of the base station controller where MS-A is located and the signaling point information of the base station controller where MS-B is located; According to the local switching capability information of the local party and the local switching capability information of the other party, it is determined that both parties have the capability to initiate local switching (for example, the codec of the calling party and the called party is the same, the called BSC supports local switching, and the called party is not monitored, etc.), Notify the base station controller where MS-B is located to start local switching, and notify the mobile gateway to release the A port resource of MS-B. In addition, MSC-B can also return a 200 OK[INF] message to MSC-A. The 200 OK[INF] The message carries the MS-B base station controller signaling point information and the corresponding Call-ID, and indicates that the local exchange has been started; if it is determined that the local office does not have the ability to start the local exchange, it returns to MSC-A with 200 OK[ INF] message indicates that local exchange is not allowed. After MSC-A receives the 200 OK[INF] message, if the 200 OK[INF] message indicates that local exchange is not allowed, then local exchange will not be started. If MSC-B does not have the limitation of starting local switching, but MS-A and MS-B do not belong to the same base station controller, it will directly return a 200 OK[INF] message to MSC-A, carrying the base station controller of MS-B Signaling point information and corresponding Call-ID.

另外,需说明的是,除了上面所描述的让一方MSC判断和启动本地交换之外,也可以由主被叫MSC各自判断和启动本地交换。例如,在步骤A316之后,MSC-A可以返回200 OK[INF]消息给MSC-B,然后,MSC-A和MSC-B分别判断自身的本地交换启动条件是否具备,若具备,则MSC-A和MSC-B分别启动本地交换,即一方面,MSC-A通知MS-A所在的基站控制器启动本地交换,并通知移动网关释放MS-A的A口资源;另一方面MSC-B也通知MS-B所在的基站控制器启动本地交换,并通知移动网关释放MS-B的A口资源。In addition, it should be noted that, in addition to letting one MSC judge and start the local switching as described above, the calling and called MSCs can also judge and start the local switching respectively. For example, after step A316, MSC-A can return a 200 OK[INF] message to MSC-B, then, MSC-A and MSC-B judge whether the local switching start conditions of themselves are possessed respectively, and if possessed, MSC-A Start local switching with MSC-B respectively, that is, on the one hand, MSC-A notifies the base station controller where MS-A is located to start local switching, and notifies the mobile gateway to release the A port resources of MS-A; on the other hand, MSC-B also notifies The base station controller where MS-B is located starts the local switching, and notifies the mobile gateway to release the A port resource of MS-B.

在呼叫过程中,MSC-A与MSC-B之间可以通过INFO[INR]消息和200OK[INF]消息来更新呼叫的本地交换能力信息,即当呼叫的本地交换能力信息发生变化时,MSC-A与MSC-B之间要动态地进行交互。比如,在呼叫发起时,由于MS-A与MS-B不在同一个基站控制器而没有启动本地交换,但没有其他本地交换的限制,在呼叫进行中,如果MS-A的用户被监听或发生补充业务,则MSC-A需要通知MSC-B该呼叫不再具备本地交换能力;如果后续监听解除或补充业务结束,则MSC-A需要通知MSC-B该呼叫又具备了本地交换能力。当一个呼叫不具备本地交换能力时,即使主被叫用户属于同一个基站控制器,也不会启动本地交换。During the call, MSC-A and MSC-B can update the local switching capability information of the call through the INFO[INR] message and 200OK[INF] message, that is, when the local switching capability information of the call changes, MSC- A and MSC-B should interact dynamically. For example, when a call is initiated, local switching is not started because MS-A and MS-B are not in the same base station controller, but there are no other local switching restrictions. During the call, if the user of MS-A is monitored or If the supplementary service is used, MSC-A needs to notify MSC-B that the call no longer has the local switching capability; if the follow-up monitoring is released or the supplementary service ends, MSC-A needs to notify MSC-B that the call has the local switching capability again. When a call does not have the local switching capability, even if the calling and called users belong to the same base station controller, the local switching will not be started.

(二)场景二:在本地交换建立后,MSC要求解除本地交换(2) Scenario 2: After the local exchange is established, the MSC requests to release the local exchange

MSC-A发生补充业务等操作需要解除本地交换时,若MSC-A根据两方的本地交换信息向移动网关申请A口资源,若申请A口资源成功,则向MSC-B发送INFO[INR]消息,通知MSC-B并要求解除本地交换;MSC-B收到该INFO[INR]消息后,向移动网关申请A口资源,如可以申请到A口资源,则向MSC-A返回200 OK[INF]消息,并在该200 OK[INF]消息中携带相应的A口资源,MSC-A收到MSC-B的200 OK[INF]消息后,指示基站控制器解除本地交换,本地交换解除后,MSC-A再通过INFO[INR]消息告知MSC-B本地交换已解除。需说明的是,若MSC-A要求基站控制器解除本地交换失败,MSC-A也要通过INFO[INR]消息知会MSC-B,以便MSC-A和MSC-B释放已经申请的A口资源。When MSC-A needs to cancel the local exchange for operations such as supplementary services, if MSC-A applies for A port resources from the mobile gateway according to the local exchange information of the two parties, if the application for A port resources is successful, it will send INFO[INR] to MSC-B message, notify MSC-B and request to cancel the local exchange; MSC-B receives the INFO[INR] message, applies to the mobile gateway for port A resources, and returns 200 OK[ to MSC-A if it can apply for port A resources INF] message, and carry the corresponding A port resources in the 200 OK[INF] message, after MSC-A receives the 200 OK[INF] message from MSC-B, it instructs the base station controller to release the local switching, after the local switching is released , MSC-A informs MSC-B that the local exchange has been released through the INFO[INR] message. It should be noted that if MSC-A requests the base station controller to release the local switching failure, MSC-A should also notify MSC-B through the INFO[INR] message, so that MSC-A and MSC-B can release the A port resources that have been applied for. .

当然,除了上面所描述的由一方的MSC,比如由MSC-A要求基站控制器解除本地交换之外,也可以由双方的MSC,即由MSC-A和MSC-B分别要求基站控制器解除本地交换。例如,可以如下:Of course, in addition to the MSC of one party described above, for example, MSC-A requires the base station controller to release the local exchange, the MSCs of both parties, that is, MSC-A and MSC-B, can also request the base station controller to release the local exchange. exchange. For example, it could be as follows:

MSC-A发生补充业务等操作需要解除本地交换时,若MSC-A根据两方的本地交换信息向移动网关申请A口资源,若申请A口资源成功,则向MSC-B发送INFO[INR]消息,通知MSC-B并要求解除本地交换;MSC-B收到该INFO[INR]消息后,向移动网关申请到A口资源,并向MSC-A返回200 OK[INF]消息,该200 OK[INF]消息中不需携带A口资源信息,同时指示基站控制器解除本地交换,并返回200 OK[INF]消息告知MSC-A本地交换已解除,MSC-A收到200 OK[INF]消息后,指示基站控制器解除本地交换。When MSC-A needs to cancel the local exchange for operations such as supplementary services, if MSC-A applies for A port resources from the mobile gateway according to the local exchange information of the two parties, if the application for A port resources is successful, it will send INFO[INR] to MSC-B message, notify MSC-B and request to release the local switching; after receiving the INFO[INR] message, MSC-B applies to the mobile gateway for A port resources, and returns a 200 OK[INF] message to MSC-A, the 200 OK The [INF] message does not need to carry the A port resource information, and at the same time instructs the base station controller to release the local switching, and returns a 200 OK[INF] message to inform MSC-A that the local switching has been released, and MSC-A receives the 200 OK[INF] message After that, instruct the base station controller to release the local switching.

当然,MSC-A也可以直接向MSC-B请求解除本地交换,MSC-B接收到该请求后,向移动网关申请A口资源,若MSC-B申请A口资源成功,则返回本地交换确认消息告知MSC-A,MSC-A接收到该本地交换确认消息后,MSC-A向移动网关申请A口资源,若MSC-A申请A口资源不成功,则不解除本地交换;若MSC-A申请成功,则指示基站控制器解除本地交换;若MSC-B申请A口资源不成功,则会向MSC-A返回拒绝。MSC-A收到拒绝消息后,不再解除本地交换。其中,对于不同的启动解除本地交换的原因,MSC-A将会做不同的处理,比如,如果是要进行补充业务,则MSC-A拒绝补充业务;如果是要进行合法监听,则可以释放呼叫或者不进行监听。Of course, MSC-A can also directly request MSC-B to release the local switching. After receiving the request, MSC-B applies to the mobile gateway for port A resources. If MSC-B successfully applies for port A resources, it returns a local switching confirmation message. Inform MSC-A that after MSC-A receives the local exchange confirmation message, MSC-A applies to the mobile gateway for port A resources. If MSC-A fails to apply for port A resources, the local exchange will not be canceled; if MSC-A applies If it succeeds, it will instruct the base station controller to cancel the local switching; if MSC-B fails to apply for A port resources, it will return a rejection to MSC-A. After MSC-A receives the rejection message, it will not release the local switching. Among them, MSC-A will do different processing for different reasons for starting and releasing local switching. For example, if it is to perform supplementary services, MSC-A will refuse the supplementary services; if it is to perform legal interception, it can release the call Or not to monitor.

(三)场景三:切换过程中建立本地交换(3) Scenario 3: Local switching is established during the switching process

在呼叫过程中没有建立本地交换,但是经过切换之后,主被叫双方所在的基站控制器属于同一个基站控制器,且双方都具备启动本地交换的能力,那么,此时需要建立本地交换。也就是说,一个用户切换到另一用户所在基站控制器,且本地交换建立条件都已具备时,需要建立本地交换。No local switching is established during the call, but after the handover, the base station controllers of the calling party and the called party belong to the same base station controller, and both parties have the ability to start the local switching, then the local switching needs to be established at this time. That is to say, when a user is handed over to the base station controller where another user is located, and the local switching establishment conditions are met, the local switching needs to be established.

下面将举例说明局间呼叫流程中,如果一方发生基站控制器间的切换,本地交换的建立方法。其中,基站控制器间的切换包括两种,一种为局内的基站控制器间的切换,另一种为局间的基站控制器间的切换。假设切换前的基站控制器为源基站控制器,切换后的基站控制器为目标基站控制器,源基站控制器为BSC1,目标基站控制器为BSC2;In the following, an example will be given to illustrate the establishment method of the local exchange if a handover between base station controllers occurs on one party in the inter-office call flow. The handover between base station controllers includes two types, one is handover between base station controllers within an office, and the other is handover between base station controllers in an office. Assume that the base station controller before the handover is the source base station controller, the base station controller after the handover is the target base station controller, the source base station controller is BSC1, and the target base station controller is BSC2;

首先,描述在局间呼叫流程中,主叫发生局内的基站控制器间切换的场景,如图6所示,具体流程如下:First, describe the scenario where the caller is handed over between the base station controllers in the office during the inter-office call process, as shown in Figure 6, and the specific process is as follows:

B301、BSC1发送请求切换消息(Handover Required)给MSC-A,MSC-A发送建立请求给移动网关,移动网关可以返回建立响应给MSC-A;B301, BSC1 sends a handover request message (Handover Required) to MSC-A, MSC-A sends a setup request to the mobile gateway, and the mobile gateway can return a setup response to MSC-A;

B302、MSC-A发送切换请求(Handover Request)给BSC2,该切换请求中携带本地交换指示(LS ind),比如指示BSC2启动本地交换或解除本地交换等等;B302, MSC-A sends a handover request (Handover Request) to BSC2, which carries a local switching indication (LS ind), such as instructing BSC2 to start local switching or release local switching, etc.;

例如,MSC-A可以根据在呼叫建立阶段和呼叫过程中MSC-A与MSC-B之间交互的相关信息,比如MSC-B的本地交换能力信息判断MSC-B是否具备启动本地交换的能力,若具备,则MSC-A发送切换请求给BSC2时,可以在该切换请求中指示BSC2启动本地交换,并携带切换后的呼叫的Call-ID;若不具备,则在发给BSC2的切换请求消息中,不会指示启动本地交换;For example, MSC-A can judge whether MSC-B has the ability to initiate local switching according to the relevant information exchanged between MSC-A and MSC-B during the call establishment phase and call process, such as the local switching capability information of MSC-B. If it is available, when MSC-A sends a handover request to BSC2, it can instruct BSC2 to start local switching in the handover request, and carry the Call-ID of the call after switching; In , there is no indication to start local switching;

BSC2可以返回切换请求确认消息(Handover Request ack)给MSC-A,该切换请求确认消息中携带本地交换确认信息(LS ack);BSC2 can return a handover request acknowledgment message (Handover Request ack) to MSC-A, and the handover request acknowledgment message carries local switching acknowledgment information (LS ack);

B303、MSC-A发送切换命令(Handover Command)给BSC1;B303, MSC-A sends a handover command (Handover Command) to BSC1;

B304、BSC2发送发现切换消息(Handover Detect)给MSC-A,以及发送切换完成(Handover Complete)给MSC-A;B304, BSC2 sends a discovery handover message (Handover Detect) to MSC-A, and sends a handover completion (Handover Complete) to MSC-A;

B305、MSC-A发送清除命令(Clear Command)给BSC1,BSC1返回清除完成消息(Clear Complete)给MSC-A;B305, MSC-A sends a clear command (Clear Command) to BSC1, and BSC1 returns a clear complete message (Clear Complete) to MSC-A;

B306、MSC-A发送INFO[INR]消息给MSC-B,以启动本地交换,该INFO[INR]消息携带主叫所在的基站控制器信令点信息、相应的Call-ID、以及本地交换已经启动的指示;MSC-B可以返回200 OK[INF]消息给MSC-A,此后,若具备启动本地交换的条件,则MSC-A通知MS-A所在的基站控制器启动本地交换,并通知移动网关释放MS-A的A口资源;此时,MSC-B也通知MS-B所在的基站控制器启动本地交换,并通知移动网关释放MS-B的A口资源。建立本地交换的方法具体可参见场景一中的相关描述,在此不再赘述。B306. MSC-A sends an INFO[INR] message to MSC-B to start local switching. The INFO[INR] message carries the signaling point information of the base station controller where the calling party is located, the corresponding Call-ID, and the local switching status. Start instruction; MSC-B can return a 200 OK[INF] message to MSC-A. After that, if the conditions for starting local switching are met, MSC-A will notify the base station controller where MS-A is located to start local switching, and notify the mobile The gateway releases the port A resources of MS-A; at this time, MSC-B also notifies the base station controller where MS-B is located to start local switching, and notifies the mobile gateway to release port A resources of MS-B. For details on how to establish a local exchange, refer to the relevant description in Scenario 1, which will not be repeated here.

下面描述在局间呼叫流程中,用户发生局间的基站控制器切换的场景,即源基站控制器与目标基站控制器所属的MSC不同。在此假设主叫用户发生局间的基站控制器切换,源MSC为MSC-A,源BSC为BSC1,目标MSC为MSC-A’,目标BSC为BSC2,被叫的MSC为MSC-B,被叫的BSC为BSC2,则如图7所示,具体流程如下:The following describes a scenario in which a user has an inter-office base station controller handover in an inter-office call flow, that is, the source base station controller and the target base station controller belong to different MSCs. Here, it is assumed that the calling user undergoes inter-office base station controller switching, the source MSC is MSC-A, the source BSC is BSC1, the target MSC is MSC-A', the target BSC is BSC2, the called MSC is MSC-B, and the called MSC is MSC-B. The called BSC is BSC2, as shown in Figure 7, and the specific process is as follows:

C301、MSC-A接收到切换请求后,若MSC-A判断可以启动本地交换,比如MSC-A根据本方的本地交换能力信息和对方的本地交换能力信息确定双方都具备启动本地交换的能力,则在发送给MSC-A’的切换请求中携带表示启动本地交换的指示,以便切换完成后,MSC-A’根据该表示启动本地交换的指示通知移动网关释放本方的A口资源以及通知基站控制器启动本地交换,MSC-A’返回的表示本地交换成功启动的切换响应给MSC-A;其中,发送给MSC-A’的切换请求可以是准备切换请求(MAP Prepare Handover Req);C301. After MSC-A receives the handover request, if MSC-A judges that local switching can be started, for example, MSC-A determines that both parties have the ability to start local switching according to the local switching capability information of its own party and the local switching capability information of the other party. Then, the handover request sent to MSC-A' carries an indication of starting local switching, so that after the handover is completed, MSC-A' notifies the mobile gateway to release its own A port resources and informs the base station according to the indication of starting local switching The controller starts the local switching, and MSC-A' returns a handover response indicating that the local switching is successfully started to MSC-A; wherein, the handover request sent to MSC-A' may be a MAP Prepare Handover Req;

C302、MSC-A’发送切换请求给BSC2,该切换请求中携带本地交换指示,比如指示BSC2启动本地交换或解除本地交换等等,以及携带切换后的呼叫的Call-IDBSC2可以返回切换请求确认消息给MSC-A’,该切换请求确认消息中携带本地交换确认信息;C302, MSC-A' sends a handover request to BSC2, the handover request carries a local switching instruction, such as instructing BSC2 to start local switching or cancel local switching, etc., and Call-ID BSC2 carrying the switched call can return a switching request confirmation message For MSC-A', the handover request confirmation message carries local switching confirmation information;

C303、MSC-A’发送切换请求确认消息给MSC-A,该切换请求确认消息中携带本地交换确认信息;其中,该切换请求确认消息也可以是准备切换响应(MAP Prepare Handover Resp);C303, MSC-A' sends a handover request confirmation message to MSC-A, and the handover request confirmation message carries local switching confirmation information; wherein, the handover request confirmation message can also be a MAP Prepare Handover Resp;

C304、切换完成后,MSCA’自行通知移动网关释放相应的A口承载,由MSC-A和/或MSC-B通知基站控制器启动本地交换,MSC-A与MSC-B之间的流程同用户发生局内的基站控制器切换时的流程,例如,MSC-A发送INFO[INR]消息给MSC-B,MSC-B返回200 OK[INF]消息给MSC-A,并且,MSC-B通知移动网关释放A口资源等等,具体客参见前面实施例,在此不再赘述。C304. After the handover is completed, MSCA' notifies the mobile gateway to release the corresponding A port bearer, and MSC-A and/or MSC-B notifies the base station controller to start local switching, and the process between MSC-A and MSC-B is the same as that of the user The process when the base station controller handover occurs in the office, for example, MSC-A sends an INFO[INR] message to MSC-B, MSC-B returns a 200 OK[INF] message to MSC-A, and MSC-B notifies the mobile gateway For the release of port A resources, etc., refer to the previous embodiments for specific details, and details will not be repeated here.

当然,除了上面所描述的由MSC-A判断是否可以启动本地交换之外,也可以由MSC-A’来进行判断,如下:Of course, in addition to the MSC-A described above judging whether local switching can be started, it can also be judged by MSC-A', as follows:

在局间切换完成后,无论是否启动了本地交换,MSC-A都要给MSC-A’发送本地交换信息,例如通知MSC-A’本呼叫的本地交换能力,以及MSC-B所在的基站控制器信令点信息和Call-ID,以便目标移动交换中心根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理。另外,在后续呼叫过程中,若该呼叫的本地交换能力信息或MSC-B所在的基站控制器信令点信息发生变化时,MSCA也都要通知MSCA’。After the inter-office handover is completed, regardless of whether the local switching is started, MSC-A must send local switching information to MSC-A', such as notifying MSC-A' of the local switching capability of the call and the control of the base station where MSC-B is located. Signaling point information and Call-ID of the device, so that the target mobile switching center performs local switching processing according to the local switching information of its own party and the local switching information of the other party. In addition, in the subsequent call process, if the local switching capability information of the call or the signaling point information of the base station controller where the MSC-B is located changes, the MSCA must also notify the MSCA'.

下面再描述局间切换完成后,用户再发生局内切换时,本地交换的检查和启动流程。即,如果局间切换后,主被叫并不在一个基站控制器上而没有启动本地交换,后续用户在MSC-A’内发生局内跨基站控制器切换,如果切换到了对方用户所在的基站控制器,则此时可以启动本地交换。The following describes the check and start-up process of the local exchange when the intra-office handover occurs after the inter-office handover is completed. That is, if after the inter-office handover, the caller and the called party are not on the same base station controller and do not start local switching, the subsequent intra-office inter-base station controller handover occurs in MSC-A'. , then local switching can be started at this time.

MSC-A’收到切换请求后,首先发送INFO[INR]消息询问MSC-A是否可以启动本地交换,该INFO[INR]消息中携带切换目标BSC信息,若MSC-A判断可以启动本地交换,则给MSC-A’返回允许启动本地交换的指示,MSC-A’继续进行后续的切换和启动本地交换操作,具体可参见前面实施例,切换完成后,MSC-A’要知会MSC-A已经启动了本地交换。MSC-A需要向MSC-B传递MSC-A’的本地交换信息。After receiving the handover request, MSC-A' first sends an INFO[INR] message to inquire whether MSC-A can start local switching. The INFO[INR] message carries the handover target BSC information. If MSC-A judges that local switching can be started, Then give MSC-A' an instruction to allow the start of local switching, and MSC-A' continues to perform subsequent handover and start local switching operations. For details, refer to the previous embodiment. After the handover is completed, MSC-A' will notify MSC-A Local switching has been started. MSC-A needs to deliver the local switching information of MSC-A' to MSC-B.

当然,也可以由MSC-A’自行判断是否可以启动本地交换,即MSC-A’收到切换请求后,自行判断是否可以启动本地交换,如果可以启动则在切换流程中启动本地交换,切换完成后,MSC-A’通知MSC-A已经启动了本地交换,MSC-A需要向MSC-B传递MSC-A’的本地交换信息。Of course, MSC-A' can also judge whether local switching can be started by itself, that is, MSC-A' can judge whether local switching can be started after receiving the handover request, and if it can be started, start local switching during the handover process, and the handover is completed Afterwards, MSC-A' notifies MSC-A that the local switching has been started, and MSC-A needs to transmit the local switching information of MSC-A' to MSC-B.

需说明的是,在MSC POOL组网下,呼叫的一方发生跨基站控制器切换后,即使没有启动本地交换,该呼叫所在的MSC也要向对方MSC通知新的基站控制器信息。It should be noted that, in the MSC POOL network, after the calling party is switched across base station controllers, even if local switching is not activated, the MSC where the call is located must notify the other MSC of the new base station controller information.

(四)场景四:切换过程中解除本地交换(4) Scenario 4: Release local switching during switching

首先,描述在局间呼叫流程中,用户发生局内的基站控制器切换时,本地交换解除的流程。如下:Firstly, in the inter-office call flow, when the user has an intra-office base station controller handover, the flow of local switching release is described. as follows:

MSC-A接收切换请求,根据接收到切换请求判断需要解除本地交换时,发送本地交换解除请求给MSC-B,比如发送INFO[INR]消息给MSC-B,MSC-B接收到后,可以根据该本地交换解除请求判断是否可以解除本地交换,若不能解除,则向MSC-A返回表示拒绝的消息,MSC-A接收到该表示拒绝的消息后,拒绝切换;若可以解除,则向移动网关申请A口资源,并向MSC-A返回表示成功申请了A口资源的确认消息,比如向MSC-A返回本地交换信息确认消息,其中,该本地交换信息确认消息中携带MSC-B向移动网关申请的A口资源,MSC-A接收到该确认消息后,向移动网关申请A口资源,通知基站控制器解除本地交换,并进行后面的切换处理,在发送给源BSC的切换命令中携带解除本地交换的指示,以及MSC-B申请的A口资源信息,在切换完成后,通知MSC-B本地交换已经解除。MSC-A receives the handover request, and when it judges that the local switching needs to be released according to the received handover request, it sends a local switching release request to MSC-B, such as sending an INFO[INR] message to MSC-B. After receiving the handover request, MSC-B can The local switching release request judges whether the local switching can be released, and if it cannot be released, a message indicating rejection is returned to MSC-A, and MSC-A refuses to switch after receiving the message indicating rejection; Apply for port A resources, and return to MSC-A a confirmation message indicating successful application for port A resources, such as returning a local switching information confirmation message to MSC-A, wherein the local switching information confirmation message carries MSC-B to the mobile gateway After receiving the confirmation message, MSC-A applies for A port resources to the mobile gateway, notifies the base station controller to release the local switching, and performs subsequent handover processing, and carries the release command in the handover command sent to the source BSC. The instruction of the local switching, and the resource information of the A port applied by MSC-B, after the handover is completed, notify the MSC-B that the local switching has been released.

当然,MSC-A也可以在向MGW申请A口资源后,再向MSC-B发送INFO[INR]消息,即MSC-A向移动网关申请A口资源,若申请A口资源成功,才发送INFO[INR]消息给MSC-B。Of course, MSC-A can also send an INFO[INR] message to MSC-B after applying for A port resources from MGW, that is, MSC-A applies for A port resources to the mobile gateway, and only sends INFO if the application for A port resources is successful. [INR] message to MSC-B.

另外,除了上面所描述的只由一方的MSC,比如MSC-A来指示基站控制器解除本地交换之外,也可以由双方的MSC,比如MSC-A和MSC-B各自指示BSC解除本地交换。如下:In addition, in addition to the above description that only one MSC, such as MSC-A, instructs the base station controller to release the local switching, MSCs of both parties, such as MSC-A and MSC-B, can also instruct the BSC to release the local switching. as follows:

MSC-A接收切换请求,根据接收到的切换请求判断需要解除本地交换时,发送本地交换解除请求给MSC-B,比如发送INFO[INR]消息给MSC-B,MSC-B接收到后,根据该INFO[INR]消息判断是否允许解除本地交换,若不能解除,则向MSC-A返回表示拒绝的消息,MSC-A接收到该表示拒绝的消息后,拒绝切换;若可以解除,则向移动网关申请A口资源,并返回本地交换解除允许指示给MSC-A(不携带申请的A口资源信息),MSC-A根据本地交换解除允许指示进行后面的切换处理,包括向移动网关申请A口资源,以及通知基站控制器解除本地交换。切换完成后,MSC-A发送关于已经解除本地交换的通知给MSC-B,MSC-B根据该关于已经解除本地交换的通知解除本地交换,并返回200 OK[INF]消息。MSC-A receives the handover request, and when it judges that local switching needs to be released according to the received handover request, it sends a local switching release request to MSC-B, such as sending an INFO[INR] message to MSC-B. The INFO[INR] message judges whether to allow the release of local switching. If it cannot be released, it will return a message of rejection to MSC-A. After receiving the message of rejection, MSC-A will refuse to switch; The gateway applies for A-port resources, and returns a local exchange release permission instruction to MSC-A (without carrying the applied A-port resource information), and MSC-A performs subsequent handover processing according to the local exchange release permission instruction, including applying for A-port to the mobile gateway. resources, and notify the base station controller to release the local switching. After the handover is completed, MSC-A sends a notification to MSC-B about the cancellation of the local switching, and MSC-B cancels the local switching according to the notification about the cancellation of the local switching, and returns a 200 OK[INF] message.

当然,MSC-A也可以在向MGW申请A口资源后,再向MSC-B发送INFO[INR]消息,即MSC-A向移动网关申请A口资源,若申请A口资源成功,才发送INFO[INR]消息给MSC-B。Of course, MSC-A can also send an INFO[INR] message to MSC-B after applying for A port resources from MGW, that is, MSC-A applies for A port resources to the mobile gateway, and only sends INFO if the application for A port resources is successful. [INR] message to MSC-B.

如果用户发生局间的基站控制器切换,需要解除本地交换时,MSC-A和MSC-B之间的交互和局内切换相同,在此不在赘述,需说明的是,此时,MSC-A’在进行切换前,要先得到MSC-A和MSC-B的许可。If the user has inter-office base station controller handover and needs to release the local exchange, the interaction between MSC-A and MSC-B is the same as the intra-office handover, which will not be described here. It should be noted that at this time, MSC-A Before switching, the permission of MSC-A and MSC-B must be obtained.

由上可知,本实施例采用通过中继信令来进行MSC之间的本地交换信息的交互,以便MSC可以根据完整的本地交换信息(本方和对方的本地交换信息)进行本地交换的处理,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主被叫所在的MSC也可以相互得知对方呼叫所在的基站控制器,可以进行启动本地交换的判断以便进行本地交换的处理,而且,由于可以通过中继信令来传递MSC之间的本地交换信息,所以如果呼叫在其中一个MSC上被监听,或进行放音、补充业务等操作而不能启动本地交换时,另一个MSC也可以得知,有利于本地交换的实现。进一步的,采用中继信令来传递MSC之间的本地交换信息,相对与采用MAP信令来传递MSC之间的本地交换信息来说,虽然需要对MSC作较多的改动,但无需对HLR进行改动(采用MAP信令来传递MSC之间的本地交换信息则需要改动MSC和HLR)。As can be seen from the above, in this embodiment, the exchange of local exchange information between MSCs is carried out through relay signaling, so that the MSC can perform local exchange processing according to the complete local exchange information (the local exchange information of the local party and the other party), In the MSC POOL network, even if the calling party and the called party are located on different MSCs, the MSCs where the calling party and the called party are located can also know the base station controller where the other party is calling, and can make a judgment to start the local switching in order to perform the local switching. Moreover, since the local switching information between MSCs can be transmitted through relay signaling, if a call is monitored on one of the MSCs, or the local switching cannot be started when performing operations such as announcements or supplementary services, the other The MSC can also learn, which is beneficial to the realization of local switching. Further, the use of relay signaling to transfer local exchange information between MSCs, compared with the use of MAP signaling to transfer local exchange information between MSCs, although more changes are required to MSC, but there is no need for HLR Make changes (using MAP signaling to transmit local exchange information between MSCs requires changes to MSC and HLR).

实施例四、Embodiment four,

为了更好地实施以上方法,本发明实施例还相应地提供一种移动交换中心,即MSC,如图8所示,该MSC包括获取单元401和处理单元402;In order to better implement the above method, the embodiment of the present invention also provides a mobile switching center, MSC, as shown in FIG. 8 , the MSC includes an acquisition unit 401 and a processing unit 402;

获取单元401,用于获取对方呼叫的MSC发送的对方的本地交换信息;例如,当呼叫双方分别在第一移动交换中心与第二移动交换中心时,第一移动交换中心获取第二移动交换中心发送的第二呼叫方的本地交换信息,具体可以通过MAP信令或中继信令获取对方呼叫的MSC发送的对方的本地交换信息,其中,本地交换信息可以包括基站控制器的信息,比如基站控制器信令点信息,还可以包括本地交换能力信息等信息,当然,还包括建立和解除本地交换所需使用的其它信息,例如呼叫的Call-ID和A口承载信息等信息。其中,基站控制器信令点信息指的是一方呼叫腿所在的基站控制器,而本地交换能力信息是指呼叫是否被监听,或是否在进行放音、补充业务等操作。The obtaining unit 401 is used to obtain the local switching information of the other party sent by the MSC called by the other party; The local switching information sent by the second calling party can specifically obtain the local switching information of the other party sent by the MSC called by the other party through MAP signaling or relay signaling, wherein the local switching information can include the information of the base station controller, such as the base station The signaling point information of the controller may also include information such as local switching capability information, and of course other information needed to establish and release local switching, such as Call-ID of a call and A-port bearer information. Among them, the signaling point information of the base station controller refers to the base station controller where a calling leg is located, and the local switching capability information refers to whether the call is being monitored, or whether it is performing operations such as playback and supplementary services.

处理单元402,用于根据本方的本地交换信息和获取单元401获取到的对方的本地交换信息进行本地交换的处理,即根据第一呼叫方的本地交换信息,以及所述第二呼叫方的本地交换信息进行本地交换的处理,其中,所述第一呼叫方的本地交换信息或第二呼叫方的本地交换信息分别包括相应呼叫方所在的基站控制器的信息。The processing unit 402 is configured to perform local switching processing according to the local switching information of the own party and the local switching information of the other party acquired by the obtaining unit 401, that is, according to the local switching information of the first calling party and the local switching information of the second calling party The local switching information performs local switching processing, wherein the local switching information of the first calling party or the local switching information of the second calling party respectively include the information of the base station controller where the corresponding calling party is located.

其中,如图8所示,所述处理单元402可以包括第一判断子单元4021和通知子单元4023;Wherein, as shown in FIG. 8, the processing unit 402 may include a first judgment subunit 4021 and a notification subunit 4023;

第一判断子单元4021,用于根据本方的本地交换信息和获取单元401获取到的对方的本地交换信息判断双方呼叫是否属于同一个基站控制器,即根据第一呼叫方的基站控制器信息和获取单元401获取到的第二呼叫方的基站控制器信息判断双方呼叫是否属于同一个基站控制器;The first judging subunit 4021 is used to judge whether the calls of both parties belong to the same base station controller according to the local switching information of the own party and the local switching information of the other party acquired by the obtaining unit 401, that is, according to the base station controller information of the first calling party Judging whether the calls of both parties belong to the same base station controller with the base station controller information of the second calling party obtained by the obtaining unit 401;

通知子单元4023,用于当第一判断子单元4021确定双方呼叫属于同一个基站控制器时,通知基站控制器启动本地交换,并通知移动网关释放本方的A口资源,即第一呼叫方的A口资源。The notification subunit 4023 is used to notify the base station controller to start local switching when the first judging subunit 4021 determines that both calls belong to the same base station controller, and notify the mobile gateway to release the A port resources of the party, that is, the first calling party Port A resources.

其中,如图8所示,所述处理单元402还可以包括第二判断子单元4022;Wherein, as shown in FIG. 8, the processing unit 402 may further include a second judging subunit 4022;

第二判断子单元4022,用于根据本方的本地交换信息和获取单元401获取到的对方(第二呼叫方)的本地交换信息,即第二呼叫方的本地交换信息判断双方是否都具备启动本地交换的能力;The second judging subunit 4022 is used to judge whether both parties have enabled the local switching information according to the local switching information of the party and the local switching information of the other party (the second calling party) acquired by the acquiring unit 401, that is, the local switching information of the second calling party. Ability to switch locally;

所述获取单元401,还用于当第一呼叫方的本地交换信息或第二呼叫方的本地交换信息还分别包括所述相应呼叫方的本地交换能力信息时,获取所述第二呼叫方的本地交换能力信息;The obtaining unit 401 is further configured to obtain the local switching information of the second calling party when the local switching information of the first calling party or the local switching information of the second calling party respectively include the local switching capability information of the corresponding calling party. local exchange capability information;

所述通知子单元4023,用于当第一判断子单元4021确定双方呼叫属于同一个基站控制器,且第二判断子单元4022确定双方都具备启动本地交换的能力时,通知基站控制器启动本地交换,并通知移动网关释放本方的A口资源,即第一呼叫方的A口资源。The notification subunit 4023 is used to notify the base station controller to start the local switching when the first judging subunit 4021 determines that both calls belong to the same base station controller, and the second judging subunit 4022 determines that both parties have the ability to start local switching. exchange, and notify the mobile gateway to release the A port resources of the party, that is, the A port resources of the first calling party.

如图8所示,处理单元402还可以包括第一发送子单元4024;As shown in FIG. 8, the processing unit 402 may further include a first sending subunit 4024;

第一发送子单元4024,用于发送本地交换建立响应消息给对方呼叫的MSC如第二移动交换中心,以便对方呼叫的MSC如第二移动交换中心根据该本地交换建立响应消息通知移动网关释放对方的A口资源如第二呼叫的A口资源。The first sending subunit 4024 is configured to send a local exchange establishment response message to the MSC called by the other party, such as the second mobile switching center, so that the MSC called by the other party, such as the second mobile switching center, notifies the mobile gateway to release the other party according to the local exchange establishment response message The A port resource of the second call is like the A port resource of the second call.

如图8所示,处理单元402还可以包括申请子单元4025;As shown in FIG. 8, the processing unit 402 may also include an application subunit 4025;

申请子单元4025,用于根据本方的本地交换信息和获取单元401获取到的对方的本地交换信息向移动网关申请本方的A口资源,比如根据第一呼叫方的本地交换信息和获取单元获取到的第二呼叫方的本地交换信息向移动网关申请本方的A口资源;The application subunit 4025 is configured to apply to the mobile gateway for the A port resources of the party according to the local exchange information of the party and the local exchange information of the other party acquired by the acquisition unit 401, for example, according to the local exchange information of the first calling party and the acquisition unit The acquired local switching information of the second calling party applies to the mobile gateway for the A port resources of the party;

所述第一发送子单元4024,还用于在申请子单元4025申请本方的A口资源成功后,发送本地交换解除请求给对方呼叫的MSC如第二移动交换中心,以便对方呼叫的MSC如第二移动交换中心根据该本地交换解除请求向移动网关申请对方的A口资源,即第二呼叫方的A口资源;The first sending subunit 4024 is also used to send a local exchange release request to the MSC called by the other party, such as the second mobile switching center, after the application subunit 4025 successfully applies for the A port resources of the party, so that the MSC called by the other party such as The second mobile switching center applies to the mobile gateway for the A port resources of the other party according to the local switching release request, that is, the A port resources of the second calling party;

所述通知子单元4023,还用于在接收到对方呼叫的MSC返回的表示成功申请了对方(第二呼叫方)的A口资源的确认消息后,通知基站控制器解除本地交换。The notification subunit 4023 is further configured to notify the base station controller to cancel the local switching after receiving the confirmation message returned by the MSC called by the other party indicating that the A port resource of the other party (the second calling party) has been successfully applied.

如图8所示,处理单元402还可以包括切换处理子单元4026;As shown in FIG. 8, the processing unit 402 may further include a switching processing subunit 4026;

切换处理子单元4026,用于当第二判断子单元4022确定双方都具备启动本地交换的能力时,在发送给目标MSC的切换请求中携带表示启动本地交换的指示,以便切换完成后,目标MSC根据该表示启动本地交换的指示通知移动网关释放本方的A口资源以及通知基站控制器启动本地交换,然后接收目标移动交换中心返回的表示本地交换成功启动的切换响应。The handover processing subunit 4026 is configured to carry an indication of starting local switching in the handover request sent to the target MSC when the second judging subunit 4022 determines that both parties have the ability to start local switching, so that after the handover is completed, the target MSC Notify the mobile gateway to release its own A port resources and notify the base station controller to start the local switching according to the instruction indicating that the local switching is started, and then receive the handover response returned by the target mobile switching center indicating that the local switching is successfully started.

如图8所示,处理单元402还可以第二发送子单元4027;As shown in FIG. 8, the processing unit 402 may also be a second sending subunit 4027;

第二发送子单元4027,用于分别发送本方的本地交换信息和获取单元401获取到的对方的本地交换信息给目标MSC(即本方的本地交换信息和对方的本地交换信息可以不同时发送),以便目标MSC根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理。The second sending subunit 4027 is used to send the local exchange information of the own party and the local exchange information of the other party acquired by the acquisition unit 401 to the target MSC respectively (that is, the local exchange information of the own party and the local exchange information of the other party may not be sent at the same time ), so that the target MSC performs local switching processing according to the local switching information of its own party and the local switching information of the other party.

以上各个单元的具体实施可参见前面实施例,在此不在赘述。For the specific implementation of each of the above units, reference may be made to the foregoing embodiments, and details are not repeated here.

由上可知,本实施例的MSC的获取单元401可以获取对方呼叫的MSC发送的对方的本地交换信息,然后由处理单元402根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主被叫所在的MSC也可以相互得知对方呼叫所在的基站控制器,可以进行启动本地交换的判断以便进行本地交换的处理,而且,由于获取单元401可以获取对方MSC发送的对方的本地交换信息,所以如果呼叫在其中一个MSC上被监听,或进行放音、补充业务等操作而不能启动本地交换时,另一个MSC也可以得知,有利于本地交换的实现。As can be seen from the above, the acquisition unit 401 of the MSC in this embodiment can acquire the local switching information of the other party sent by the MSC called by the other party, and then the processing unit 402 performs local switching processing according to the local switching information of the own party and the local switching information of the other party , so that in the MSC POOL network, even if the calling party and the called party are located on different MSCs, the MSCs where the calling party and the called party are located can also know the base station controller where the other party is calling, and can make a judgment to start local switching in order to perform local switching Moreover, since the obtaining unit 401 can obtain the local exchange information of the other party sent by the other party's MSC, if the call is monitored on one of the MSCs, or the local exchange cannot be started when performing operations such as announcements and supplementary services, the other The MSC can also learn, which is beneficial to the realization of local switching.

实施例五、Embodiment five,

相应地,本发明实施例还相应地提供一种通信系统,包括本发明实施例提供的任意一种MSC,如图9所示,该通信系统具体可以包括第一移动交换中心(第一MSC)501和第二移动交换中心(第二MSC)502;Correspondingly, the embodiment of the present invention also provides a communication system correspondingly, including any MSC provided in the embodiment of the present invention. As shown in FIG. 9, the communication system may specifically include a first mobile switching center (first MSC) 501 and a second mobile switching center (second MSC) 502;

第一移动交换中心501,用于当呼叫双方分别在第一移动交换中心501与第二移动交换中心502时,获取第二移动交换中心502发送的第二呼叫方的本地交换信息,根据所述第一呼叫方的本地交换信息,以及所述第二呼叫方的本地交换信息进行本地交换的处理,其中,所述第一呼叫方的本地交换信息或第二呼叫方的本地交换信息分别包括相应呼叫方所在的基站控制器的信息;The first mobile switching center 501 is used to obtain the local switching information of the second calling party sent by the second mobile switching center 502 when both calling parties are in the first mobile switching center 501 and the second mobile switching center 502 respectively, according to the The local switching information of the first calling party and the local switching information of the second calling party are processed for local switching, wherein the local switching information of the first calling party or the local switching information of the second calling party include corresponding Information about the base station controller where the calling party is located;

第二移动交换中心502,用于发送对方的本地交换信息给第一移动交换中心501。The second mobile switching center 502 is configured to send the local switching information of the other party to the first mobile switching center 501 .

所述第二移动交换中心502,还用于通过MAP信令或中继信令发送第二呼叫方的本地交换信息给第一移动交换中心501。其中,本地交换信息除了可以包括基站控制器的信息,比如基站控制器信令点信息之外,还可以包括本地交换能力信息等信息,当然,还包括建立和解除本地交换所需使用的其它信息,例如呼叫的Call-ID和A口承载信息等信息。其中,基站控制器信令点信息指的是一方呼叫腿所在的基站控制器,而本地交换能力信息是指呼叫是否被监听,或是否在进行放音、补充业务等操作。The second mobile switching center 502 is further configured to send the local switching information of the second calling party to the first mobile switching center 501 through MAP signaling or relay signaling. Wherein, the local switching information may not only include base station controller information, such as base station controller signaling point information, but also include information such as local switching capability information, and of course, other information required to establish and release local switching , such as the Call-ID of the call and the bearer information of the A interface. Among them, the signaling point information of the base station controller refers to the base station controller where a calling leg is located, and the local switching capability information refers to whether the call is being monitored, or whether it is performing operations such as playback and supplementary services.

第一移动交换中心501和第二移动交换中心502的交互具体可参见前面实施例,在此不再赘述。The interaction between the first mobile switching center 501 and the second mobile switching center 502 may refer to the foregoing embodiments for details, and details are not repeated here.

由上可知,本实施例的通信系统中的MSC可以获取对方呼叫的MSC发送的对方的本地交换信息,然后根据本方的本地交换信息和对方的本地交换信息进行本地交换的处理,使得在MSC POOL组网下,即使主被叫分别位于不同的MSC上,主被叫所在的MSC也可以相互得知对方呼叫所在的基站控制器,可以进行启动本地交换的判断以便进行本地交换的处理,而且,由于MSC可以获取对方MSC发送的对方的本地交换信息,所以如果呼叫在其中一个MSC上被监听,或进行放音、补充业务等操作而不能启动本地交换时,另一个MSC也可以得知,有利于本地交换的实现。其中,具体可以通过MAP信令或中继信令来传递MSC之间的本地交换信息(详细的实施方式可参见前面实施例二和实施例三),采用MAP信令来传递MSC之间的本地交换信息时,需要对MSC和HLR都进行改造,但对MSC的改变较少,采用中继信令来传递MSC之间的本地交换信息时,只需对MSC进行改造(无需改造HLR),但对MSC的改变较多。至于具体采用哪种方式来传递MSC之间的本地交换信息,可以根据运营商的策略来选择。As can be seen from the above, the MSC in the communication system of this embodiment can obtain the local exchange information of the other party sent by the MSC called by the other party, and then perform local exchange processing according to the local exchange information of the party and the local exchange information of the other party, so that the MSC In the POOL network, even if the calling party and the called party are located on different MSCs, the MSCs where the calling party and the called party are located can also know the base station controller where the other party is calling, and can make a judgment to start the local switching in order to perform local switching processing, and , since the MSC can obtain the local exchange information sent by the other party's MSC, if the call is monitored on one of the MSCs, or the local exchange cannot be started when performing operations such as announcements or supplementary services, the other MSC can also know, Facilitate the realization of local exchange. Specifically, the local exchange information between MSCs can be transferred through MAP signaling or relay signaling (for detailed implementation, please refer to the previous embodiment two and embodiment three), and the local exchange information between MSCs can be transferred by using MAP signaling. When exchanging information, both the MSC and the HLR need to be modified, but the changes to the MSC are less. There are more changes to MSC. As for which way to transfer the local exchange information between MSCs, it can be selected according to the operator's strategy.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.

以上对本发明实施例所提供的一种本地交换的实现方法、移动交换中心和通信系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The implementation method, mobile switching center and communication system of a kind of local exchange provided by the embodiment of the present invention have been introduced in detail above. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments It is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, The contents of this description should not be construed as limiting the present invention.

Claims (22)

1. the implementation method of a local exchange is characterized in that, comprising:
When calling both sides during respectively in first mobile switching centre and second mobile switching centre, first mobile switching centre at first MPTY place obtains the local exchange message of second MPTY that second mobile switching centre sends;
First mobile switching centre is according to the local exchange message of first MPTY; And the local exchange message of second MPTY is carried out the processing of local exchange; Wherein, the local exchange message of the local exchange message of first MPTY or second MPTY comprises the information of the base station controller at place, respective call side respectively.
2. method according to claim 1 is characterized in that, the local exchange message that said first mobile switching centre obtains second MPTY of second mobile switching centre transmission comprises:
First mobile switching centre obtains the local exchange message of second mobile switching centre through second MPTY of MAP MAP signaling or the transmission of relaying signaling.
3. method according to claim 2 is characterized in that, said first mobile switching centre obtains before the local exchange message of second mobile switching centre through second MPTY of MAP signaling transmission, also comprises:
First mobile switching centre sends we's address and the international mobile subscriber identification code IMSI of this party call gives second mobile switching centre;
The local exchange message that said first mobile switching centre obtains second MPTY that second mobile switching centre sends through MAP MAP signaling comprises: the local exchange message of obtaining second MPTY that passes through the MAP signaling bear that second mobile switching centre sends according to the address of first mobile switching centre.
4. method according to claim 3 is characterized in that, through the local exchange message of MAP signaling bear is:
Expand the routing iinformation request SRI and the roaming number request PRN of existing MAP signaling or increase the MAP signaling newly and carry local exchange message.
5. method according to claim 2 is characterized in that, the local exchange message that said first mobile switching centre obtains second MPTY that second mobile switching centre sends through the relaying signaling comprises:
Through information request INR or the information INF cell of expansion with the call control protocol BICC message of bearer independent, perhaps expand the INR or the INF cell of ISUP isup message, perhaps newly-increased relaying signaling is carried local exchange message.
6. method according to claim 1 is characterized in that, said first mobile switching centre is according to the local exchange message of first MPTY, and the processing that the local exchange message of second MPTY is carried out local exchange comprises:
First mobile switching centre confirms that based on the base station controller information of we's the base station controller information and second MPTY both sides call out when belonging to same base station controller; Notify said base station controller to start local exchange, and the notice mobile gateway discharge we's A mouth resource.
7. method according to claim 6 is characterized in that, said base station controller information is the information of base station controller signalling point;
Then first mobile switching centre confirms according to the information of the base station controller signalling point of the information of we's base station controller signalling point and second MPTY that both sides call out and whether belongs to same base station controller.
8. method according to claim 1 is characterized in that, the local exchange message of said first MPTY or the local exchange message of second MPTY also comprise following combination in any respectively:
The local exchanging capability information of respective call side;
The call identification Call-ID of respective call side;
The A mouthpiece of respective call side carries information.
9. method according to claim 8; It is characterized in that; When the local exchange message of the local exchange message of first MPTY or second MPTY also comprises the local exchanging capability information of said respective call side respectively; Said first mobile switching centre is according to the local exchange message of first MPTY, and the processing that the local exchange message of said second MPTY is carried out local exchange comprises:
First mobile switching centre confirms according to the base station controller signalling point information of we's the base station controller signalling point information and second mobile switching centre that both sides call out and belongs to same base station controller; And when confirming that according to the local exchanging capability information of local exchanging capability information and second MPTY of self both sides possess the ability that starts local exchange; Notify said base station controller to start local exchange, and the notice mobile gateway discharge the A mouth resource of said second MPTY.
10. method according to claim 6 is characterized in that, after the notice mobile gateway discharges our A mouth resource, also comprises:
Send local exchange and set up response message, so that second mobile switching centre sets up the A mouth resource that response message notice mobile gateway discharges second MPTY based on this this locality exchange to second mobile switching centre.
11. based on claim 6 or 9 described methods, it is characterized in that, after this locality exchange is set up, also comprise:
First mobile switching centre is based on the local exchange message of we's the local exchange message and second MPTY A mouth resource to mobile gateway application we;
When application we's A mouth resource success, the local exchange of transmission is removed request to second mobile switching centre, so that second mobile switching centre removes the A mouth resource of request to mobile gateway application second MPTY according to this this locality exchange;
Receiving after expression that second mobile switching centre returns successfully applied for the affirmation message of A mouth resource of second MPTY, the informing base station controller is removed local exchange.
12. method according to claim 6 is characterized in that, said method also comprises:
Second mobile switching centre obtains the local exchange message of first MPTY of first mobile switching centre transmission;
Second mobile switching centre confirms based on the base station controller signalling point information of we's the base station controller signalling point information and first MPTY that both sides call out and belongs to same base station controller; Notify said base station controller to start local exchange, and the notice mobile gateway discharge we's A mouth resource.
13. based on the described method of claim 12, it is characterized in that, after this locality exchange is set up, also comprise:
Second mobile switching centre is based on the local exchange message of we's the local exchange message and first MPTY A mouth resource to mobile gateway application we;
When application we's A mouth resource success, the local exchange of transmission is removed request to first mobile switching centre, so that first mobile switching centre removes the A mouth resource of request to mobile gateway application first MPTY according to this this locality exchange;
Receiving after expression that first mobile switching centre returns successfully applied for the affirmation message of A mouth resource of first MPTY, the informing base station controller is removed local exchange.
14. according to claim 6 or 9 or 12 described methods, it is characterized in that, when inter-office switchover takes place, also comprise:
First mobile switching centre or second mobile switching centre confirm that according to we's the local exchanging capability information and the local exchanging capability information of second MPTY both sides possess the ability that starts local exchange; Then in the handoff request that sends to target mobile switching centre, carry expression and start the local indication that exchanges; So that after switch accomplishing, A mouth resource and informing base station controller that the indication notice mobile gateway that target mobile switching centre starts local exchange according to this expression discharges the corresponding MPTY of said target mobile switching centre start local the exchange;
The local handoff response that successfully starts that exchanges of the expression that receiving target mobile switching centre returns.
15. a mobile switching centre is characterized in that, comprising:
Acquiring unit is used for when calling both sides during respectively in this mobile switching centre and second mobile switching centre, obtains the local exchange message of second MPTY that second mobile switching centre sends;
Processing unit; Be used for local exchange message according to first MPTY; And the local exchange message of said second MPTY is carried out the processing of local exchange; Wherein, the local exchange message of the local exchange message of said first MPTY or second MPTY comprises the information of the base station controller at place, respective call side respectively.
16. mobile switching centre according to claim 15 is characterized in that, said processing unit comprises:
First judgment sub-unit, the base station controller information that is used for second MPTY that base station controller information and said acquiring unit according to first MPTY get access to are judged that both sides call out and whether are belonged to same base station controller;
The notice subelement is used for confirming both sides when said first judgment sub-unit and calls out when belonging to same base station controller, and the informing base station controller starts local exchange, and the notice mobile gateway discharges our A mouth resource.
17. mobile switching centre according to claim 16; It is characterized in that; Said acquiring unit; Also be used for when the local exchange message of the local exchange message of first MPTY or second MPTY also comprises the local exchanging capability information of said respective call side respectively, obtaining the local exchanging capability information of said second MPTY;
Said processing unit also comprises:
Second judgment sub-unit, the local exchanging capability information that is used for second MPTY that local exchanging capability information and said acquiring unit according to we get access to judges whether both sides all possess the ability that starts local exchange;
Said notice subelement also is used for when said second judgment sub-unit judges that both sides possess the ability that starts local exchange, and the informing base station controller starts local exchange, and the notice mobile gateway discharges we's A mouth resource.
18. mobile switching centre according to claim 16 is characterized in that, said processing unit also comprises:
First sends subelement, is used to send local exchange and sets up response message to second mobile switching centre, so that second mobile switching centre sets up the A mouth resource that response message notice mobile gateway discharges second MPTY based on this this locality exchange.
19. mobile switching centre according to claim 17 is characterized in that, said processing unit also comprises:
The application subelement, the local exchange message that is used for second MPTY that local exchange message and acquiring unit according to first MPTY get access to is to the our A mouth resource of mobile gateway application;
First sends subelement; Be used for after application subelement application we's A mouth resource success; Send local exchange releasing request and give second mobile switching centre, so that second mobile switching centre removes the A mouth resource of asking to mobile gateway application second MPTY according to this this locality exchange;
Said notice subelement also is used for receiving after expression that second mobile switching centre returns successfully applied for the affirmation message of A mouth resource of second MPTY, and the informing base station controller is removed local exchange.
20. mobile switching centre according to claim 19; It is characterized in that; Said processing unit also comprises: the hand-off process subelement; Be used for when second judgment sub-unit confirms that both sides possess the ability that starts local exchange, in the handoff request that sends to target mobile switching centre, carrying the indication of representing to start local exchange, so that after switching completion; A mouth resource and informing base station controller that indication notice mobile gateway that target mobile switching centre starts local exchange according to this expression discharges we start local exchange, then the local successfully handoff response of startup that exchange of expression returned of receiving target mobile switching centre.
21. a communication system is characterized in that, comprises first mobile switching centre and second mobile switching centre;
Said first mobile switching centre; Be used for when calling both sides during respectively in first mobile switching centre and second mobile switching centre; Obtain the local exchange message of second MPTY of second mobile switching centre transmission; Local exchange message according to first MPTY; And the local exchange message of said second MPTY carries out the processing of local exchange, and wherein, the local exchange message of said first MPTY or the local exchange message of second MPTY comprise the information of the base station controller at place, respective call side respectively;
Said second mobile switching centre, the local exchange message that is used to send we is to first mobile switching centre.
22. communication system according to claim 21 is characterized in that,
Said second mobile switching centre, the local exchange message that is used for sending second MPTY through MAP MAP signaling or relaying signaling is to first mobile switching centre.
CN2009101457189A 2009-05-31 2009-05-31 Local switch implementation method, mobile switch centre and communication system Expired - Fee Related CN101902824B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2009101457189A CN101902824B (en) 2009-05-31 2009-05-31 Local switch implementation method, mobile switch centre and communication system
PCT/CN2010/072549 WO2010139225A1 (en) 2009-05-31 2010-05-10 Implementing method of local exchange, mobile switching center, and communication system
RU2011153729/08A RU2487503C1 (en) 2009-05-31 2010-05-10 Method of implementing local exchange, mobile switching centre and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101457189A CN101902824B (en) 2009-05-31 2009-05-31 Local switch implementation method, mobile switch centre and communication system

Publications (2)

Publication Number Publication Date
CN101902824A CN101902824A (en) 2010-12-01
CN101902824B true CN101902824B (en) 2012-11-07

Family

ID=43227930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101457189A Expired - Fee Related CN101902824B (en) 2009-05-31 2009-05-31 Local switch implementation method, mobile switch centre and communication system

Country Status (3)

Country Link
CN (1) CN101902824B (en)
RU (1) RU2487503C1 (en)
WO (1) WO2010139225A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754416B (en) * 2009-12-31 2012-01-25 华为技术有限公司 Method for establishing and removing interoffice local exchanging and mobile exchanging center
CN102497396B (en) * 2011-11-30 2015-07-22 华为技术有限公司 Communication method, base station, base station controller and mobile switching center
CN102780992B (en) * 2012-06-20 2015-01-28 华为技术有限公司 Method and device for realizing local exchange function under base station cloud
CN108156639B (en) * 2016-12-06 2020-05-08 华为技术有限公司 Method and device for returning voice service to long-term evolution network after switching

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101180843A (en) * 2005-05-25 2008-05-14 艾利森电话股份有限公司 Local switching of calls setup by multimedia core network
CN101185299A (en) * 2005-05-27 2008-05-21 艾利森电话股份有限公司 Local switching in radio access network
CN101272626A (en) * 2008-04-16 2008-09-24 华为技术有限公司 Method, device and system for realizing local exchange

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE514264C2 (en) * 1999-05-07 2001-01-29 Ericsson Telefon Ab L M A communication system
ES2274203T3 (en) * 2002-02-02 2007-05-16 Teijin Twaron B.V. METHOD FOR PRODUCING A MULTIFILAMENT ARAMIDE THREAD WITH HIGH FATIGUE RESISTANCE.
CN1311694C (en) * 2004-05-10 2007-04-18 华为技术有限公司 Evolution system and method of public switched telephone network
US7385947B2 (en) * 2005-05-04 2008-06-10 Nokia Corporation Low-cost radio access network enabling local switching
US7717342B2 (en) * 2005-08-26 2010-05-18 Hand Held Products, Inc. Data collection device having dynamic access to multiple wireless networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101180843A (en) * 2005-05-25 2008-05-14 艾利森电话股份有限公司 Local switching of calls setup by multimedia core network
CN101185299A (en) * 2005-05-27 2008-05-21 艾利森电话股份有限公司 Local switching in radio access network
CN101272626A (en) * 2008-04-16 2008-09-24 华为技术有限公司 Method, device and system for realizing local exchange

Also Published As

Publication number Publication date
WO2010139225A1 (en) 2010-12-09
CN101902824A (en) 2010-12-01
RU2487503C1 (en) 2013-07-10

Similar Documents

Publication Publication Date Title
US9232452B2 (en) Method of handling an inter rat handover in wireless communication system and related communication device
CN101159905B (en) Method for implementing local switching in base station controller, core network equipment and network system
EP2560437B1 (en) Process method, device and system for reverse single radio voice call continuity
CN101883346B (en) Safe consultation method and device based on emergency call
JP4963453B2 (en) Wireless communication system, wireless communication method, and wireless terminal
CN101128053B (en) Method, element and system for switching between core network control systems
WO2018170707A1 (en) Control plane connection management method and device
CN101902824B (en) Local switch implementation method, mobile switch centre and communication system
WO2011134151A1 (en) Method, device and system for aborting circuit switched fallback call
JP4990525B2 (en) Improved handoff technique for wireless networks
WO2009060046A1 (en) Method for establishing circuit switched calls in a mobile radio network and mobile radio network
WO2009067912A1 (en) A method and switch device for implementing switching
CN101031146B (en) Implementation method, device and system of network switching
CN103200635B (en) Method that subscriber equipment migrates between radio network controller, Apparatus and system
WO2019061433A1 (en) Csfb result detection method and device, and storage medium
CN102843679A (en) Method and system for wireless data stream transmission
WO2011017894A1 (en) Method and system for implementing the local switch of the local call
US8767675B2 (en) Method, system and base station subsystem for realizing handover in local switch
CN102821484B (en) To eat dishes without rice or wine the method for building up of upper Deta bearer and device
CN101801046B (en) Method for establishing local exchange, core network equipment and base station subsystem
CN101790246B (en) Method, device and system for local exchange
US20040132455A1 (en) Method for adapting a number of bearers to a service
CN101895945B (en) Circuit switching (CS) method and device
CN101321320A (en) Method of multimedia fallback and mobile switching center
CN108924893A (en) A kind of resource release method, device, MME and SAE-GW

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121107

CF01 Termination of patent right due to non-payment of annual fee