WO2010118679A1 - Method for switching between local switch link and non-local switch link - Google Patents

Method for switching between local switch link and non-local switch link Download PDF

Info

Publication number
WO2010118679A1
WO2010118679A1 PCT/CN2010/071741 CN2010071741W WO2010118679A1 WO 2010118679 A1 WO2010118679 A1 WO 2010118679A1 CN 2010071741 W CN2010071741 W CN 2010071741W WO 2010118679 A1 WO2010118679 A1 WO 2010118679A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
base station
data packet
receiving
received
Prior art date
Application number
PCT/CN2010/071741
Other languages
French (fr)
Chinese (zh)
Inventor
罗小冬
彭江萍
刘旭杰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010118679A1 publication Critical patent/WO2010118679A1/en

Links

Classifications

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

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method for switching between a Local Switch (LS) link and a non-local switching link.
  • LS Local Switch
  • the mobile station In the current Global System for Mobile Communications (GSM) system, the mobile station (MS) is connected to the base station (Base Transceiver Station, BTS) through the air interface, and the base station passes the ABIS interface and the base station controller (Base Station). Controller, BSC) The BSC interacts with the Mobile Switch Center (MSC) through the A port.
  • the Transcoder/Rate Adaptor Unit (TRAU) is usually located on the BSC side to perform the conversion process of the speech algorithm codec.
  • the Transcoder In the uplink direction, the Transcoder (TC) converts the compressed data packet of the BTS into a Pulse Code Modulation (PCM) voice to the MSC side, and the downlink direction sends the compressed data packet to the MSC.
  • PCM Pulse Code Modulation
  • the PCM packet is passed to the BTS by encoding into a speech parameter, which is then transmitted to the MS.
  • the local exchange of the user's voice channel can be performed, that is, the user voice channel is switched from one BTS to another BTS, thereby saving TC resources and A. Port resources, and voice quality will be improved accordingly.
  • local switching can also save Abis interface resources.
  • the establishment of a local exchange may be performed in the case of supplementary service completion, internal handover, and external handover (that is, the user session is switched from a non-LS state to an LS state).
  • the local exchange may be removed during the supplementary service start, internal handover, and external cut-out (that is, the user session is switched from the LS state to the non-LS state).
  • the general processing flow of the user session from the non-LS state to the LS state is:
  • the BSC sends a local exchange establishment command to the BTS; after receiving the command, the BTS will establish a local exchange link, and then release the current non-local exchange link. And inform the BSC that the handover is complete. As shown in Figure 1.
  • the general processing flow for switching the user session from LS state to non-LS state is: BSC to BTS A command for non-local exchange establishment is sent; after receiving the command, the BTS will establish a non-local exchange link, then remove the current local exchange link and inform the BSC that the handover is complete. as shown in picture 2.
  • the BTS only receives and transmits voice packets (ie, a single-receipt and single-issue) for a certain link (the LS link or the non-LS link) at the same time.
  • the present invention provides a method for switching between a local switched link and a non-local switched link, which can avoid the degradation of voice quality when the LS link and the non-LS link are switched.
  • the present invention provides a method for mutually switching a local switching link and a non-local switching link, including: in a local exchange LS link and a non-LS link state switching process, the base station is not a non-LS chain.
  • the data packets are sent and received, and the LS link data packets are also sent and received, but only the received valid data packets are processed.
  • the above method may also have the following feature: the base station buffers the data packet received from the LS link for a period of time, and the processing time is performed by the base station receiving the data packet from the non-LS link and receiving from the LS link.
  • the time difference of the data packet is the time when the base station transmits the data packet to the opposite base station on the non-LS link.
  • the foregoing method may further include: the base station distinguishes the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is an IP format When distinguishing by receiving the port or IP address of the packet.
  • the method may also have the following features: When the terminal switches from the non-LS link to the LS link, the base station that receives the LS link setup command sends a data packet to the opposite base station, and starts to receive the data packet sent by the base station. And the base station continues to send and receive data packets on the non-LS link, but the base station only processes the non-LS link data packets, and then processes and sends the data packets to the corresponding terminal.
  • the method may further include: when the base station receives the data packet sent by the base station, and returns a response message to the base station controller, informing the base station controller that the LS link data packet has been received, and converting to processing the LS chain Road data packet, stop processing non-LS link data packets sent by the TC;
  • the method may further include: after receiving the response message returned by the base station, the base station controller notifies the two base stations to remove the non-LS link, and the base station removes the non-LS link after receiving the notification.
  • the method may further include: when the base station receives the data packet sent by the base station, and returns a response message to the base station controller, informing the base station controller that the LS link data packet has been received, and continuing to process the non-LS chain Road data packet
  • the base station controller After receiving the response message returned by the base station, the base station controller notifies the two base stations to remove the non-LS link;
  • the base station After receiving the notification of dismantling the non-LS link, the base station turns to process the LS link data packet, and removes the non-LS link.
  • the method may also have the following features:
  • the base station that receives the non-LS link setup command sends a data packet to the base station controller, and starts to receive the call from the base station controller.
  • the data packet, and the base station continues to send and receive data packets on the LS link, but the base station only processes the LS link data packet, and the processing is sent to the corresponding terminal.
  • the method may further include: after receiving, by the base station, a data packet sent by the base station controller, returning a response message to the base station controller, informing the base station controller that the non-LS link data packet has been received, but the base station Still processing LS link packets;
  • the base station controller After the base station controller receives the second response message, it notifies the base station to remove the base station after a preset time.
  • the base station that receives the notification starts to process the non-LS link data packet, stops processing the LS link data packet, and tears down the LS link.
  • the method may further have the following feature: in the step of the base station receiving the notification starting to process the non-LS link data packet and stopping processing the LS link data packet, the base station receiving the dismantled LS link Immediately after the notification, the data packet received from the non-LS link is processed, or the data packet received from the non-LS link is processed after processing the data packet received and buffered from the LS link.
  • the invention also provides a base for supporting mutual switching between a local exchange link and a non-local exchange link.
  • the base station is configured to: in the process of locally switching the LS link and the non-LS link state, transmitting and receiving the non-LS link data packet, and also transmitting and receiving the LS link data packet, but only for receiving A valid packet is processed.
  • the base station may also have the following feature: the base station is configured to buffer the data packet received from the LS link for a period of time, and then perform processing, where the base station receives the data packet from the non-LS link and the slave LS chain. The time difference of receiving data packets on the road or the time when the base station sends a data packet to the opposite base station on the non-LS link.
  • the base station may be further configured to distinguish between the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is an IP format When distinguishing by receiving the port or IP address of the packet.
  • the base station is configured to transmit and receive non-LS link data packets, and also send and receive LS link data packets, but only for receiving, when the terminal switches from the non-LS link to the LS link.
  • the effective data packet is processed: the base station receives the LS link setup command, sends a data packet to the opposite base station on the LS link, and starts receiving the LS link data packet sent by the base station, and the base station continues to be in the non-
  • the LS link transmits and receives data packets, but only processes non-LS link data packets, and processes the packets to the corresponding terminals of the base station.
  • the base station is configured to send and receive non-LS link data packets, and also to send and receive LS link data packets, but only for receiving, in a process in which the terminal switches from the LS link to the non-LS link.
  • the effective data packet is processed: the base station receives the non-LS link setup command, sends a data packet to the base station controller on the non-LS link, and starts to receive the non-LS link data packet sent by the base station controller, and The base station continues to send and receive data packets on the LS link, but only processes the LS link data packets, and processes the data packets to the terminal corresponding to the base station.
  • the present invention provides a method for switching between a local switching link and a non-local switching link, which implements seamless connection of voice between LS link and non-LS link switching, and avoids degradation of voice quality. Improve the user experience.
  • Figure 1 is a flow chart of non-LS to LS switching in a single-receipt mode
  • 2 is a flow chart of LS to non-LS switching in a single-receipt mode
  • Figure 3 is a flow chart of non-LS to LS switching in dual-received dual-issue mode
  • Figure 4 is a flow chart of LS to non-LS switching in dual-received dual-issue mode.
  • the present invention provides a method for mutually switching between a local switched link and a non-local switched link.
  • the base station In the process of LS link and non-LS link state switching, the base station not only transmits and receives non-LS link data packets but also LS chain. The data packet is sent and received, but only the received valid data packet is processed.
  • This embodiment provides a method for switching between a local switching link and a non-local switching link.
  • the BTS uses the dual-received dual-issue mode, that is, the state switch.
  • the BTS not only transmits and receives non-LS link data packets (downlink data packets of port A, that is, data packets sent by the TC, referred to as downlink data packets), but also uplinks sent by the LS link data packets (the other party BTS).
  • the data packet referred to as the uplink data packet, is sent and received.
  • the BTS can receive packets of LS links and non-LS links, the BTS only selects valid packets for processing.
  • the LS voice packet and the non-LS voice packet always differ in the time of DELAY packets during the handover between LS and non-LS.
  • This delay will cause voice interruption (when not LS to LS switching) or voice repetition (when LS to non-LS switching).
  • the size of the data packet is the time difference between the BTS receiving the data packet from the non-LS link and the data packet received from the LS link.
  • the delay of the BTS receiving the data packet from the LS link is negligible.
  • the time of the data packet can be regarded as the time when the BTS transmits the data packet to the opposite BTS on the non-LS link, that is, the time of the BTS1 TC1 MSC TC2 BTS2. Therefore, during the handover from non-LS to LS, or from LS to non-LS, the BTS should buffer each packet received on the LS link and then process it (the first DELAY data to be received). The packet is cached first, and the first packet is processed from the receipt of the first DELAY+1 packet.
  • the invention is described in detail.
  • the method of determining whether to establish and tear down the local exchange and when to initiate the establishment and removal of the local exchange are not part of the present invention. Since the IP and TDM formats are similar, the following describes the specific implementation process mainly through the IP environment.
  • Step 301 When the BSC finds that a non-LS link to the LS link switch needs to be performed, the BSC sends an LS handover request to the MSC.
  • Step 302 After receiving the LS request from the BSC, the MSC returns an LS link establishment command to the BSC.
  • Step 303 After receiving the LS command of the MSC, the BSC performs algorithm negotiation with the BTSs of the two parties. If the BTS and the BSC are compatible with each other, the BSC sends an LS link setup command to the BTSs, and sends the relevant parameters to the BTS. Related parameters include the IP address and MAC address of the other party's BTS.
  • Step 304 After receiving the LS link setup command sent by the BSC, the BTS first sends a data packet to the other party BTS according to the received IP address, and starts to receive the data packet sent by the BTS of the other party; The packet, that is, the data packet transmitted and received by the other party BTS continues to be sent and received on the non-LS link; after the BTS receives the data packet sent by the other party BTS, the BTS returns a response message to the BSC, informing the BSC that the LS link has been received. Packet. The two packets received by the BTS are valid. Therefore, the BTS can select one of the two packets for processing, that is, it can be converted to processing LS link packets, or it can process non-LS link packets. You need to pay attention to the synchronization process when processing, see the description below.
  • BTS1 and BTS2 The specific procedures for the BTS (BTS1 and BTS2) of the calling party to implement dual-receiver dual-issue are as follows: 1) BTS1 and BTS2 send and receive data packets through the TC and the non-LS link of the core network, and the data link is represented as BTS1 —> BSC ( TC) —> MSC —> BSC(TC) —> BTS2.
  • BTS1 and BTS2 After receiving the LS link setup command, BTS1 and BTS2 remain unchanged in the non-LS link described in 1), and the calling BTS still maintains the call through this link. 3) BTS1 copies the data packet sent to the TC, and then encapsulates it into a MAC data packet, and the MAC data includes the IP address and MAC address of the active BTS1, the IP address and MAC address of the destination BTS2, and the port number information.
  • the BTS2 copies the data packet sent to the TC and then encapsulates it into a MAC data packet, which includes the IP address and MAC address of the active BTS2, the IP address and MAC address of the destination BTS1, and the port number information.
  • BTS1 judges the received data packet (the MAC data packet is generally judged by the port number), and if it is the data packet sent by the TC, it is processed and sent to MS1; if it is judged that the data packet is When BTS2 sends it, BTS1 sends a response message to the BSC.
  • the BTS2 judges the received data packet. If it is a data packet sent by the TC, it processes and sends it to the MS2. If it is determined that the data packet is sent by the BTS1, the BTS2 sends a response message to the BSC.
  • the LS link between BTS1 and BTS2 is established.
  • the LS link is expressed as: BTS1 BTS2.
  • BTS1 and BTS2 send and receive data packets on the LS link.
  • both BTS 1 and BTS2 implement double-receiving and dual-issue of data packets.
  • Step 305 After both the calling BTSs send the response message to the BSC, the BSC has established the LS data link between the BTSs at the same time. The BSC then sends a non-LS link teardown command to both BTSs. If the BTS continues to process the non-LS link data packet in step 304, the BTS receives the above-mentioned teardown command and then switches to processing the LS link data packet, and removes the non-LS link, and the BSC also releases the corresponding TC resource.
  • step 304 or 305 when the BTS is switched to process the LS link data packet, in order to synchronize the data packet, the BTS first buffers the data packet of the received LS link by DELAY packets and then processes it.
  • the specific flow of the BTS cache DELAY packets can be, but is not limited to,:
  • the BTS allocates a memory area (static or dynamic allocation) in memory based on the pre-computed DELAY size. This area is divided into DELAY, and the index numbers are 0, 1, 2, ... (DELAY-1).
  • the BTS When the BTS receives the first packet of the LS link, it stores the packet in the memory area with index number 0. 3) When the BTS receives the 2nd, 3rd, 4th, ... DELAY data packets, the data packets are sequentially stored in the memory whose index numbers are 1, 2, 3, ... (DELAY-1).
  • the BTS When the BTS receives the (DELAY+2) packet, it processes the packet with index number 1 and stores the currently received packet to the index number 1. The loop is repeated by analogy to realize the buffering of the DELAY packets, so that the voice packets of the LS link and the non-LS link are synchronized.
  • Step 306 The BSC sends an LS response message to the MSC, informing the MSC that the TC resource has been removed. After receiving the above response message, the MSC removes the user plane and the A port related resources. At this time, the MSC no longer sends any data packets to the A port, and the A port data no longer intersects. The state switch is completed.
  • the BSC must first send a non-LS link teardown command to the BTS (corresponding to step 305), and then send an LS response message to the MSC (corresponding to step 306);
  • the BTS is switched to process the LS link data packet, and the BSC may first send a non-LS link teardown command to the BTS (corresponding to step 305), and then send an LS response message to the MSC (corresponding to step 306), or The LS response message is sent to the MSC (corresponding to step 306), and then the non-LS link teardown command is sent to the BTS (corresponding to step 305).
  • the BTS is switched from processing downlink data to processing uplink data, and there is no interruption of voice in the middle.
  • the BTS buffers the data packets received from the LS link for a period of time (that is, the time of DELAY packets) before and after the handover.
  • the specific process of the BTS cache is described in step 305.
  • Step 401 The MSC sends an LS removal command to the BSC, and carries the removed LC (Local Call, LC for short) identifier.
  • the MSC sends the teardown LS command the MSC has established the related A port resources and has cross-connected the A port data of both users.
  • Step 402 After receiving the LS removal command, the BSC needs the BSC to query the related resources of the TC. Once established, the BSC then sends a command to the two BTSs to establish a non-LS link.
  • Step 403 After receiving the BSC command, the BTS sends a data packet of the corresponding format to the BSC (TC). Receive packets from the BSC (TC) at the same time. At this time, the BTS adopts the dual-receiving dual-issue mode, that is, the BTS transmits and receives data packets on the non-LS link, and also transmits and receives data packets on the LS link.
  • the BTS After receiving the data packet sent by the BSC (TC), the BTS returns a response message to the BSC, informing the BSC that the data packet of the non-LS link has been received, but the BTS is sent to the BSC (TC) due to the network delay.
  • the data packet cannot reach the BTS of the other party immediately, so the TC data packet received by the BTS of the calling party is an invalid data packet, so the BTS still processes the uplink data packet of the LS link.
  • BTS1 and BTS2 the specific procedures for the BTS (BTS1 and BTS2) of the calling parties to achieve dual-receipt and dual-issue are as follows:
  • BTS1 and BTS2 send and receive data packets through the LS link, and the data link is represented as BTS1 ⁇ BTS2.
  • BTS1 and BTS2 After receiving the non-LS link setup command, BTS1 and BTS2 remain unchanged in the LS link described in 1). Both parties to the call still hold the call through this link.
  • BTS1 copies the packet sent to BTS2 and then encapsulates it into a MAC packet.
  • the MAC packet contains the IP and MAC address of the source address BTS1, the IP and MAC address of the destination address BSC, and the port number information. Finally, the MAC packet is sent.
  • BTS2 copies the packets sent to BTS1 and then encapsulates them into MAC packets.
  • the MAC packet contains the IP and MAC address of the source address BTS2, the IP and MAC address of the destination address BSC, and the port number information. Finally, the MAC packet is sent.
  • BTS1 judges the received data packet (the MAC data packet here is generally judged by the port number), and if it is the data packet sent by BTS2, it is processed and sent to MS1; if it is judged that the data packet is When the BSC sends it, the BTS1 sends a response message to the BSC.
  • the BTS2 judges the received data packet. If it is a data packet sent by the BTS1, it processes and sends it to the MS2. If it is determined that the data packet is sent by the BSC, the BTS2 sends a response message to the BSC.
  • BTS1 and BTS2 After both BTS1 and BTS2 receive the data packet sent by the BSC, BTS1 and BTS2 send and receive data packets on the non-LS link, but the data packet of the non-LS link is invalid at this time.
  • non-LS link Expressed as BTS1 ⁇ - ⁇ > BSC(TC) ⁇ - ⁇ > MSC ⁇ - ⁇ > BSC(TC) ⁇ - ⁇ > BTS2.
  • both BTS 1 and BTS2 implement double-receiving and dual-issue of data packets.
  • Step 404 After the BSC receives the response message from the calling BTS (that is, after receiving the response message of the second BTS), the non-LS control link is established (but the non-LS data link may not be established yet, That is, the data packet sent by the BTS to the BSC (TC) does not necessarily have reached the counterpart BTS).
  • the BSC sends a command to remove the LS link to the BTSs of both parties.
  • the BTS ends the dual-received dual-issue, that is, it no longer sends and receives data packets to the other BTS, only sends and receives data packets to the BSC (TC), and the BTS switches to processing the downlink data packets of the non-LS link to enter the non-LS state.
  • the BTS may process the valid data packet received from the non-LS link immediately, or may set the preset time after the slave LS link is processed to ensure that the two BTSs have received valid TC data packets.
  • the size of the packet is not less than the time when the packet arrives at the BTS of the other party from the BSC (TC) (slightly greater than this time. If the packet is too large, the switching time is too long), a timer can be set, and when the time is up, the BSC is to both parties.
  • the BTS sends a command to tear down the LS link (the time starting point is that the BSC receives the response message sent by the second BTS).
  • Step 405 The BSC sends a non-LS response message to the MSC, and the normal non-LS link is established.
  • the BTS can distinguish the non-LS link data packets (that is, the downlink data packets sent by the BSC (TC)) and the LS link data packets (that is, the uplink data packets sent by the peer BTS). ) :
  • the format of the uplink and downlink data packets is the same.
  • the BTS can distinguish by the port or IP address of the received data packet, and the uplink data packet is different from the downlink data packet.
  • the port reaches the BTS.
  • each BTS has two-way data packets for transmission and reception, that is, one BTS transmits and receives downlink data packets from the A port, and also transmits and receives uplink data packets from the other party BTS, thereby realizing the switching moment.
  • the seamless connection of voice avoids the degradation of voice quality.
  • the invention is applicable not only to different terminals belonging to the same BSC and different BTSs; In the same BSC, different terminals under the same BTS, that is, the two BTSs in the above embodiment are the same BTS, or two different BTSs.
  • the present invention also provides a base station that supports mutual switching between a local switching link and a non-local switching link.
  • the base station performs non-LS link data packets in the process of locally switching LS link and non-LS link state switching.
  • Transceiver also sends and receives LS link packets, but only processes the received valid packets.
  • the foregoing base station buffers the data packet received from the LS link for a period of time, and the processing time is the time difference between the time when the base station receives the data packet from the non-LS link and the data packet received from the LS link, or is the base station. The time at which a packet is sent on the non-LS link to the other base station.
  • the foregoing base station may also distinguish between the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is in an IP format, The port or IP address of the received packet is used for distinguishing.
  • the base station receives the LS link setup command, sends a data packet to the opposite base station on the LS link, and starts receiving the LS link data sent by the base station.
  • the packet, and the base station continues to send and receive data packets on the non-LS link, but processes only the non-LS link data packets, and processes the packets to the corresponding terminals of the base station.
  • the base station receives the non-LS link setup command, sends a data packet to the base station controller on the non-LS link, and starts receiving the packet sent by the base station controller.
  • the non-LS link data packet and the base station continues to send and receive data packets on the LS link, but only processes the LS link data packet, and processes the data packet to the terminal corresponding to the base station.
  • the method for switching the LS link and the non-LS link of the present invention realizes the seamless connection of the voice when the LS link and the non-LS link are switched, thereby avoiding the degradation of the voice quality and improving the voice quality. user experience.

Abstract

A method for switching between a local switch (LS) link and a non-local switch (Non-LS) link is provided. The method comprises: in the process of state switching between the LS link and the Non-LS link, a base transceiver station transceives both Non-LS link data packets and LS link data packets, but only processes valid data packets received. By using the technical solution, seamless connection of voice is achieved in switching between the LS link and the Non-LS link, decline of voice quality is avoided, and user experience is improved.

Description

一种本地交换链路与非本地交换链路相互切换的方法  Method for switching between local exchange link and non-local exchange link
技术领域 Technical field
本发明涉及移动通讯领域,尤其涉及一种本地交换 (Local Switch, LS)链路 与非本地交换链路相互切换的方法。  The present invention relates to the field of mobile communications, and in particular, to a method for switching between a Local Switch (LS) link and a non-local switching link.
背景技术 Background technique
在现在的全球移动通讯 (Global System for Mobile Communications, GSM) 系统中, 终端 (Mobile Station, MS)通过空口与基站 (Base Transceiver Station , BTS)连接, 而基站通过 ABIS接口与基站控制器 (Base Station Controller, BSC) 连接, BSC与移动交换中心 (Mobile Switch Center, MSC )通过 A口进行交 互。 码型变换速率适配单元 (Transcoder/Rate Adaptor Unit, TRAU)通常位于 BSC 侧, 进行语音算法编解码的转换过程。 在上行方向, 码型变换器 (Transcoder, TC)将 BTS的压缩数据包通过解码转化成脉码编码调制 (Pulse Code Modulation, PCM )语音送到 MSC侧, 而下行方向则是将 MSC发送过 来的 PCM数据包通过编码转化成语音参数传递给 BTS, 然后 BTS再传送给 MS。  In the current Global System for Mobile Communications (GSM) system, the mobile station (MS) is connected to the base station (Base Transceiver Station, BTS) through the air interface, and the base station passes the ABIS interface and the base station controller (Base Station). Controller, BSC) The BSC interacts with the Mobile Switch Center (MSC) through the A port. The Transcoder/Rate Adaptor Unit (TRAU) is usually located on the BSC side to perform the conversion process of the speech algorithm codec. In the uplink direction, the Transcoder (TC) converts the compressed data packet of the BTS into a Pulse Code Modulation (PCM) voice to the MSC side, and the downlink direction sends the compressed data packet to the MSC. The PCM packet is passed to the BTS by encoding into a speech parameter, which is then transmitted to the MS.
当一次呼叫的两个用户都在一个 BSC内, 并且语音算法相容时, 就可以 进行用户话路的本地交换, 即用户话路从一个 BTS交换到另外一个 BTS, 这 样可以节省 TC资源以及 A口资源, 并且语音质量也会得到相应的提高。 在 IPAbis接口情况下, 本地交换还可以节省 Abis接口资源。 在补充业务完成、 内部切换以及外部切入等情况时可能进行本地交换的建立 (也即用户话路从 非 LS状态到 LS状态切换) 。 在补充业务开始、 内部切换以及外部切出等情 况时可能进行本地交换的拆除(也即用户话路从 LS状态到非 LS状态切换 )。  When two users of a call are in one BSC and the voice algorithm is compatible, the local exchange of the user's voice channel can be performed, that is, the user voice channel is switched from one BTS to another BTS, thereby saving TC resources and A. Port resources, and voice quality will be improved accordingly. In the case of the IPAbis interface, local switching can also save Abis interface resources. The establishment of a local exchange may be performed in the case of supplementary service completion, internal handover, and external handover (that is, the user session is switched from a non-LS state to an LS state). The local exchange may be removed during the supplementary service start, internal handover, and external cut-out (that is, the user session is switched from the LS state to the non-LS state).
用户话路从非 LS状态到 LS状态切换的一般处理流程为: BSC向 BTS 发送一个本地交换建立的命令; BTS收到命令后将建立一个本地交换链路, 然后释放当前的非本地交换链路, 并且告知 BSC切换完成。 如图 1所示。  The general processing flow of the user session from the non-LS state to the LS state is: The BSC sends a local exchange establishment command to the BTS; after receiving the command, the BTS will establish a local exchange link, and then release the current non-local exchange link. And inform the BSC that the handover is complete. As shown in Figure 1.
用户话路从 LS状态到非 LS状态切换的一般处理流程为: BSC向 BTS 发送一个非本地交换建立的命令; BTS收到命令后将建立一个非本地交换链 路, 然后拆除当前的本地交换链路, 并且告知 BSC切换完成。 如图 2所示。 The general processing flow for switching the user session from LS state to non-LS state is: BSC to BTS A command for non-local exchange establishment is sent; after receiving the command, the BTS will establish a non-local exchange link, then remove the current local exchange link and inform the BSC that the handover is complete. as shown in picture 2.
上述处理方法在同一时刻 BTS只对某一条链路( LS链路或非 LS链路 ) 进行语音数据包的接收和发送(即单收单发的方式) 。  In the above processing method, the BTS only receives and transmits voice packets (ie, a single-receipt and single-issue) for a certain link (the LS link or the non-LS link) at the same time.
由于网络延迟等原因, 釆用单收单发方式时, 在非 LS到 LS的状态切换 过程中, 本地交换链路的用户面数据包不能紧随控制面到达 BTS; 而在 LS 到非 LS的状态切换过程中,本地交换链路拆除后,也不太可能立刻就可以接 收到非本地交换链路的数据包, 因此都会造成语音的瞬间中断, 致使语音质 量的下降, 为了避免这个问题, 需要使用避免语音质量下降的相关技术。  Due to network delay and other reasons, when using the single-receipt single-issue mode, during non-LS to LS state switching, the user plane data packet of the local switching link cannot reach the BTS immediately following the control plane; and the LS to non-LS During the state switching process, after the local switching link is removed, it is unlikely that the data packet of the non-local switching link will be received immediately. Therefore, the voice will be interrupted instantaneously, resulting in a drop in voice quality. In order to avoid this problem, it is required. Use related techniques to avoid degradation of voice quality.
发明内容 Summary of the invention
本发明提供一种本地交换链路与非本地交换链路相互切换的方法, 可避 免 LS链路与非 LS链路切换时语音质量的下降。  The present invention provides a method for switching between a local switched link and a non-local switched link, which can avoid the degradation of voice quality when the LS link and the non-LS link are switched.
为了解决上述问题, 本发明提供了一种本地交换链路与非本地交换链路 相互切换的方法, 包括: 在本地交换 LS链路与非 LS链路状态切换过程中, 基站既对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但只对 接收的有效数据包进行处理。  In order to solve the above problem, the present invention provides a method for mutually switching a local switching link and a non-local switching link, including: in a local exchange LS link and a non-LS link state switching process, the base station is not a non-LS chain. The data packets are sent and received, and the LS link data packets are also sent and received, but only the received valid data packets are processed.
上述方法还可具有以下特点:所述基站将从 LS链路上接收的数据包緩存 一段时间后再进行处理, 该緩存时间为基站从非 LS链路上接收数据包与从 LS链路上接收数据包的时间差或者为基站在非 LS链路上发送数据包到达对 方基站的时间。  The above method may also have the following feature: the base station buffers the data packet received from the LS link for a period of time, and the processing time is performed by the base station receiving the data packet from the non-LS link and receiving from the LS link. The time difference of the data packet is the time when the base station transmits the data packet to the opposite base station on the non-LS link.
上述方法还可包括: 基站通过以下方式来区分 LS链路数据包及非 LS链 路数据包: 当数据包为时分复用 TDM格式时, 通过数据包的格式进行区分; 当数据包为 IP格式时, 通过接收数据包的端口或者 IP地址来进行区分。  The foregoing method may further include: the base station distinguishes the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is an IP format When distinguishing by receiving the port or IP address of the packet.
所述方法还可具有以下特点: 当终端从非 LS链路切换为 LS链路时, 收 到 LS链路建立命令的基站向对方基站发送数据包,同时开始接收对方基站发 来的数据包,且所述基站继续在非 LS链路上收发数据包,但所述基站只处理 非 LS链路数据包, 处理后发送给对应终端。 所述方法还可包括: 当所述基站收到对方基站发来的数据包后向基站控 制器返回应答消息,告知所述基站控制器已收到 LS链路数据包, 并转为处理 LS链路数据包, 停止处理 TC发来的非 LS链路数据包; The method may also have the following features: When the terminal switches from the non-LS link to the LS link, the base station that receives the LS link setup command sends a data packet to the opposite base station, and starts to receive the data packet sent by the base station. And the base station continues to send and receive data packets on the non-LS link, but the base station only processes the non-LS link data packets, and then processes and sends the data packets to the corresponding terminal. The method may further include: when the base station receives the data packet sent by the base station, and returns a response message to the base station controller, informing the base station controller that the LS link data packet has been received, and converting to processing the LS chain Road data packet, stop processing non-LS link data packets sent by the TC;
所述方法还可包括: 当基站控制器收到双方基站返回的应答消息后, 通 知所述双方基站拆除非 LS链路, 基站收到该通知后拆除所述非 LS链路。  The method may further include: after receiving the response message returned by the base station, the base station controller notifies the two base stations to remove the non-LS link, and the base station removes the non-LS link after receiving the notification.
所述方法还可包括: 当所述基站收到对方基站发来的数据包后向基站控 制器返回应答消息,告知所述基站控制器已收到 LS链路数据包, 并继续处理 非 LS链路数据包;  The method may further include: when the base station receives the data packet sent by the base station, and returns a response message to the base station controller, informing the base station controller that the LS link data packet has been received, and continuing to process the non-LS chain Road data packet
当基站控制器收到双方基站返回的应答消息后, 通知所述双方基站拆除 非 LS链路;  After receiving the response message returned by the base station, the base station controller notifies the two base stations to remove the non-LS link;
所述基站收到所述拆除非 LS链路的通知后转为处理 LS链路数据包, 并 拆除所述非 LS链路。  After receiving the notification of dismantling the non-LS link, the base station turns to process the LS link data packet, and removes the non-LS link.
所述方法还可具有以下特点: 当终端从 LS链路切换为非 LS链路时, 收 到非 LS链路建立命令的基站向基站控制器发送数据包,同时开始接收基站控 制器发来的数据包,且所述基站继续在 LS链路上收发数据包,但所述基站只 处理 LS链路数据包, 处理后发送给对应终端。  The method may also have the following features: When the terminal switches from the LS link to the non-LS link, the base station that receives the non-LS link setup command sends a data packet to the base station controller, and starts to receive the call from the base station controller. The data packet, and the base station continues to send and receive data packets on the LS link, but the base station only processes the LS link data packet, and the processing is sent to the corresponding terminal.
所述方法还可包括: 当所述基站收到基站控制器发来的数据包后向基站 控制器返回应答消息,告知所述基站控制器已收到非 LS链路数据包,但所述 基站仍处理 LS链路数据包;  The method may further include: after receiving, by the base station, a data packet sent by the base station controller, returning a response message to the base station controller, informing the base station controller that the non-LS link data packet has been received, but the base station Still processing LS link packets;
当基站控制器收到第二个应答消息后经过预设时间通知双方基站拆除 After the base station controller receives the second response message, it notifies the base station to remove the base station after a preset time.
LS链路,收到所述通知的基站开始处理非 LS链路数据包,停止处理 LS链路 数据包, 并拆除 LS链路。 On the LS link, the base station that receives the notification starts to process the non-LS link data packet, stops processing the LS link data packet, and tears down the LS link.
所述方法还可具有以下特点:在收到所述通知的基站开始处理非 LS链路 数据包, 停止处理 LS链路数据包的步骤中, 所述基站是在收到所述拆除 LS 链路的通知后立即处理从非 LS链路上接收的数据包, 或者是在处理完从 LS 链路上接收并緩存的数据包之后再处理从非 LS链路上接收的数据包。  The method may further have the following feature: in the step of the base station receiving the notification starting to process the non-LS link data packet and stopping processing the LS link data packet, the base station receiving the dismantled LS link Immediately after the notification, the data packet received from the non-LS link is processed, or the data packet received from the non-LS link is processed after processing the data packet received and buffered from the LS link.
本发明还提供一种支持本地交换链路与非本地交换链路相互切换的基 站, 所述基站设置成: 在本地交换 LS链路与非 LS链路状态切换过程中, 既 对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但只对接收的 有效数据包进行处理。 The invention also provides a base for supporting mutual switching between a local exchange link and a non-local exchange link. The base station is configured to: in the process of locally switching the LS link and the non-LS link state, transmitting and receiving the non-LS link data packet, and also transmitting and receiving the LS link data packet, but only for receiving A valid packet is processed.
所述基站还可具有以下特点:上述基站是设置成将从 LS链路上接收的数 据包緩存一段时间后再进行处理,该緩存时间为基站从非 LS链路上接收数据 包与从 LS链路上接收数据包的时间差或者为基站在非 LS链路上发送数据包 到达对方基站的时间。  The base station may also have the following feature: the base station is configured to buffer the data packet received from the LS link for a period of time, and then perform processing, where the base station receives the data packet from the non-LS link and the slave LS chain. The time difference of receiving data packets on the road or the time when the base station sends a data packet to the opposite base station on the non-LS link.
所述基站还可设置成通过以下方式来区分 LS链路数据包及非 LS链路数 据包: 当数据包为时分复用 TDM格式时, 通过数据包的格式进行区分; 当 数据包为 IP格式时, 通过接收数据包的端口或者 IP地址来进行区分。 所述 基站是设置成在终端从非 LS链路切换到 LS链路的过程中, 通过如下方式既 对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但只对接收的 有效数据包进行处理: 所述基站接收 LS链路建立命令, 在 LS链路上向对方 基站发送数据包, 同时开始接收对方基站发来的 LS链路数据包,且所述基站 继续在非 LS链路上收发数据包, 但只处理非 LS链路数据包, 处理后发送给 所述基站对应的终端。  The base station may be further configured to distinguish between the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is an IP format When distinguishing by receiving the port or IP address of the packet. The base station is configured to transmit and receive non-LS link data packets, and also send and receive LS link data packets, but only for receiving, when the terminal switches from the non-LS link to the LS link. The effective data packet is processed: the base station receives the LS link setup command, sends a data packet to the opposite base station on the LS link, and starts receiving the LS link data packet sent by the base station, and the base station continues to be in the non- The LS link transmits and receives data packets, but only processes non-LS link data packets, and processes the packets to the corresponding terminals of the base station.
所述基站是设置成在终端从 LS链路切换的非 LS链路的过程中, 通过如 下方式既对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但只 对接收的有效数据包进行处理: 所述基站接收非 LS链路建立命令, 在非 LS 链路上向基站控制器发送数据包,同时开始接收基站控制器发来的非 LS链路 数据包,且所述基站继续在 LS链路上收发数据包,但只处理 LS链路数据包, 处理后发送给与所述基站对应的终端。  The base station is configured to send and receive non-LS link data packets, and also to send and receive LS link data packets, but only for receiving, in a process in which the terminal switches from the LS link to the non-LS link. The effective data packet is processed: the base station receives the non-LS link setup command, sends a data packet to the base station controller on the non-LS link, and starts to receive the non-LS link data packet sent by the base station controller, and The base station continues to send and receive data packets on the LS link, but only processes the LS link data packets, and processes the data packets to the terminal corresponding to the base station.
综上所述, 本发明提供一种本地交换链路与非本地交换链路相互切换的 方法, 实现了 LS链路与非 LS链路切换时语音的无缝连接, 避免了语音质量 的下降, 提高了用户体验。  In summary, the present invention provides a method for switching between a local switching link and a non-local switching link, which implements seamless connection of voice between LS link and non-LS link switching, and avoids degradation of voice quality. Improve the user experience.
附图概述 BRIEF abstract
图 1是单收单发方式下非 LS到 LS切换的流程图; 图 2是单收单发方式下 LS到非 LS切换的流程图; Figure 1 is a flow chart of non-LS to LS switching in a single-receipt mode; 2 is a flow chart of LS to non-LS switching in a single-receipt mode;
图 3是双收双发方式下非 LS到 LS切换的流程图;  Figure 3 is a flow chart of non-LS to LS switching in dual-received dual-issue mode;
图 4是双收双发方式下 LS到非 LS切换的流程图。  Figure 4 is a flow chart of LS to non-LS switching in dual-received dual-issue mode.
本发明的较佳实施方式 Preferred embodiment of the invention
本发明提供一种本地交换链路与非本地交换链路相互切换的方法,在 LS 链路与非 LS链路状态切换过程中, 基站既对非 LS链路数据包进行收发, 也 对 LS链路数据包进行收发, 但只对接收的有效数据包进行处理。  The present invention provides a method for mutually switching between a local switched link and a non-local switched link. In the process of LS link and non-LS link state switching, the base station not only transmits and receives non-LS link data packets but also LS chain. The data packet is sent and received, but only the received valid data packet is processed.
本实施例提供一种本地交换链路与非本地交换链路相互切换的方法, 当 BTS收到 LS链路建立命令或非 LS链路建立命令后釆用双收双发方式, 即在 状态切换过程中, BTS既对非 LS链路数据包( A口的下行数据包, 即 TC发 来的数据包, 简称下行数据包)进行收发, 还对 LS链路数据包(对方 BTS 发来的上行数据包, 简称上行数据包 )进行收发。 虽然 BTS可以接收 LS链 路和非 LS链路的数据包, 但是 BTS只选择其中的有效数据包进行处理。  This embodiment provides a method for switching between a local switching link and a non-local switching link. When the BTS receives the LS link setup command or the non-LS link setup command, the BTS uses the dual-received dual-issue mode, that is, the state switch. In the process, the BTS not only transmits and receives non-LS link data packets (downlink data packets of port A, that is, data packets sent by the TC, referred to as downlink data packets), but also uplinks sent by the LS link data packets (the other party BTS). The data packet, referred to as the uplink data packet, is sent and received. Although the BTS can receive packets of LS links and non-LS links, the BTS only selects valid packets for processing.
另外, 由于网络的时延问题, 将导致 LS和非 LS的切换过程中, LS的语 音数据包和非 LS的语音数据包始终相差 DELAY个数据包的时间。这个延迟 将造成话音断续(非 LS到 LS切换时)或者话音重复( LS到非 LS切换时)。 这就需要 BTS对接收的 LS链路上的数据包进行緩存后再进行处理, 即在 LS 链路上, 将接收的每个数据包均緩存 DELAY后再进行处理, 该緩存的时间 DELAY对应 DELAY个数据包, 其大小为, BTS从非 LS链路接收数据包与 从 LS链路接收数据包的时间差, 一般地, BTS从 LS链路接收数据包的延时 可以忽略不计, 因此, DELAY个数据包的时间可以认为是 BTS在非 LS链路 上发送数据包到达对方 BTS的时间,即 BTS1 TC1 MSC TC2 BTS2 的时间。 因此,从非 LS到 LS的切换过程中,或从 LS到非 LS的切换过程中, BTS应该将 LS链路上接收的每个数据包緩存 DELAY后再进行处理(即将接 收的前 DELAY个数据包先緩存, 从收到第 DELAY+1个数据包时开始处理 第一个数据包) 。  In addition, due to the network delay problem, the LS voice packet and the non-LS voice packet always differ in the time of DELAY packets during the handover between LS and non-LS. This delay will cause voice interruption (when not LS to LS switching) or voice repetition (when LS to non-LS switching). This requires the BTS to buffer the data packets on the received LS link before processing. That is, on the LS link, each packet received is cached and then processed, and the DELAY time corresponds to DELAY. The size of the data packet is the time difference between the BTS receiving the data packet from the non-LS link and the data packet received from the LS link. Generally, the delay of the BTS receiving the data packet from the LS link is negligible. Therefore, DELAY The time of the data packet can be regarded as the time when the BTS transmits the data packet to the opposite BTS on the non-LS link, that is, the time of the BTS1 TC1 MSC TC2 BTS2. Therefore, during the handover from non-LS to LS, or from LS to non-LS, the BTS should buffer each packet received on the LS link and then process it (the first DELAY data to be received). The packet is cached first, and the first packet is processed from the receipt of the first DELAY+1 packet.
以下从非 LS状态向 LS状态切换,及 LS状态向非 LS状态切换这两方面 具体描述本发明。 是否建立和拆除本地交换的判断方法以及何时发起本地交 换的建立和拆除不属于本发明的内容。 由于 IP和 TDM格式类似, 以下主要 通过 IP环境下进行描述具体的实现过程。 The following switches from the non-LS state to the LS state, and the LS state to the non-LS state switch. The invention is described in detail. The method of determining whether to establish and tear down the local exchange and when to initiate the establishment and removal of the local exchange are not part of the present invention. Since the IP and TDM formats are similar, the following describes the specific implementation process mainly through the IP environment.
( 1 ) 由非 LS状态向 LS状态切换, 如图 3所示。 当 BSC需要由非 LS 状态向 LS状态切换时(如可以是发现带宽负载过重,或者完成了补充业务或 者资源许可时), BSC就可以按照图 3的流程请求 MSC将目前的非 LS状态, 变更成为 LS状态。 其具体流程描述如下:  (1) Switch from non-LS state to LS state, as shown in Figure 3. When the BSC needs to switch from the non-LS state to the LS state (for example, if the bandwidth load is too heavy, or the supplementary service or resource permission is completed), the BSC may request the MSC to perform the current non-LS state according to the process of FIG. Change to LS state. The specific process is described as follows:
步骤 301 , 当 BSC发现需要进行非 LS链路到 LS链路切换时, BSC向 MSC发送 LS切换请求。  Step 301: When the BSC finds that a non-LS link to the LS link switch needs to be performed, the BSC sends an LS handover request to the MSC.
步骤 302, MSC收到 BSC的 LS请求后, 向 BSC返回一条建立 LS链路 命令。  Step 302: After receiving the LS request from the BSC, the MSC returns an LS link establishment command to the BSC.
步骤 303 , BSC收到 MSC的 LS命令后, 与双方 BTS进行算法协商, 若 双方 BTS与 BSC釆用的算法相容, BSC向双方 BTS发送 LS链路建立命令, 并且将相关参数发送给 BTS ,相关参数包括通话另一方 BTS的 IP地址和 MAC 地址等。  Step 303: After receiving the LS command of the MSC, the BSC performs algorithm negotiation with the BTSs of the two parties. If the BTS and the BSC are compatible with each other, the BSC sends an LS link setup command to the BTSs, and sends the relevant parameters to the BTS. Related parameters include the IP address and MAC address of the other party's BTS.
步骤 304, BTS收到 BSC发送过来的 LS链路建立命令后, 首先根据接 收到的 IP地址向对方 BTS发送数据包, 同时开始接收对方 BTS发送过来的 数据包; 此时 BTS双收双发数据包, 即向对方 BTS收发数据包的同时继续在 非 LS链路上收发数据包; 当 BTS接收到对方 BTS发送过来的数据包之后, BTS向 BSC返回应答消息, 告知 BSC已经接收到了 LS链路的数据包。 BTS 接收到的两路数据包都是有效的, 因此 BTS可从两路数据包中选择一路进行 处理, 即可以是转为处理 LS链路数据包, 也可以是处理非 LS链路数据包。 处理时候需要注意同步过程, 见其后描述。  Step 304: After receiving the LS link setup command sent by the BSC, the BTS first sends a data packet to the other party BTS according to the received IP address, and starts to receive the data packet sent by the BTS of the other party; The packet, that is, the data packet transmitted and received by the other party BTS continues to be sent and received on the non-LS link; after the BTS receives the data packet sent by the other party BTS, the BTS returns a response message to the BSC, informing the BSC that the LS link has been received. Packet. The two packets received by the BTS are valid. Therefore, the BTS can select one of the two packets for processing, that is, it can be converted to processing LS link packets, or it can process non-LS link packets. You need to pay attention to the synchronization process when processing, see the description below.
此处呼叫双方的 BTS ( BTS1和 BTS2 ) 实现双收双发的具体流程为: 1 ) BTS1和 BTS2通过 TC和核心网的非 LS链路收发数据包, 数据链路 表示为 BTS1 —> BSC(TC) —> MSC —> BSC(TC) —> BTS2。  The specific procedures for the BTS (BTS1 and BTS2) of the calling party to implement dual-receiver dual-issue are as follows: 1) BTS1 and BTS2 send and receive data packets through the TC and the non-LS link of the core network, and the data link is represented as BTS1 —> BSC ( TC) —> MSC —> BSC(TC) —> BTS2.
2 ) BTS1和 BTS2在接收到 LS链路建立命令后, 1 )中所述的非 LS链路 保持不变, 呼叫双方 BTS仍然通过这条链路进行通话保持。 3 ) BTS1将发送给 TC的数据包进行拷贝, 然后封装成 MAC数据包后发 送, 该 MAC数据包含有源 BTS1的 IP地址和 MAC地址、 目的 BTS2的 IP 地址和 MAC地址、 端口号信息。 2) After receiving the LS link setup command, BTS1 and BTS2 remain unchanged in the non-LS link described in 1), and the calling BTS still maintains the call through this link. 3) BTS1 copies the data packet sent to the TC, and then encapsulates it into a MAC data packet, and the MAC data includes the IP address and MAC address of the active BTS1, the IP address and MAC address of the destination BTS2, and the port number information.
BTS2将发送给 TC的数据包进行拷贝,然后封装成 MAC数据包后发送, 该 MAC数据包含有源 BTS2的 IP地址和 MAC地址、 目的 BTS1的 IP地址 和 MAC地址、 端口号信息。  The BTS2 copies the data packet sent to the TC and then encapsulates it into a MAC data packet, which includes the IP address and MAC address of the active BTS2, the IP address and MAC address of the destination BTS1, and the port number information.
4 ) BTS1将接收到的数据包进行判断(此处的 MAC数据包一般釆用端 口号进行判断), 如果是 TC发送过来的数据包, 则进行处理并发送给 MS1 ; 如果判断出数据包是 BTS2发送过来的, 则 BTS1向 BSC发送应答消息。  4) BTS1 judges the received data packet (the MAC data packet is generally judged by the port number), and if it is the data packet sent by the TC, it is processed and sent to MS1; if it is judged that the data packet is When BTS2 sends it, BTS1 sends a response message to the BSC.
BTS2将接收到的数据包进行判断, 如果是 TC发送过来的数据包, 则进 行处理并发送给 MS2; 如果判断出数据包是 BTS1发送过来的, 则 BTS2向 BSC发送应答消息。  The BTS2 judges the received data packet. If it is a data packet sent by the TC, it processes and sends it to the MS2. If it is determined that the data packet is sent by the BTS1, the BTS2 sends a response message to the BSC.
5 )在 BTS1和 BTS2都收到对方发送的数据包之后, BTS1和 BTS2之间 的 LS链路就建立了起来, LS链路表示为: BTS1 BTS2。 BTS1和 BTS2 在 LS链路上收发数据包。  5) After both BTS1 and BTS2 receive the data packet sent by the other party, the LS link between BTS1 and BTS2 is established. The LS link is expressed as: BTS1 BTS2. BTS1 and BTS2 send and receive data packets on the LS link.
此时, BTS 1和 BTS2都实现了数据包的双收双发。  At this time, both BTS 1 and BTS2 implement double-receiving and dual-issue of data packets.
步骤 305, 当呼叫双方 BTS都向 BSC发送了应答消息之后, BSC此时已 经将双方 BTS之间的 LS数据链路建立起来。 然后 BSC向双方 BTS发送非 LS链路拆除命令。 若在步骤 304中, BTS继续处理的是非 LS链路数据包, 则 BTS收到上述拆除命令后转为处理 LS链路数据包,并拆除非 LS链路, BSC 也释放相应的 TC资源。  Step 305: After both the calling BTSs send the response message to the BSC, the BSC has established the LS data link between the BTSs at the same time. The BSC then sends a non-LS link teardown command to both BTSs. If the BTS continues to process the non-LS link data packet in step 304, the BTS receives the above-mentioned teardown command and then switches to processing the LS link data packet, and removes the non-LS link, and the BSC also releases the corresponding TC resource.
在步骤 304或 305中, BTS在转为处理 LS链路数据包时,为了实现数据 包的同步, BTS先将接收的 LS链路的数据包緩存 DELAY个数据包之后再依 次进行处理。 BTS緩存 DELAY个数据包的具体流程可以但不限于是:  In step 304 or 305, when the BTS is switched to process the LS link data packet, in order to synchronize the data packet, the BTS first buffers the data packet of the received LS link by DELAY packets and then processes it. The specific flow of the BTS cache DELAY packets can be, but is not limited to,:
1 ) BTS根据预先计算的 DELAY大小在内存中分配一段内存区域(静态 或动态分配)。此区域分成 DELAY个,索引号分别为 0、 1、 2... ... (DELAY-1)。  1) The BTS allocates a memory area (static or dynamic allocation) in memory based on the pre-computed DELAY size. This area is divided into DELAY, and the index numbers are 0, 1, 2, ... (DELAY-1).
2 ) BTS接收到 LS链路的第一个数据包时, 将此数据包存放到索引号为 0的内存区域中。 3 ) BTS接收到第 2、 3、 4... ... DELAY个数据包时, 将这些数据包依次 存放到索引号分别为 1、 2 、 3…… (DELAY-1)的内存中。 2) When the BTS receives the first packet of the LS link, it stores the packet in the memory area with index number 0. 3) When the BTS receives the 2nd, 3rd, 4th, ... DELAY data packets, the data packets are sequentially stored in the memory whose index numbers are 1, 2, 3, ... (DELAY-1).
4 ) BTS接收到第 (DELAY+1)数据包时,将索引号为 0的数据包取出进行 处理或抛弃, 然后将 (DELAY+1)的数据包存放到索引号为 0的位置。  4) When the BTS receives the (DELAY+1) packet, the packet with the index number 0 is taken out for processing or discarded, and then the packet of (DELAY+1) is stored at the index number 0.
5 ) BTS接收到第 (DELAY+2)数据包时, 则处理索引号为 1的数据包, 而 将当前收到的数据包存放到索引号为 1的位置。 依次类推进行循环, 从而实 现 DELAY个数据包的緩存, 使 LS链路和非 LS链路的语音数据包同步。  5) When the BTS receives the (DELAY+2) packet, it processes the packet with index number 1 and stores the currently received packet to the index number 1. The loop is repeated by analogy to realize the buffering of the DELAY packets, so that the voice packets of the LS link and the non-LS link are synchronized.
步骤 306, BSC向 MSC发送 LS应答消息, 告知 MSC已经将 TC资源拆 除。 MSC收到上述应答消息后拆除用户面和 A口相关资源。 此时 MSC不再 向 A口发送任何数据包, A口数据不再交叉。 状态切换完成。  Step 306: The BSC sends an LS response message to the MSC, informing the MSC that the TC resource has been removed. After receiving the above response message, the MSC removes the user plane and the A port related resources. At this time, the MSC no longer sends any data packets to the A port, and the A port data no longer intersects. The state switch is completed.
若在步骤 304中, BTS继续处理的是非 LS链路数据包, 则 BSC必须先 向 BTS发送非 LS链路拆除命令 (对应步骤 305 ) , 再向 MSC发送 LS应答 消息(对应步骤 306 ) ; 若在步骤 304中, BTS转为处理 LS链路数据包, 则 BSC既可以先向 BTS发送非 LS链路拆除命令 (对应步骤 305 ) , 再向 MSC 发送 LS应答消息(对应步骤 306 ) , 也可以先向 MSC发送 LS应答消息(对 应步骤 306 ) , 再向 BTS发送非 LS链路拆除命令(对应步骤 305 ) 。  If the BTS continues to process the non-LS link data packet in step 304, the BSC must first send a non-LS link teardown command to the BTS (corresponding to step 305), and then send an LS response message to the MSC (corresponding to step 306); In step 304, the BTS is switched to process the LS link data packet, and the BSC may first send a non-LS link teardown command to the BTS (corresponding to step 305), and then send an LS response message to the MSC (corresponding to step 306), or The LS response message is sent to the MSC (corresponding to step 306), and then the non-LS link teardown command is sent to the BTS (corresponding to step 305).
该实施例中, BTS由处理下行数据切换到处理上行数据的过程中, 中间 没有语音的中断。  In this embodiment, the BTS is switched from processing downlink data to processing uplink data, and there is no interruption of voice in the middle.
( 2 )由 LS到非 LS的状态切换, 如图 4所示。 如果需要从 LS切换到非 LS状态 (如 MSC有相关的补充业务的处理时) , 就可以按照图 4的流程将 目前的 LS拆除,恢复到最初的非 LS处理状态。其流程示意图具体描述如下: 该实施例中,无论是切换前还是切换过程中, BTS将从 LS链路上接收的 数据包先緩存一段时间 (即 DELAY个数据包的时间 )后再进行处理。 BTS 緩存的具体流程见步骤 305中的描述。  (2) Switching from LS to non-LS state, as shown in Figure 4. If you need to switch from LS to non-LS state (for example, when the MSC has related supplementary service processing), you can remove the current LS according to the process in Figure 4 and restore the original non-LS processing status. The schematic diagram of the process is as follows: In this embodiment, the BTS buffers the data packets received from the LS link for a period of time (that is, the time of DELAY packets) before and after the handover. The specific process of the BTS cache is described in step 305.
步骤 401 , MSC向 BSC发送 LS拆除命令,同时携带拆除的 LC(Local Call, 简称 LC)标识。 MSC在发送拆除 LS命令时, MSC已经将相关的 A口资源建 立了起来, 并且已经将双方用户的 A口数据交叉连接。  Step 401: The MSC sends an LS removal command to the BSC, and carries the removed LC (Local Call, LC for short) identifier. When the MSC sends the teardown LS command, the MSC has established the related A port resources and has cross-connected the A port data of both users.
步骤 402, BSC在收到 LS拆除命令后,如有需要 BSC将 TC的相关资源 建立起来, 然后 BSC向双方 BTS发送建立非 LS链路的命令。 Step 402: After receiving the LS removal command, the BSC needs the BSC to query the related resources of the TC. Once established, the BSC then sends a command to the two BTSs to establish a non-LS link.
步骤 403 , BTS收到 BSC的命令后, 向 BSC ( TC )发送相应格式的数据 包。 同时接收 BSC ( TC )发来的数据包。 此时 BTS釆用双收双发的方式, 即 BTS既在非 LS链路上收发数据包, 也在 LS链路上收发数据包。  Step 403: After receiving the BSC command, the BTS sends a data packet of the corresponding format to the BSC (TC). Receive packets from the BSC (TC) at the same time. At this time, the BTS adopts the dual-receiving dual-issue mode, that is, the BTS transmits and receives data packets on the non-LS link, and also transmits and receives data packets on the LS link.
当 BTS接收到 BSC ( TC )发来的数据包之后, 向 BSC返回应答消息, 告知 BSC已经收到了非 LS链路的数据包, 但是由于网络延迟的原因, 一方 BTS向 BSC ( TC )发送的数据包不可能立刻到达另一方的 BTS, 因此呼叫双 方的 BTS接收到的 TC数据包是无效的数据包, 所以 BTS仍然处理 LS链路 的上行数据包。  After receiving the data packet sent by the BSC (TC), the BTS returns a response message to the BSC, informing the BSC that the data packet of the non-LS link has been received, but the BTS is sent to the BSC (TC) due to the network delay. The data packet cannot reach the BTS of the other party immediately, so the TC data packet received by the BTS of the calling party is an invalid data packet, so the BTS still processes the uplink data packet of the LS link.
此处呼叫双方的 BTS ( BTS1和 BTS2 ) 实现双收双发的具体流程为: Here, the specific procedures for the BTS (BTS1 and BTS2) of the calling parties to achieve dual-receipt and dual-issue are as follows:
1 ) BTS1和 BTS2通过 LS链路收发数据包, 数据链路表示为 BTS1 ^ BTS2。 1) BTS1 and BTS2 send and receive data packets through the LS link, and the data link is represented as BTS1^BTS2.
2 ) BTS1和 BTS2在接收到非 LS链路建立命令后, 1 )中所述的 LS链路 保持不变。 呼叫双方仍然通过这条链路进行通话保持。  2) After receiving the non-LS link setup command, BTS1 and BTS2 remain unchanged in the LS link described in 1). Both parties to the call still hold the call through this link.
3 ) BTS1将发送给 BTS2的数据包进行拷贝, 然后封装成 MAC数据包。 3) BTS1 copies the packet sent to BTS2 and then encapsulates it into a MAC packet.
MAC数据包里面含有源地址 BTS1的 IP和 MAC地址、 目的地址 BSC的 IP 和 MAC地址、 端口号信息。 最后将 MAC数据包发送。 The MAC packet contains the IP and MAC address of the source address BTS1, the IP and MAC address of the destination address BSC, and the port number information. Finally, the MAC packet is sent.
BTS2将发送给 BTS1的数据包进行拷贝,然后封装成 MAC数据包。 MAC 数据包里面含有源地址 BTS2的 IP和 MAC地址、目的地址 BSC的 IP和 MAC 地址、 端口号信息。 最后将 MAC数据包发送。  BTS2 copies the packets sent to BTS1 and then encapsulates them into MAC packets. The MAC packet contains the IP and MAC address of the source address BTS2, the IP and MAC address of the destination address BSC, and the port number information. Finally, the MAC packet is sent.
4 ) BTS1将接收到的数据包进行判断(此处的 MAC数据包一般釆用端 口号进行判断 ) ,如果是 BTS2发送过来的数据包,则进行处理并发送给 MS1; 如果判断出数据包是 BSC发送过来的, 则 BTS1向 BSC发送应答消息。  4) BTS1 judges the received data packet (the MAC data packet here is generally judged by the port number), and if it is the data packet sent by BTS2, it is processed and sent to MS1; if it is judged that the data packet is When the BSC sends it, the BTS1 sends a response message to the BSC.
BTS2将接收到的数据包进行判断, 如果是 BTS1发送过来的数据包, 则 进行处理并发送给 MS2; 如果判断出数据包是 BSC发送过来的, 则 BTS2向 BSC发送应答消息。  The BTS2 judges the received data packet. If it is a data packet sent by the BTS1, it processes and sends it to the MS2. If it is determined that the data packet is sent by the BSC, the BTS2 sends a response message to the BSC.
5 )在 BTS1和 BTS2都收到 BSC发送的数据包之后, BTS1和 BTS2在 非 LS链路上收发数据包, 但此时非 LS链路的数据包是无效的。 非 LS链路 表示为 BTS1 <-^> BSC(TC) <-^> MSC <-^> BSC(TC) <-^> BTS2。 5) After both BTS1 and BTS2 receive the data packet sent by the BSC, BTS1 and BTS2 send and receive data packets on the non-LS link, but the data packet of the non-LS link is invalid at this time. non-LS link Expressed as BTS1 <-^> BSC(TC) <-^> MSC <-^> BSC(TC) <-^> BTS2.
此时, BTS 1和 BTS2都实现了数据包的双收双发。  At this time, both BTS 1 and BTS2 implement double-receiving and dual-issue of data packets.
步骤 404, 当 BSC接收到了来自呼叫双方 BTS的应答消息后(即收到第 二个 BTS的应答消息后), 非 LS的控制链路已经建立 (但非 LS数据链路不 一定已经建立完成, 即 BTS向 BSC ( TC )发送的数据包不一定已经到达对方 BTS ) 。 经过预设时间后, BSC向双方 BTS发送拆除 LS链路的命令。 BTS 结束双收双发, 即不再向对方 BTS收发数据包,只向 BSC ( TC )收发数据包, BTS转为处理非 LS链路的下行数据包, 进入非 LS状态。 此时, BTS可以是 立即处理从非 LS链路上接收的有效数据包, 也可以是先处理完从 LS链路上 设置上述预设时间的目的在于确保双方 BTS已经收到有效的 TC数据包, 其大小不小于数据包从 BSC ( TC )到达对方 BTS的时间(略大于此时间即可, 过大则会使切换时间过长), 可设置一定时器, 当定时时间到时 BSC向双方 BTS发送拆除 LS链路的命令 (其时间起算点为 BSC收到第二个 BTS发来的 应答消息) 。  Step 404: After the BSC receives the response message from the calling BTS (that is, after receiving the response message of the second BTS), the non-LS control link is established (but the non-LS data link may not be established yet, That is, the data packet sent by the BTS to the BSC (TC) does not necessarily have reached the counterpart BTS). After the preset time, the BSC sends a command to remove the LS link to the BTSs of both parties. The BTS ends the dual-received dual-issue, that is, it no longer sends and receives data packets to the other BTS, only sends and receives data packets to the BSC (TC), and the BTS switches to processing the downlink data packets of the non-LS link to enter the non-LS state. In this case, the BTS may process the valid data packet received from the non-LS link immediately, or may set the preset time after the slave LS link is processed to ensure that the two BTSs have received valid TC data packets. The size of the packet is not less than the time when the packet arrives at the BTS of the other party from the BSC (TC) (slightly greater than this time. If the packet is too large, the switching time is too long), a timer can be set, and when the time is up, the BSC is to both parties. The BTS sends a command to tear down the LS link (the time starting point is that the BSC receives the response message sent by the second BTS).
步骤 405, BSC向 MSC发送非 LS应答消息, 正常的非 LS链路建立。 在上述链路切换过程中, BTS可以通过以下方式来区分非 LS链路数据包 (即 BSC ( TC )发来的下行数据包)及 LS链路数据包(即对方 BTS发来的 上行数据包) :  Step 405: The BSC sends a non-LS response message to the MSC, and the normal non-LS link is established. In the above link switching process, the BTS can distinguish the non-LS link data packets (that is, the downlink data packets sent by the BSC (TC)) and the LS link data packets (that is, the uplink data packets sent by the peer BTS). ) :
( a ) 当数据包为 E1环境的 TDM (时分复用)格式时, 上下行数据包的 格式不同, 因此 BTS可通过数据包的格式进行区分;  ( a ) When the data packet is in the TDM (Time Division Multiplex) format of the E1 environment, the format of the uplink and downlink data packets is different, so the BTS can distinguish by the format of the data packet;
( b )当数据包为 IP环境下的 IP格式时,上下行数据包的格式是相同的, 此时 BTS可通过接收数据包的端口或者 IP地址进行区分,上行数据包与下行 数据包通过不同的端口到达 BTS。  (b) When the data packet is in the IP format of the IP environment, the format of the uplink and downlink data packets is the same. In this case, the BTS can distinguish by the port or IP address of the received data packet, and the uplink data packet is different from the downlink data packet. The port reaches the BTS.
在 LS和非 LS状态切换的瞬间, 每个 BTS都存在双路数据包进行收发, 即一个 BTS的既收发来自 A口的下行数据包, 也收发来自对方 BTS的上行 数据包, 从而实现切换时刻语音的无缝连接, 避免了语音质量的下降。  At the instant of LS and non-LS state switching, each BTS has two-way data packets for transmission and reception, that is, one BTS transmits and receives downlink data packets from the A port, and also transmits and receives uplink data packets from the other party BTS, thereby realizing the switching moment. The seamless connection of voice avoids the degradation of voice quality.
本发明不仅适用于属于同一 BSC, 不同 BTS下的不同终端; 也适用于属 于同一 BSC, 同一 BTS下的不同终端, 即以上实施例中的双方 BTS为同一 BTS, 或两个不同的 BTS。 The invention is applicable not only to different terminals belonging to the same BSC and different BTSs; In the same BSC, different terminals under the same BTS, that is, the two BTSs in the above embodiment are the same BTS, or two different BTSs.
本发明还提供一种支持本地交换链路与非本地交换链路相互切换的基 站, 所述基站在本地交换 LS链路与非 LS链路状态切换过程中, 既对非 LS 链路数据包进行收发,也对 LS链路数据包进行收发,但只对接收的有效数据 包进行处理。  The present invention also provides a base station that supports mutual switching between a local switching link and a non-local switching link. The base station performs non-LS link data packets in the process of locally switching LS link and non-LS link state switching. Transceiver, also sends and receives LS link packets, but only processes the received valid packets.
上述基站是将从 LS链路上接收的数据包緩存一段时间后再进行处理,该 緩存时间为基站从非 LS链路上接收数据包与从 LS链路上接收数据包的时间 差或者为基站在非 LS链路上发送数据包到达对方基站的时间。  The foregoing base station buffers the data packet received from the LS link for a period of time, and the processing time is the time difference between the time when the base station receives the data packet from the non-LS link and the data packet received from the LS link, or is the base station. The time at which a packet is sent on the non-LS link to the other base station.
上述基站还可通过以下方式来区分 LS链路数据包及非 LS链路数据包: 当数据包为时分复用 TDM格式时, 通过数据包的格式进行区分; 当数据包 为 IP格式时, 通过接收数据包的端口或者 IP地址来进行区分。  The foregoing base station may also distinguish between the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is in an IP format, The port or IP address of the received packet is used for distinguishing.
在终端从非 LS链路切换到 LS链路的过程中, 所述基站接收 LS链路建 立命令,在 LS链路上向对方基站发送数据包, 同时开始接收对方基站发来的 LS链路数据包, 且所述基站继续在非 LS链路上收发数据包, 但只处理非 LS 链路数据包, 处理后发送给所述基站对应的终端。  In the process of the terminal switching from the non-LS link to the LS link, the base station receives the LS link setup command, sends a data packet to the opposite base station on the LS link, and starts receiving the LS link data sent by the base station. The packet, and the base station continues to send and receive data packets on the non-LS link, but processes only the non-LS link data packets, and processes the packets to the corresponding terminals of the base station.
在终端从 LS链路切换的非 LS链路的过程中, 所述基站接收非 LS链路 建立命令,在非 LS链路上向基站控制器发送数据包, 同时开始接收基站控制 器发来的非 LS链路数据包, 且所述基站继续在 LS链路上收发数据包, 但只 处理 LS链路数据包, 处理后发送给与所述基站对应的终端。  In the process of the non-LS link that the terminal switches from the LS link, the base station receives the non-LS link setup command, sends a data packet to the base station controller on the non-LS link, and starts receiving the packet sent by the base station controller. The non-LS link data packet, and the base station continues to send and receive data packets on the LS link, but only processes the LS link data packet, and processes the data packet to the terminal corresponding to the base station.
工业实用性 Industrial applicability
与现有技术相比, 本发明的 LS链路与非 LS链路相互切换的方法, 实现 了 LS链路与非 LS链路切换时语音的无缝连接, 避免了语音质量的下降, 提 高了用户体验。  Compared with the prior art, the method for switching the LS link and the non-LS link of the present invention realizes the seamless connection of the voice when the LS link and the non-LS link are switched, thereby avoiding the degradation of the voice quality and improving the voice quality. user experience.

Claims

权 利 要 求 书 Claim
1、 一种本地交换链路与非本地交换链路相互切换的方法, 包括: 在本地 交换 LS链路与非 LS链路状态切换过程中, 基站既对非 LS链路数据包进行 收发, 也对 LS链路数据包进行收发, 但只对接收的有效数据包进行处理。  A method for switching between a local switching link and a non-local switching link, including: in a process of locally switching LS link and non-LS link state switching, the base station not only transmits and receives non-LS link data packets, but also The LS link data packet is sent and received, but only the received valid data packet is processed.
2、 如权利要求 1所述的方法, 其特征在于: 所述基站将从 LS链路上接 收的数据包緩存一段时间后再进行处理,该緩存时间为基站从非 LS链路上接 收数据包与从 LS链路上接收数据包的时间差或者为基站在非 LS链路上发送 数据包到达对方基站的时间。  2. The method according to claim 1, wherein: the base station buffers a data packet received from the LS link for a period of time, and the processing time is that the base station receives the data packet from the non-LS link. The time difference from receiving a packet from the LS link or the time at which the base station transmits a packet on the non-LS link to the other base station.
3、 如权利要求 2所述的方法, 其还包括:  3. The method of claim 2, further comprising:
所述基站通过以下方式来区分 LS链路数据包及非 LS链路数据包: 当数 据包为时分复用 TDM格式时, 通过数据包的格式进行区分; 当数据包为 IP 格式时, 通过接收数据包的端口或者 IP地址来进行区分。  The base station distinguishes between the LS link data packet and the non-LS link data packet by: when the data packet is a time division multiplexed TDM format, the data packet is distinguished by a format; when the data packet is in an IP format, by receiving The port or IP address of the packet is distinguished.
4、 如权利要求 1或 2或 3所述的方法, 其中,  4. The method according to claim 1 or 2 or 3, wherein
所述状态切换过程为终端从非 LS链路切换到 LS链路的过程;  The state switching process is a process in which a terminal switches from a non-LS link to an LS link;
基站既对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但 只对接收的有效数据包进行处理的步骤包括: 所述基站接收 LS链路建立命 令, 在 LS链路上向对方基站发送数据包, 同时开始接收对方基站发来的 LS 链路数据包, 且所述基站继续在非 LS链路上收发数据包, 但只处理非 LS链 路数据包, 处理后发送给所述基站对应的终端。  The base station not only transmits and receives non-LS link data packets but also sends and receives LS link data packets, but only processes the received valid data packets: the base station receives an LS link setup command, and the LS link Sending a data packet to the base station and starting to receive the LS link data packet sent by the base station, and the base station continues to send and receive data packets on the non-LS link, but only processes the non-LS link data packet, and then sends the data packet after processing. A terminal corresponding to the base station.
5、 如权利要求 4所述的方法, 其还包括:  5. The method of claim 4, further comprising:
所述基站在收到对方基站发来的 LS链路数据包后向基站控制器返回应 答消息, 告知所述基站控制器已收到 LS链路数据包, 且所述基站转为处理 LS链路数据包, 停止处理码型变换器 TC发来的非 LS链路数据包。  After receiving the LS link data packet sent by the base station, the base station returns a response message to the base station controller, informing the base station controller that the LS link data packet has been received, and the base station is converted to the processing LS link. The data packet stops processing the non-LS link packets sent by the pattern converter TC.
6、 如权利要求 5所述的方法, 其还包括: 基站控制器收到双方基站返回 的应答消息后,发送拆除非 LS链路的通知给所述双方基站, 所述双方基站在 收到该通知后拆除所述非 LS链路。  The method according to claim 5, further comprising: after receiving the response message returned by the base stations, the base station controller sends a notification of removing the non-LS link to the two base stations, where the two base stations receive the The non-LS link is removed after the notification.
7、 如权利要求 4所述的方法, 其还包括: 所述基站收到对方基站发来的 LS链路数据包后向基站控制器返回应答 消息, 告知所述基站控制器已收到 LS链路数据包, 且所述基站继续处理非 LS链路数据包; 7. The method of claim 4, further comprising: After receiving the LS link data packet sent by the base station, the base station returns a response message to the base station controller, informing the base station controller that the LS link data packet has been received, and the base station continues to process the non-LS link data. package;
基站控制器收到双方基站返回的应答消息后,发送拆除非 LS链路通知给 所述双方基站;  After receiving the response message returned by the base station, the base station controller sends a disconnection non-LS link notification to the two base stations;
所述双方基站收到所述拆除非 LS链路的通知后转为处理 LS链路数据 包, 并拆除所述非 LS链路。  After receiving the notification of removing the non-LS link, the two base stations switch to processing the LS link data packet, and remove the non-LS link.
8、 如权利要求 1或 2或 3所述的方法, 其中,  8. The method according to claim 1 or 2 or 3, wherein
所述状态切换过程为终端从 LS链路切换为非 LS链路的过程;  The state switching process is a process in which the terminal switches from the LS link to the non-LS link;
基站既对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但 只对接收的有效数据包进行处理的步骤包括:所述基站接收非 LS链路建立命 令,在非 LS链路上向基站控制器发送数据包, 同时开始接收基站控制器发来 的非 LS链路数据包,且所述基站继续在 LS链路上收发数据包,但只处理 LS 链路数据包, 处理后发送给与所述基站对应的终端。  The base station not only transmits and receives non-LS link data packets but also sends and receives LS link data packets, but only processes the received valid data packets: the base station receives non-LS link establishment commands, and is not LS. Sending a data packet to the base station controller on the link, and starting to receive the non-LS link data packet sent by the base station controller, and the base station continues to send and receive data packets on the LS link, but only processes the LS link data packet. After processing, it is sent to the terminal corresponding to the base station.
9、 如权利要求 8所述的方法, 其还包括:  9. The method of claim 8 further comprising:
当所述基站收到基站控制器发来的非 LS链路数据包后向基站控制器返 回应答消息,告知所述基站控制器已收到非 LS链路数据包,但所述基站仍处 理 LS链路数据包;  After receiving the non-LS link data packet sent by the base station controller, the base station returns a response message to the base station controller, informing the base station controller that the non-LS link data packet has been received, but the base station still processes the LS. Link data packet
基站控制器收到第二个应答消息后经过预设时间发送拆除 LS链路的通 知给双方基站,收到所述通知的双方基站开始处理非 LS链路数据包,停止处 理 LS链路数据包, 并拆除 LS链路。  After receiving the second response message, the base station controller sends a notification of dismantling the LS link to the two base stations after a preset time, and the two base stations that receive the notification start to process the non-LS link data packet, and stop processing the LS link data packet. And remove the LS link.
10、 如权利要求 9所述的方法, 其中, 收到所述通知的双方基站开始处 理非 LS链路数据包, 停止处理 LS链路数据包的步骤中,  10. The method according to claim 9, wherein, in the step of receiving the notification, the base stations of both parties start processing the non-LS link data packet, and stopping processing the LS link data packet,
所述双方基站是在收到所述拆除 LS链路的通知后立即处理从非 LS链路 上接收的数据包,或者是在处理完从 LS链路上接收并緩存的数据包之后再处 理从非 LS链路上接收的数据包。  The two base stations process the data packets received from the non-LS link immediately after receiving the notification of tearing down the LS link, or after processing the data packets received and buffered from the LS link. Packets received on non-LS links.
11、 一种支持本地交换链路与非本地交换链路相互切换的基站, 所述基 站设置成: 在本地交换 LS链路与非 LS链路状态切换过程中, 既对非 LS链 路数据包进行收发,也对 LS链路数据包进行收发,但只对接收的有效数据包 进行处理。 11. A base station supporting a local switching link and a non-local switching link, wherein the base station is configured to: in a local exchange LS link and a non-LS link state switching process, not to a non-LS chain The data packet is sent and received, and the LS link data packet is also sent and received, but only the received valid data packet is processed.
12、 如权利要求 11所述的基站, 所述基站是设置成将从 LS链路上接收 的数据包緩存一段时间后再进行处理,该緩存时间为基站从非 LS链路上接收 数据包与从 LS链路上接收数据包的时间差或者为基站在非 LS链路上发送数 据包到达对方基站的时间。  12. The base station according to claim 11, wherein the base station is configured to buffer a data packet received from the LS link for a period of time, and then perform processing, where the buffer time is that the base station receives the data packet from the non-LS link. The time difference of receiving a data packet from the LS link or the time when the base station transmits a data packet to the opposite base station on the non-LS link.
13、如权利要求 12所述的基站, 所述基站还设置成通过以下方式来区分 LS链路数据包及非 LS链路数据包: 当数据包为时分复用 TDM格式时, 通 过数据包的格式进行区分; 当数据包为 IP格式时, 通过接收数据包的端口或 者 IP地址来进行区分。  13. The base station according to claim 12, wherein the base station is further configured to distinguish between an LS link data packet and a non-LS link data packet by: when the data packet is a time division multiplexed TDM format, The format is distinguished; when the data packet is in the IP format, the distinction is made by receiving the port or IP address of the data packet.
14、 如权利要求 11或 12或 13所述的基站, 其中,  14. The base station according to claim 11 or 12 or 13, wherein
所述基站是设置成在终端从非 LS链路切换到 LS链路的过程中, 通过如 下方式既对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但只 对接收的有效数据包进行处理: 所述基站接收 LS链路建立命令, 在 LS链路 上向对方基站发送数据包, 同时开始接收对方基站发来的 LS链路数据包,且 所述基站继续在非 LS链路上收发数据包, 但只处理非 LS链路数据包, 处理 后发送给所述基站对应的终端。  The base station is configured to transmit and receive non-LS link data packets, and also send and receive LS link data packets, but only for receiving, when the terminal switches from the non-LS link to the LS link. The effective data packet is processed: the base station receives the LS link setup command, sends a data packet to the opposite base station on the LS link, and starts receiving the LS link data packet sent by the base station, and the base station continues to be in the non- The LS link transmits and receives data packets, but only processes non-LS link data packets, and processes the packets to the corresponding terminals of the base station.
15、 如权利要求 11或 12或 13所述的基站, 其中,  The base station according to claim 11 or 12 or 13, wherein
所述基站是设置成在终端从 LS链路切换的非 LS链路的过程中, 通过如 下方式既对非 LS链路数据包进行收发, 也对 LS链路数据包进行收发, 但只 对接收的有效数据包进行处理: 所述基站接收非 LS链路建立命令, 在非 LS 链路上向基站控制器发送数据包,同时开始接收基站控制器发来的非 LS链路 数据包,且所述基站继续在 LS链路上收发数据包,但只处理 LS链路数据包, 处理后发送给与所述基站对应的终端。  The base station is configured to send and receive non-LS link data packets, and also to send and receive LS link data packets, but only for receiving, in a process in which the terminal switches from the LS link to the non-LS link. The effective data packet is processed: the base station receives the non-LS link setup command, sends a data packet to the base station controller on the non-LS link, and starts to receive the non-LS link data packet sent by the base station controller, and The base station continues to send and receive data packets on the LS link, but only processes the LS link data packets, and processes the data packets to the terminal corresponding to the base station.
PCT/CN2010/071741 2009-04-13 2010-04-13 Method for switching between local switch link and non-local switch link WO2010118679A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910133656.XA CN101860991B (en) 2009-04-13 2009-04-13 Method for mutually switching local exchange chain and non-local exchange chain
CN200910133656.X 2009-04-13

Publications (1)

Publication Number Publication Date
WO2010118679A1 true WO2010118679A1 (en) 2010-10-21

Family

ID=42946559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/071741 WO2010118679A1 (en) 2009-04-13 2010-04-13 Method for switching between local switch link and non-local switch link

Country Status (2)

Country Link
CN (1) CN101860991B (en)
WO (1) WO2010118679A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571697B (en) * 2010-12-17 2015-05-13 中兴通讯股份有限公司 Method and device for transmitting real time protocol message

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061566A (en) * 1994-03-09 2000-05-09 Nokia Telecommunications Oy Mobile communication system and call control method
CN1391407A (en) * 2001-06-13 2003-01-15 华为技术有限公司 Seamless talking switching system and method for global radio mobile communication system
WO2007069229A1 (en) * 2005-12-15 2007-06-21 Slieve Mish Inventions Limited A communications system and method
CN101159905A (en) * 2007-11-07 2008-04-09 华为技术有限公司 Local exchange method, core network equipment and network system of implementing in base station controller
CN101180843A (en) * 2005-05-25 2008-05-14 艾利森电话股份有限公司 Local switching of calls setup by multimedia core network
CN101291538A (en) * 2008-06-13 2008-10-22 华为技术有限公司 Method for communication exchange in message receiving and sending station of base station, and subsystem of base station

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461945C (en) * 2005-06-27 2009-02-11 华为技术有限公司 Method for realizing local exchange in wireless local loop system
CN101326837A (en) * 2005-12-14 2008-12-17 松下电器产业株式会社 Communication device and switching method between regions
CN101374355B (en) * 2008-10-24 2013-06-05 华为技术有限公司 Method and apparatus for implementing local exchange

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061566A (en) * 1994-03-09 2000-05-09 Nokia Telecommunications Oy Mobile communication system and call control method
CN1391407A (en) * 2001-06-13 2003-01-15 华为技术有限公司 Seamless talking switching system and method for global radio mobile communication system
CN101180843A (en) * 2005-05-25 2008-05-14 艾利森电话股份有限公司 Local switching of calls setup by multimedia core network
WO2007069229A1 (en) * 2005-12-15 2007-06-21 Slieve Mish Inventions Limited A communications system and method
CN101159905A (en) * 2007-11-07 2008-04-09 华为技术有限公司 Local exchange method, core network equipment and network system of implementing in base station controller
CN101291538A (en) * 2008-06-13 2008-10-22 华为技术有限公司 Method for communication exchange in message receiving and sending station of base station, and subsystem of base station

Also Published As

Publication number Publication date
CN101860991A (en) 2010-10-13
CN101860991B (en) 2014-11-19

Similar Documents

Publication Publication Date Title
US11582650B2 (en) Methods and system for performing handover in a wireless communication system
RU2369986C2 (en) Method for service switching with commutation of packets
WO2008092408A1 (en) Method, device and system for establishing s1 signaling connection in evolved network
WO2011006440A1 (en) Method and device for switching
JP2007531430A5 (en)
WO2009111931A1 (en) Bearer establishment method and system based on handover
WO2010130135A1 (en) Handover method of crossing over base station in long term evolution system and system thereof
CN112203362A (en) Method and user equipment for reducing mobile interruption
WO2008106891A1 (en) A method, communication system and network entity for handing over a group of nodes
WO2008059570A1 (en) Communication terminal apparatus, communication system and seamless handover method
JP3845084B2 (en) Method and apparatus for facilitating dormant mode packet data mobile handoff
EP2033454A2 (en) Method and apparatus for facilitating a fast handoff in a wireless metropolitan area network
WO2013086949A1 (en) Method and device for communication
WO2009065321A1 (en) A method, system and device for processing the service in the circuit switching domain
JP2013529866A (en) S1 handover method, S1 handover data transmission method, and mobile communication system
WO2009067912A1 (en) A method and switch device for implementing switching
CN115515082B (en) 4G and 5G public and private network converged cluster communication method and system
WO2006122495A1 (en) A method for switch between the activation status ans in hrpd network and the system thereof
WO2011113207A1 (en) Method and device for service switch
WO2011069375A1 (en) Method, apparatus and system for controlling local switching
WO2010118679A1 (en) Method for switching between local switch link and non-local switch link
WO2011113210A1 (en) Method and device for local switching among multiple base stations
WO2009046594A1 (en) A method for negotiating codec between a wireless network and a core network in a mobile
WO2011134354A1 (en) System, method and base station subsystem for realizing handover in local switch
TW202033047A (en) Method of mobility interruption reduction and userequipment thereof

Legal Events

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

Ref document number: 10764092

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10764092

Country of ref document: EP

Kind code of ref document: A1