WO2013000288A1 - Link switching method, device and system - Google Patents

Link switching method, device and system Download PDF

Info

Publication number
WO2013000288A1
WO2013000288A1 PCT/CN2012/071726 CN2012071726W WO2013000288A1 WO 2013000288 A1 WO2013000288 A1 WO 2013000288A1 CN 2012071726 W CN2012071726 W CN 2012071726W WO 2013000288 A1 WO2013000288 A1 WO 2013000288A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission link
primary
bts
bsc
link
Prior art date
Application number
PCT/CN2012/071726
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 WO2013000288A1 publication Critical patent/WO2013000288A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/10Reselecting an access point controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/12Interfaces between hierarchically different network devices between access points and access point controllers

Definitions

  • the present invention relates to the field of communications, and in particular to a link switching method, apparatus, and system.
  • GSM Global System of Mobile Communication
  • the present invention relates to the field of communications, and in particular to a link switching method, apparatus, and system.
  • GSM Global System of Mobile Communication
  • BSC Base Station Controller
  • BTS Base Transceiver Station
  • this networking scheme will cause frequent cross-BSC switching, which will also cause frequency resources to be strained and affect subsequent capacity expansion.
  • the other is a scheme for redundant backup of primary and secondary base stations.
  • the primary and secondary base stations are in the same BSC, the frequency sequence is the same, and the coverage area is the same.
  • the primary network uses the shared frequency, and the standby network carrier frequency is not in the state of receiving and receiving messages. When the primary network carrier frequency fails, the standby is activated. Site, working with shared frequencies.
  • this networking solution requires additional resources to double the number of deployed base stations and waste resources. In view of the problem that both networking methods in the related technologies cause waste of resources, no effective solution has been proposed yet.
  • a primary object of the present invention is to provide a link switching method, apparatus, and system that can meet the requirements for high reliability of a communication system and solve the problem of resource waste caused by the related art.
  • a link switching method including: a base station (BTS) is connected to a primary base station controller (BSC) to establish a primary transmission link; and the BTS is connected to a backup BSC to establish a backup transmission chain.
  • BTS determines that the transmission link currently in the active transmission link and the backup transmission link is faulty, and switches the current service to another transmission link for processing.
  • the method further includes: the BTS initializing the primary transmission link and the Determining a state of the transmission link, setting a state of the primary transmission link to an active state, setting a state of the backup transmission link to an inactive state; and selecting, by the BTS, the primary transmission chain in an active state Road to work.
  • the BTS is connected to the primary BSC and the standby BSC, and the BTS is connected to the primary BSC through an abis interface in a primary direction; the BTS is connected to the secondary BSC through a standby abis interface.
  • the BTS determines that the currently active transmission link is faulty, and the method includes: the BTS periodically detecting states of the primary transmission link and the secondary transmission link; and the BTS detects current The transmission link corresponding to the used abis interface is disconnected, and it is determined that the transmission link currently in the working state is faulty.
  • the transmission link of the BTS in the working state is faulty, and after the current service is switched to another transmission link for processing, the method further includes: the BTS synchronously switching the media plane channel and the background maintenance channel.
  • the method further includes: when the BTS switches the current service to the backup transmission link for processing, the BTS detects that there is no service on the backup transmission link within a preset time, and the main The transmission link can transmit data; the BTS reverses the service on the backup transmission link back to the primary link for processing.
  • the method before the BTS is connected to the primary BSC and the standby BSC, the method further includes: the BTS setting a Flex abis switch, when the Flex abis switch is enabled, applying a primary and secondary abis interfaces, and supporting simultaneous connection The master BSC and the standby BSC.
  • a link switching apparatus which is disposed in a base station (BTS), and includes: a primary connection module, configured to connect with a primary base station controller (BSC) to establish a primary transmission link; a connection module, configured to connect with the backup BSC, and establish a backup transmission link; the handover module is configured to determine that the transmission link currently in the active transmission link and the backup transmission link is faulty, and the current service is Switch to another transmission link for processing.
  • BSC primary base station controller
  • the device further includes a detecting module, configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing, and the primary transmission chain
  • the circuit is capable of transmitting data; the switching module is further configured to switch the service on the backup transmission link back to the primary link for processing.
  • a link switching system including a base station (BTS), a primary base station controller (BSC), and a standby BSC: the BTS is set to be connected to the primary BSC to establish a primary transmission.
  • the primary BSC is set to The BTS connection is established to establish the primary transmission link; the standby BSC is configured to be connected to the BTS to establish the backup transmission link.
  • the BTS is further configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing, and the primary transmission link can transmit Data: The service on the backup transmission link is switched back to the primary link for processing.
  • the BTS is connected to the primary BSC to establish a primary transmission link; the BTS is connected to the secondary BSC to establish a secondary transmission link; and the BTS determines a transmission chain currently in a working state in the primary transmission link and the backup transmission link.
  • the road fails, and the current service is switched to another transmission link for processing. That is, in the embodiment of the present invention, one BTS is connected to two BSCs of the primary BSC and the secondary BSC, and the board-level backup of the BTS is implemented, and the backup of the primary and secondary sites is not required, thereby saving operational investment, and further It can improve the disaster tolerance of the BSC level.
  • FIG. 1 is a flowchart of a process of a link switching method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a process for setting a Flex abis switch in the background according to Embodiment 1 of the present invention
  • FIG. 4 is a flowchart of a process of performing primary-to-standby transmission configuration in the background according to the first embodiment of the present invention
  • FIG. 4 is a flowchart of initializing the primary and backup links after the initial power-on of the base station according to the first embodiment of the present invention
  • FIG. 5 is a flowchart of processing performed by a base station to perform an abis port link switching process according to Embodiment 1 of the present invention
  • FIG. 6 is a flowchart of a process of switching between a media plane channel and a background operation and maintenance channel according to Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of automatically reverting the primary direction of a base station according to Embodiment 1 of the present invention
  • FIG. 8 is a flowchart of a process of performing a primary-to-standby direction transmission configuration in a background according to Embodiment 2 of the present invention
  • FIG. 9 is a background implementation of Flex in a third embodiment according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a process for performing primary and backup direction transmission configuration in the background according to Embodiment 3 of the present invention
  • FIG. 11 is a first embodiment of a base station according to Embodiment 3 of the present invention
  • FIG. 12 is a flowchart of a process for performing an abis port link switching process in a base station according to Embodiment 3 of the present invention
  • FIG. 13 is a flowchart according to an embodiment of the present invention.
  • FIG. 14 is a flowchart of a process for switching a base station to automatically return to a primary direction flow;
  • FIG. 14 is a diagram of a link switching device according to an embodiment of the present invention. Species schematic structure;
  • FIG. 15 is a diagram showing the structure of the switching device according to a second embodiment of the present invention, the link;
  • FIG. 16 is a schematic structural link switching system according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
  • the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • the embodiment of the present invention provides a link switching method, and the processing flow thereof is as shown in FIG. 1 , including: Step S102: The BTS is connected to the primary BSC to establish a primary transmission link; Step S104, BTS and The backup BSC is connected to establish a backup transmission link. Step S106: The BTS determines that the transmission link currently in the active transmission link and the backup transmission link is faulty, and switches the current service to another transmission link for processing.
  • the BTS is connected to the primary BSC to establish a primary transmission link; the BTS is connected to the secondary BSC to establish a secondary transmission link; and the BTS determines a transmission chain currently in a working state in the primary transmission link and the backup transmission link.
  • the road fails, and the current service is switched to another transmission link for processing. That is, in the embodiment of the present invention, one BTS is connected to two BSCs of the primary BSC and the secondary BSC, and the board-level backup of the BTS is implemented, and the backup of the primary and secondary sites is not required, thereby saving operational investment, and further It can improve the disaster tolerance of the BSC level.
  • the base station works under different BSCs and uses the same frequency point configuration, which can improve the subsequent capacity expansion.
  • the following operations may also be performed: The BTS initializes the status of the primary transmission link and the backup transmission link, and The status of the primary transmission link is set to the working state, and the state of the secondary transmission link is set to the non-working state; the BTS selects the active transmission link to work.
  • the BTS can be connected to the primary BSC and the standby BSC in multiple manners, for example, using the wireless network to connect with the primary BSC and the standby BSC, or by using the wired network to connect with the primary BSC and the standby BSC.
  • the BTS includes: The abis interface in the main direction is connected to the primary BSC.
  • the BTS is connected to the standby BSC through the standby abis interface.
  • the primary transmission link corresponding to the abis interface in the BTS direction and the secondary transmission link corresponding to the standby abis interface exist simultaneously. .
  • the BTS can periodically detect the status of the primary transmission link and the backup transmission link in order to determine whether the transmission link currently in the working state is faulty.
  • the BTS detects that the transmission link corresponding to the currently used abis interface is disconnected. Then it is determined that the transmission link that is currently in operation is faulty. In an embodiment, after the BTS is currently in the working state, the transmission link is faulty, and the current service is switched to another transmission link for processing.
  • the BTS also needs to synchronously switch the media plane channel and the background maintenance channel to ensure information. Synchronize updates to ensure the accuracy of subsequent operations.
  • the BTS When the BTS switches the current service to the backup transmission link for processing, the BTS detects that there is no service on the backup transmission link within a preset time, and the primary transmission link can transmit data. The BTS switches the service on the backup transmission link. Go back to the main link for processing.
  • the BTS uses a rewind mechanism to enable as many sites as possible to work on the primary transport link, reducing handovers across the BSC.
  • the BTS before the BTS is connected to the primary BSC and the standby BSC, the BTS includes:
  • the BTS sets the Flex abis switch. When the Flex abis switch is enabled, the active and standby abis interfaces are applied to support the primary BSC and the standby BSC. Use this switch to achieve mutual exclusion with other work of the base station.
  • the purpose of the embodiments of the present invention is to provide a method for performing dynamic switching access according to the abis interface link state and implementing BSC level redundancy backup.
  • This scheme is called Flex abis, that is, the BTS is connected to the primary and backup BSCs at the same time, and the link transmission links are respectively established.
  • Flex abis that is, the BTS is connected to the primary and backup BSCs at the same time, and the link transmission links are respectively established.
  • the technical solution adopted by the link switching method provided by the embodiment of the present invention may include the following steps: Step 1: The base station supports the Flex abis switch setting; Step 2: The base station supports the primary and backup direction transmission configuration, and the primary and backup direction abis port control The link can exist at the same time.
  • Step 3 After the base station is powered on, complete the link establishment process of establishing the abis link with the primary and backup BSCs, and first select the link in the primary direction to initialize the work of the two links.
  • Step 4 The base station periodically detects the status of the active and standby links. If it detects that the currently used abis port is broken and the other link is in the normal state, it switches to another link.
  • Step 5 When the base station performs the abis port link switch, the media plane channel and the background maintenance channel also need to be switched synchronously.
  • Step 6 When the base station works in the standby direction, if it detects that there is no service currently, and the link in the active direction is normal, Then the base station will automatically return to work on the active link.
  • the present invention at least includes the following advantages:
  • the base station has achieved the board-level backup. It does not need to back up the primary and backup sites, saving operational investment. This solution can improve the BSC-level disaster tolerance capability. 2. When the base station works under different BSCs, the same frequency point configuration can be used to improve the subsequent capacity expansion.
  • the automatic rewinding mechanism of the base station can make as many stations work as possible in the main direction and reduce the switching across the BSC.
  • the technical solutions provided by the embodiments of the present invention are described in detail below to further understand the objects, aspects and functions of the embodiments of the present invention, but are not intended to limit the scope of the appended claims.
  • Example 1 In this embodiment, an IP (Internet Protocol) Over El (El-based IP) networking is used as an application scenario, and a link layer uses a Point-to-Point Protocol (PPP).
  • PPP Point-to-Point Protocol
  • the upper layer is the IP network layer
  • the transport layer uses SCTP (Stream Control Transmission Protocol).
  • Step one the Flex abis switch setting is performed in the background.
  • Set to Flex abis to distinguish the common configuration the switch is used to achieve mutual exclusion with other functions of the base station.
  • the configuration process is shown in Figure 2.
  • the BTS will perform the following operations: Step S202: Receive background configuration parameters; Step S204: Switch The value of the field is stored in the database; Step S206: End.
  • Step 2 Perform the primary and backup direction transmission configuration in the background.
  • Step S302 Receive a background parameter configuration
  • Step S304 Configure an E1 port in the primary and backup directions, and configure a PPP link layer bearer based on the E1 port, and configure an IP on the link layer.
  • Step S306 Configure an SCTP control plane link in the primary and backup directions based on the IP layer;
  • Step S308 Configure an operation and maintenance channel in the primary and backup directions based on the IP layer.
  • Step S310 Configure a user plane bearer channel in the primary and backup directions based on the IP layer.
  • Step S312 End.
  • Step 3 Initialization process of the primary and backup links after the initial power-on of the base station.
  • the BTS performs the following operations: Step S402: After the power is turned on, the SCTP link is established with the primary and secondary BSCs respectively.
  • Step S404 Identify the coupling number and the primary and secondary identifiers configured according to each SCTP link. Primary and backup links. Determining whether the SCTP in the primary direction has been established. If the chain has been established, step S406 is performed. Otherwise, step S408 is performed.
  • Step S406 Initializing the active link to an active state, and initializing the alternate direction link to an inactive state.
  • Step S418 Step S408: Determine whether the standby direction SCTP is built. If the chain is already established, go to step S410, otherwise go to step S422; Step S410: Start timer T1; Step S412: If T1 arrives before the time in the main direction If the SCTP is established, step S414 is performed, otherwise step S416 is performed; step S414: killing the timer T1, initializing the active link to the active state, and initializing the alternate direction link to the inactive state, and executing step S418; S416: When the timer T1 expires, the process of switching from the primary link to the standby link is performed.
  • Step S418 Selecting the SCTP coupling in the working state to interact with the BSC, requesting wireless parameter configuration.
  • Step S420 Receive the wireless configuration parameters delivered by the BSC, complete the parameter configuration process;
  • Step S422 End.
  • Step 4 The base station performs an abis port link switching process. Referring to FIG. 5, the BTS will perform the following operations: Step S502: During the detection process, find that the currently used SCTP (a) link is broken; Step S504: determining another link pattern of the SCTP (b).
  • Step S506 If the status is normal, executing step S506, executing step S514; step S506, setting the SCTP (b) link to the working state, and setting SCTP (a) to Step S508: Send an access message to the currently connected BSC using SCTP (b); Step S510: Re-configure the configuration parameter to the BSC, and complete the configuration process; Step S512: Complete the media plane channel and the background maintenance channel Synchronous switching. For the specific switching process, see step 5; Step S514: End. Step 5: The switching process of the media plane channel and the background operation maintenance channel. The media plane and the maintenance plane channel and the same IP index are referenced by the SCTP. The handover process is shown in FIG. 6.
  • Step S602 Determine the current primary and backup directions according to the current coupling number of the SCTP;
  • Step S604 Update the background The configuration parameters of the maintenance plane channel are re-completed to complete the chain-building process between the base station and the background.
  • Step S606 Update the maintenance plane channel parameters, and complete the reconstruction process of the media plane channel by the upper-layer application;
  • Step S608 End.
  • Step 6 The base station automatically reverts back to the main direction flow. If the base station works in the standby direction and detects that the active direction link has returned to normal, and there is no service currently, the base station will automatically switch to the active direction. Referring to FIG.
  • Step S702 Set the primary direction SCTP to the active state and the standby direction SCTP to the inactive state
  • Step S704 Send the access message to the currently connected BSC using the primary SCTP
  • Step S706 Perform a wireless parameter request to the BSC, and complete the configuration process
  • Step S708 Complete the synchronous switching of the media plane channel and the background maintenance channel. For the specific switching process, refer to step 5; Step S710: End.
  • Example two This embodiment uses Ethernet for networking.
  • the bottom layer is the Ethernet link layer
  • the network layer uses the IP protocol
  • the transport layer uses the SCTP protocol.
  • the link status of the Abis interface is based on the continuity of the SCTP link.
  • step two is different from example 1.
  • the execution of step two in this embodiment is as shown in FIG. 8, and includes:
  • Step S810 Based on the IP layer, configure the user plane bearer channel in the primary and backup directions; Step S812: End.
  • Example - the Abis port is accessed by E1, and the control plane link between the base station and the controller uses a Link Access Procedure of D-channel (D-channel access protocol) protocol, in this example.
  • the configuration of the link layer of the control plane and the judgment status of the link state of the abis port are different from those of the first and second examples.
  • the implementation steps of the example are as follows: Step 1: The Flex abis switch is set in the background. Set to Flex abis to distinguish the common configuration, the switch is used to implement mutual exclusion with other functions of the base station.
  • the configuration process is shown in FIG. 9.
  • the BTS will perform the following operations: Step S902: Receive background configuration parameters; Step S904: The value of the switch field is stored in the database; Step S906: End.
  • Step 2 Perform the primary and backup direction transmission configuration in the background.
  • the background In the Flex abis mode, the background must be configured with both the primary and backup E1 ports and the time slot resources used on each port to configure the primary and backup Lapd links.
  • the BTS will perform the following operations: Step S1002: Receive background configuration parameters; Step S1004: Configure the primary and backup direction El ports, and the time slot resources used on each port. Step S1006: Configure the Lapd control plane link in the primary and backup directions based on the E1 port. Step S1008: End.
  • E1 access there is no need to configure the media plane and background maintenance channel, and the media plane data is transmitted in the format of the underlying voice frame.
  • Step 3 Initialization process of the primary and backup links after the initial power-on of the base station. Referring to FIG. 11, the BTS will perform the following operations: Step S1102: After the power is turned on, the Lapd link is established with the primary and secondary BSCs respectively. Step S1104: Identify the link number and the primary and secondary identifiers configured according to each Lapd link. Primary and backup links.
  • step S1106 Determining whether the primary direction of the Lapd has been established, if the chain has been established, step S1106 is performed, otherwise step S1108 is performed; Step S1106: initializing the active link to the active state, and initializing the alternate direction link to the non-working state; S1108: determining whether the standby direction Lapd is built.
  • step S1110 is performed, otherwise step S1122 is performed; step S1110: starting timer T1; step S1112: if T1 is in the main direction before L1 is established, Step S1114 is performed, otherwise step S1116 is performed; Step S1114: Killing the timer T1, and initializing the active link to the active state, and initializing the alternate direction link to the non-operating state; Step S1116: Executing the timer T1
  • Step S1118 The Lapd link in the working state is selected to interact with the BSC to apply for wireless parameter configuration.
  • Step S1120 Receive the BSC delivery The wireless configuration parameters complete the parameter configuration process; Step S1122: End. Step 4: The base station performs an abis port link switching process.
  • the BTS will: Step S1202: During the detection process, find that the currently used Lapd (a) link is broken; Step S1204: Determine another link of the Lapd (b), and if the status is normal, perform the steps.
  • Step S1206 setting the link to an active state, setting Lapd (a) to a non-operating state
  • Step S1208 transmitting an access message to the currently connected BSC using Lapd (b)
  • Step S1210 Re-configure the configuration parameters to the BSC and complete the configuration process
  • Step S1212 End.
  • the switching between the media plane and the background maintenance channel is not required, because there is no related configuration.
  • Step 5 The base station automatically reverts back to the main direction flow. If the base station works in the standby direction and detects that the active direction link has returned to normal, and there is no service currently, the base station will automatically switch to the active direction.
  • an embodiment of the present invention further provides a link switching apparatus, which is disposed in a base station (BTS), and has a structural schematic diagram as shown in FIG. 14, including: a primary connection module 1401, configured to be connected to a primary base station controller.
  • the link switching device further includes a detecting module 1501, which is respectively connected to the main connecting module 1401 and the standby connecting module 1402, and is configured to switch the current service to the standby transmission link.
  • an embodiment of the present invention further provides a link switching system, which is shown in FIG. 16 and includes a base station (BTS) 1601, a primary base station controller (BSC) 1602, and a standby BSC 1603:
  • BTS base station
  • BSC primary base station controller
  • the BTS 1601 is configured to be connected to the primary BSC 1602 to establish a primary transmission link; to connect with the secondary BSC 1603 to establish a secondary transmission link; to determine that the transmission link in the working state is faulty, and to switch the current service to another transmission link.
  • the upper BSC 1602 is set to be connected to the BTS 1601 to establish a primary transmission link
  • the secondary BSC 1603 is set to be connected to the BTS 1601 to establish a backup transmission link.
  • the BTS 1601 is further configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing, and the primary transmission link can transmit data. The service on the backup transmission link is switched back to the primary link for processing.
  • the BTS is connected to the primary BSC to establish a primary transmission link; the BTS is connected to the secondary BSC to establish a secondary transmission link; It is determined that the transmission link currently in the active transmission link and the backup transmission link is faulty, and the current service is switched to another transmission link for processing. That is, in the embodiment of the present invention, one BTS is connected to two BSCs of the primary BSC and the secondary BSC, and the board-level backup of the BTS is implemented, and the backup of the primary and secondary sites is not required, thereby saving operational investment, and further It can improve the disaster tolerance of the BSC level.
  • the base station works under different BSCs and uses the same frequency point configuration, which can improve the subsequent capacity expansion.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

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

Abstract

Disclosed are a link switching method, device and system. The method comprises: connecting a BTS to an active BSC and establishing an active transmission link; connecting the BTS to a standby BSC and establishing a standby transmission link; and the BTS determining that a fault occurs in a transmission link currently in a working state in the active transmission link and the standby transmission link, and switching current services to the other transmission link for processing. With the present invention, requirements for high reliability of communication systems can be met, and meanwhile, the problem of resource waste in the relevant technologies can be solved.

Description

链路切换方法、 装置及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种链路切换方法、 装置及系统。 背景技术 目前 GSM (Global System of Mobile communication, 全球移动通讯系统) 已经广 泛应用到高速铁路运输中, 针对高速铁路的应用需求和使用特点, 对移动通信系统的 可靠性和容灾能力提出了更多的要求。 针对上述需求, 目前主要采用的主要有如下两种解决方案: 一种是双 BSC (Base Station Controller, 基站控制器)、 双平面方案。 每个 BSC连 接 1个平面的 BTS (Base Transceiver Station, 基站), 这两个平面的 BTS通过交织覆 盖方式实现冗余。 当某个 BTS损坏时, 将由邻接的 2个 BTS提供覆盖补充。 但这种 组网方案会造成频繁的跨 BSC的切换, 另外还会导致频率资源紧张, 影响后续扩容; 另一种是主、 备基站冗余备份的方案。 主、 备基站在一个 BSC下, 配置频点序列 一致, 覆盖的区域完全一致, 正常情况下主网使用共用频率, 备网载频处于不进行收 发消息状态; 当主网载频故障后, 激活备用站点, 使用共用频率工作。 但是这种组网 方案需要额外资源, 使部署的基站数量翻倍, 浪费资源。 针对相关技术中两种组网方式均会造成资源浪费的问题, 目前尚未提出有效的解 决方案。 发明内容 本发明的主要目的在于提供一种链路切换方法、 装置及系统, 能够满足对通讯系 统高可靠性的要求, 同时能够解决上述相关技术中造成资源浪费的问题。 根据本发明的一个方面, 提供了一种链路切换方法, 包括: 基站 (BTS) 与主基 站控制器 (BSC) 连接, 建立主传输链路; 所述 BTS与备 BSC连接, 建立备传输链 路;所述 BTS确定所述主传输链路和所述备传输链路中当前处于工作状态的传输链路 出现故障, 将当前业务切换到另外一条传输链路上进行处理。 优选的, 所述 BTS建立所述主传输链路和所述备传输链路之后, 确定当前处于工 作状态的传输链路出现故障之前, 还包括: 所述 BTS初始化所述主传输链路和所述备 传输链路的状态, 将所述主传输链路的状态设置为工作状态, 将所述备传输链路的状 态设置为非工作状态; 所述 BTS选用处于工作状态的所述主传输链路进行工作。 优选的, 所述 BTS与所述主 BSC及所述备 BSC连接, 包括: 所述 BTS通过主方 向的 abis接口与所述主 BSC连接;所述 BTS通过备方向的 abis接口与所述备 BSC连 接;其中,所述 BTS主方向的 abis接口对应的主传输链路和备方向的 abis接口对应的 备传输链路同时存在。 优选的, 所述 BTS确定所述当前处于工作状态的传输链路出现故障, 包括: 所述 BTS周期性检测所述主传输链路和所述备传输链路的状态;所述 BTS检测到当前使用 的 abis接口对应的传输链路断开, 确定当前处于工作状态的传输链路出现故障。 优选的, 所述 BTS当前处于工作状态的传输链路出现故障, 将当前业务切换到另 外一条传输链路上进行处理后, 还包括: 所述 BTS同步切换媒体面通道和后台维护通 道。 优选的, 上述方法还包括: 所述 BTS将当前业务切换到所述备传输链路上进行处 理时, 所述 BTS在预设时间内检测所述备传输链路上没有业务, 且所述主传输链路能 够传输数据; 所述 BTS将所述备传输链路上的业务倒换回所述主用链路上进行处理。 优选的, 所述 BTS与所述主 BSC、 所述备 BSC连接之前, 还包括: 所述 BTS设 置 Flex abis开关, 当所述 Flex abis开关打开时, 应用主备 abis接口, 支持同时连接所 述主 BSC和所述备 BSC。 根据本发明的另一个方面, 提供了一种链路切换装置, 设置于基站 (BTS) 中, 包括: 主连接模块, 设置为与主基站控制器 (BSC) 连接, 建立主传输链路; 备连接 模块, 设置为与备 BSC连接, 建立备传输链路; 切换模块, 设置为确定所述主传输链 路和所述备传输链路中当前处于工作状态的传输链路出现故障, 将当前业务切换到另 外一条传输链路上进行处理。 优选的, 上述装置还包括检测模块, 设置为将当前业务切换到所述备传输链路上 进行处理时, 在预设时间内检测所述备传输链路上没有业务, 且所述主传输链路能够 传输数据; 所述切换模块还设置为将所述备传输链路上的业务倒换回所述主用链路上 进行处理。 根据本发明的另一个方面, 提供了一种链路切换系统, 包括基站 (BTS)、 主基站 控制器 (BSC) 和备 BSC: 所述 BTS, 设置为与所述主 BSC连接, 建立主传输链路; 与所述备 BSC连接, 建立备传输链路; 确定处于工作状态的传输链路出现故障, 将当 前业务切换到另外一条传输链路上进行处理; 所述主 BSC, 设置为与所述 BTS连接, 建立所述主传输链路; 所述备 BSC, 设置为与所述 BTS连接, 建立所述备传输链路。 优选的, 所述 BTS还设置为将当前业务切换到所述备传输链路上进行处理时, 在 预设时间内检测所述备传输链路上没有业务, 且所述主传输链路能够传输数据; 将所 述备传输链路上的业务倒换回所述主用链路上进行处理。 在本发明实施例中, BTS与主 BSC连接, 建立主传输链路; BTS与备 BSC连接, 建立备传输链路; BTS确定主传输链路和备传输链路中当前处于工作状态的传输链路 出现故障, 将当前业务切换到另外一条传输链路上进行处理。 即, 在本发明实施例中, 一个 BTS同时与主 BSC、 备 BSC两个 BSC相连接, 实现了 BTS的单板级的备份, 不需要再进行主、 备站点的备份, 节约运营投入, 进而能够提高 BSC级的容灾能力; 另外, 基站在不同的 BSC下工作, 使用相同的频点配置, 可以提高后续的扩容能力。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的链路切换方法的处理流程图; 图 2是根据本发明实施例的实施例一中后台进行 Flex abis开关设置的处理流程 图; 图 3是根据本发明实施例的实施例一中后台进行主、 备方向传输配置的处理流程 图; 图 4是根据本发明实施例的实施例一中基站初次上电后对主、 备链路的初始化流 程的处理流程图; 图 5是根据本发明实施例的实施例一中基站进行 abis口链路切换流程的处理流程 图; 图 6是根据本发明实施例的实施例一中媒体面通道和后台操作维护通道的切换流 程的处理流程图; 图 7是根据本发明实施例的实施例一中基站自动倒回主用方向流程的切换流程的 处理流程图; 图 8是根据本发明实施例的实施例二中后台进行主、 备方向传输配置的处理流程 图; 图 9是根据本发明实施例的实施例三中后台进行 Flex abis开关设置的处理流程 图; 图 10是根据本发明实施例的实施例三中后台进行主、备方向传输配置的处理流程 图; 图 11是根据本发明实施例的实施例三中基站初次上电后对主、备链路的初始化流 程的处理流程图; 图 12是根据本发明实施例的实施例三中基站进行 abis 口链路切换流程的处理流 程图; 图 13 是根据本发明实施例的实施例三中基站自动倒回主用方向流程的切换流程 的处理流程图; 图 14是根据本发明实施例的链路切换装置的第一种结构示意图; 图 15是根据本发明实施例的链路切换装置的第二种结构示意图; 图 16是根据本发明实施例的链路切换系统的结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 相关技术中提到的两种组网方式, 一种会造成频繁的跨 BSC的切换, 另外还会导 致频率资源紧张, 影响后续扩容; 另外一种组网方案需要额外资源, 使部署的基站数 量翻倍, 浪费资源。 由此可见, 相关技术中涉及的组网方式均会造成资源的浪费。 为解决上述技术问题, 本发明实施例提供了一种链路切换方法, 其处理流程如图 1所示, 包括: 步骤 S102、 BTS与主 BSC连接, 建立主传输链路; 步骤 S104、 BTS与备 BSC连接, 建立备传输链路; 步骤 S106、 BTS确定主传输链路和备传输链路中当前处于工作状态的传输链路出 现故障, 将当前业务切换到另外一条传输链路上进行处理。 在本发明实施例中, BTS与主 BSC连接, 建立主传输链路; BTS与备 BSC连接, 建立备传输链路; BTS确定主传输链路和备传输链路中当前处于工作状态的传输链路 出现故障, 将当前业务切换到另外一条传输链路上进行处理。 即, 在本发明实施例中, 一个 BTS同时与主 BSC、 备 BSC两个 BSC相连接, 实现了 BTS的单板级的备份, 不需要再进行主、 备站点的备份, 节约运营投入, 进而能够提高 BSC级的容灾能力; 另外, 基站在不同的 BSC下工作, 使用相同的频点配置, 可以提高后续的扩容能力。 实施时, BTS建立主传输链路和备传输链路之后, 确定当前处于工作状态的传输 链路出现故障之前, 还可以执行如下操作: BTS初始化主传输链路和备传输链路的状 态, 将主传输链路的状态设置为工作状态, 将备传输链路的状态设置为非工作状态; BTS选用处于工作状态的主传输链路进行工作。 实施时, BTS可以采用多种方式与主 BSC及备 BSC连接, 例如, 利用无线网络 与主 BSC及备 BSC连接, 也可以利用有线网络与主 BSC及备 BSC连接, 优选的, 包 括: BTS通过主方向的 abis接口与主 BSC连接; BTS通过备方向的 abis接口与备 BSC 连接; 其中, BTS主方向的 abis接口对应的主传输链路和备方向的 abis接口对应的备传 输链路同时存在。 实施时, BTS为确定当前处于工作状态的传输链路是否出现故障, 可以周期性检 测主传输链路和备传输链路的状态; BTS检测到当前使用的 abis接口对应的传输链路 断开, 则确定当前处于工作状态的传输链路出现故障。 在一个实施例中, BTS当前处于工作状态的传输链路出现故障, 将当前业务切换 到另外一条传输链路上进行处理后, BTS还需要同步切换媒体面通道和后台维护通道, 以保证信息的同步更新, 保证后续的操作的准确性。 The present invention relates to the field of communications, and in particular to a link switching method, apparatus, and system. BACKGROUND OF THE INVENTION Currently, GSM (Global System of Mobile Communication) has been widely applied to high-speed railway transportation. For the application requirements and usage characteristics of high-speed railways, more challenges have been put forward on the reliability and disaster tolerance of mobile communication systems. Requirements. In response to the above requirements, the following two main solutions are mainly used: one is a dual BSC (Base Station Controller), and a dual plane solution. Each BSC is connected to a plane BTS (Base Transceiver Station), and the BTSs of the two planes are redundant by interleaving coverage. When a BTS is damaged, it will be supplemented by two adjacent BTSs. However, this networking scheme will cause frequent cross-BSC switching, which will also cause frequency resources to be strained and affect subsequent capacity expansion. The other is a scheme for redundant backup of primary and secondary base stations. The primary and secondary base stations are in the same BSC, the frequency sequence is the same, and the coverage area is the same. In normal conditions, the primary network uses the shared frequency, and the standby network carrier frequency is not in the state of receiving and receiving messages. When the primary network carrier frequency fails, the standby is activated. Site, working with shared frequencies. However, this networking solution requires additional resources to double the number of deployed base stations and waste resources. In view of the problem that both networking methods in the related technologies cause waste of resources, no effective solution has been proposed yet. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a link switching method, apparatus, and system that can meet the requirements for high reliability of a communication system and solve the problem of resource waste caused by the related art. According to an aspect of the present invention, a link switching method is provided, including: a base station (BTS) is connected to a primary base station controller (BSC) to establish a primary transmission link; and the BTS is connected to a backup BSC to establish a backup transmission chain. The BTS determines that the transmission link currently in the active transmission link and the backup transmission link is faulty, and switches the current service to another transmission link for processing. Preferably, after the BTS establishes the primary transmission link and the backup transmission link, before determining that the transmission link that is currently in the working state fails, the method further includes: the BTS initializing the primary transmission link and the Determining a state of the transmission link, setting a state of the primary transmission link to an active state, setting a state of the backup transmission link to an inactive state; and selecting, by the BTS, the primary transmission chain in an active state Road to work. Preferably, the BTS is connected to the primary BSC and the standby BSC, and the BTS is connected to the primary BSC through an abis interface in a primary direction; the BTS is connected to the secondary BSC through a standby abis interface. The primary transmission link corresponding to the abis interface in the primary direction of the BTS and the secondary transmission link corresponding to the abis interface in the standby direction exist simultaneously. Preferably, the BTS determines that the currently active transmission link is faulty, and the method includes: the BTS periodically detecting states of the primary transmission link and the secondary transmission link; and the BTS detects current The transmission link corresponding to the used abis interface is disconnected, and it is determined that the transmission link currently in the working state is faulty. Preferably, the transmission link of the BTS in the working state is faulty, and after the current service is switched to another transmission link for processing, the method further includes: the BTS synchronously switching the media plane channel and the background maintenance channel. Preferably, the method further includes: when the BTS switches the current service to the backup transmission link for processing, the BTS detects that there is no service on the backup transmission link within a preset time, and the main The transmission link can transmit data; the BTS reverses the service on the backup transmission link back to the primary link for processing. Preferably, before the BTS is connected to the primary BSC and the standby BSC, the method further includes: the BTS setting a Flex abis switch, when the Flex abis switch is enabled, applying a primary and secondary abis interfaces, and supporting simultaneous connection The master BSC and the standby BSC. According to another aspect of the present invention, a link switching apparatus is provided, which is disposed in a base station (BTS), and includes: a primary connection module, configured to connect with a primary base station controller (BSC) to establish a primary transmission link; a connection module, configured to connect with the backup BSC, and establish a backup transmission link; the handover module is configured to determine that the transmission link currently in the active transmission link and the backup transmission link is faulty, and the current service is Switch to another transmission link for processing. Preferably, the device further includes a detecting module, configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing, and the primary transmission chain The circuit is capable of transmitting data; the switching module is further configured to switch the service on the backup transmission link back to the primary link for processing. According to another aspect of the present invention, a link switching system is provided, including a base station (BTS), a primary base station controller (BSC), and a standby BSC: the BTS is set to be connected to the primary BSC to establish a primary transmission. Linking with the standby BSC to establish a backup transmission link; determining that the transmission link in the working state is faulty, and switching the current service to another transmission link for processing; the primary BSC is set to The BTS connection is established to establish the primary transmission link; the standby BSC is configured to be connected to the BTS to establish the backup transmission link. Preferably, the BTS is further configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing, and the primary transmission link can transmit Data: The service on the backup transmission link is switched back to the primary link for processing. In the embodiment of the present invention, the BTS is connected to the primary BSC to establish a primary transmission link; the BTS is connected to the secondary BSC to establish a secondary transmission link; and the BTS determines a transmission chain currently in a working state in the primary transmission link and the backup transmission link. The road fails, and the current service is switched to another transmission link for processing. That is, in the embodiment of the present invention, one BTS is connected to two BSCs of the primary BSC and the secondary BSC, and the board-level backup of the BTS is implemented, and the backup of the primary and secondary sites is not required, thereby saving operational investment, and further It can improve the disaster tolerance of the BSC level. In addition, the base station works under different BSCs and uses the same frequency point configuration, which can improve the subsequent capacity expansion. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flowchart of a process of a link switching method according to an embodiment of the present invention; FIG. 2 is a flowchart of a process for setting a Flex abis switch in the background according to Embodiment 1 of the present invention; FIG. 4 is a flowchart of a process of performing primary-to-standby transmission configuration in the background according to the first embodiment of the present invention; FIG. 4 is a flowchart of initializing the primary and backup links after the initial power-on of the base station according to the first embodiment of the present invention; FIG. 5 is a flowchart of processing performed by a base station to perform an abis port link switching process according to Embodiment 1 of the present invention; FIG. 6 is a flowchart of a process of switching between a media plane channel and a background operation and maintenance channel according to Embodiment 1 of the present invention; FIG. 7 is a flowchart of automatically reverting the primary direction of a base station according to Embodiment 1 of the present invention; FIG. 8 is a flowchart of a process of performing a primary-to-standby direction transmission configuration in a background according to Embodiment 2 of the present invention; FIG. 9 is a background implementation of Flex in a third embodiment according to an embodiment of the present invention. FIG. 10 is a flowchart of a process for performing primary and backup direction transmission configuration in the background according to Embodiment 3 of the present invention; FIG. 11 is a first embodiment of a base station according to Embodiment 3 of the present invention; FIG. 12 is a flowchart of a process for performing an abis port link switching process in a base station according to Embodiment 3 of the present invention; FIG. 13 is a flowchart according to an embodiment of the present invention. FIG. 14 is a flowchart of a process for switching a base station to automatically return to a primary direction flow; FIG. 14 is a diagram of a link switching device according to an embodiment of the present invention. Species schematic structure; FIG. 15 is a diagram showing the structure of the switching device according to a second embodiment of the present invention, the link; FIG. 16 is a schematic structural link switching system according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. Two types of networking modes mentioned in the related art may cause frequent cross-BSC switching, and also cause frequent frequency resources and affect subsequent capacity expansion. Another networking solution requires additional resources to enable the number of deployed base stations. Double, waste resources. It can be seen that the networking methods involved in the related technologies all cause waste of resources. To solve the above technical problem, the embodiment of the present invention provides a link switching method, and the processing flow thereof is as shown in FIG. 1 , including: Step S102: The BTS is connected to the primary BSC to establish a primary transmission link; Step S104, BTS and The backup BSC is connected to establish a backup transmission link. Step S106: The BTS determines that the transmission link currently in the active transmission link and the backup transmission link is faulty, and switches the current service to another transmission link for processing. In the embodiment of the present invention, the BTS is connected to the primary BSC to establish a primary transmission link; the BTS is connected to the secondary BSC to establish a secondary transmission link; and the BTS determines a transmission chain currently in a working state in the primary transmission link and the backup transmission link. The road fails, and the current service is switched to another transmission link for processing. That is, in the embodiment of the present invention, one BTS is connected to two BSCs of the primary BSC and the secondary BSC, and the board-level backup of the BTS is implemented, and the backup of the primary and secondary sites is not required, thereby saving operational investment, and further It can improve the disaster tolerance of the BSC level. In addition, the base station works under different BSCs and uses the same frequency point configuration, which can improve the subsequent capacity expansion. In the implementation, after the BTS establishes the primary transmission link and the backup transmission link, before determining that the currently active transmission link fails, the following operations may also be performed: The BTS initializes the status of the primary transmission link and the backup transmission link, and The status of the primary transmission link is set to the working state, and the state of the secondary transmission link is set to the non-working state; the BTS selects the active transmission link to work. In the implementation, the BTS can be connected to the primary BSC and the standby BSC in multiple manners, for example, using the wireless network to connect with the primary BSC and the standby BSC, or by using the wired network to connect with the primary BSC and the standby BSC. Preferably, the BTS includes: The abis interface in the main direction is connected to the primary BSC. The BTS is connected to the standby BSC through the standby abis interface. The primary transmission link corresponding to the abis interface in the BTS direction and the secondary transmission link corresponding to the standby abis interface exist simultaneously. . In the implementation, the BTS can periodically detect the status of the primary transmission link and the backup transmission link in order to determine whether the transmission link currently in the working state is faulty. The BTS detects that the transmission link corresponding to the currently used abis interface is disconnected. Then it is determined that the transmission link that is currently in operation is faulty. In an embodiment, after the BTS is currently in the working state, the transmission link is faulty, and the current service is switched to another transmission link for processing. The BTS also needs to synchronously switch the media plane channel and the background maintenance channel to ensure information. Synchronize updates to ensure the accuracy of subsequent operations.
BTS将当前业务切换到备传输链路上进行处理时, BTS在预设时间内检测备传输 链路上没有业务, 且主传输链路能够传输数据; BTS将备传输链路上的业务倒换回主 用链路上进行处理。 BTS采用倒回机制, 能够使尽可能多的站点工作在主传输链路上 工作, 减少跨 BSC的切换。 当然, 在实施时, BTS与主 BSC、 备 BSC连接之前, 还 包括: BTS设置 Flex abis开关, 当 Flex abis开关打开时, 应用主备 abis接口, 支持同 时连接主 BSC和备 BSC。 利用该开关实现与基站其他工作的互斥。 综上可知, 本发明实施例的目的在于: 提供一种可根据 abis口链路状态, 进行动 态切换接入, 实现 BSC级冗余备份的方法。 该方案称作 Flex abis, 即 BTS同时与主、 备 BSC连接, 并分别建链传输链路。 而当前只有一条链路在工作, 当处于工作态的传 输链路出现故障时, BTS可动态的切换到另一个 BSC下工作。 本发明实施例提供的链路切换方法所采用的技术方案可以包括以下步骤: 步骤一、 基站支持 Flex abis开关设置; 步骤二、 基站支持主、 备方向传输配置, 且主、 备方向 abis口控制面链路可以同 时存在; 步骤三、 基站上电后, 完成与主、 备方向 BSC建立 abis口链路的建链流程, 并首 先选用主用方向的链路工作, 初始化两条链路的工作状态; 步骤四、 基站周期检测主、 备方向链路的状态, 如果检测到当前使用的 abis口链 路断, 而另一条链路状态正常, 则切换到另一条链路上工作; 步骤五、 当基站进行 abis口链路切换时, 媒体面通道和后台维护通道也要做同步 切换; 步骤六、 当基站在备用方向工作时, 如果检测到当前没有业务, 且主用方向的链 路正常, 则基站会自动倒回到主用链路上工作。 与现有技术相比, 本发明至少包括以下优点: When the BTS switches the current service to the backup transmission link for processing, the BTS detects that there is no service on the backup transmission link within a preset time, and the primary transmission link can transmit data. The BTS switches the service on the backup transmission link. Go back to the main link for processing. The BTS uses a rewind mechanism to enable as many sites as possible to work on the primary transport link, reducing handovers across the BSC. Of course, before the BTS is connected to the primary BSC and the standby BSC, the BTS includes: The BTS sets the Flex abis switch. When the Flex abis switch is enabled, the active and standby abis interfaces are applied to support the primary BSC and the standby BSC. Use this switch to achieve mutual exclusion with other work of the base station. In summary, the purpose of the embodiments of the present invention is to provide a method for performing dynamic switching access according to the abis interface link state and implementing BSC level redundancy backup. This scheme is called Flex abis, that is, the BTS is connected to the primary and backup BSCs at the same time, and the link transmission links are respectively established. Currently, only one link is working. When the transmission link in the working state fails, the BTS can dynamically switch to work under another BSC. The technical solution adopted by the link switching method provided by the embodiment of the present invention may include the following steps: Step 1: The base station supports the Flex abis switch setting; Step 2: The base station supports the primary and backup direction transmission configuration, and the primary and backup direction abis port control The link can exist at the same time. Step 3: After the base station is powered on, complete the link establishment process of establishing the abis link with the primary and backup BSCs, and first select the link in the primary direction to initialize the work of the two links. Step 4: The base station periodically detects the status of the active and standby links. If it detects that the currently used abis port is broken and the other link is in the normal state, it switches to another link. Step 5: When the base station performs the abis port link switch, the media plane channel and the background maintenance channel also need to be switched synchronously. Step 6: When the base station works in the standby direction, if it detects that there is no service currently, and the link in the active direction is normal, Then the base station will automatically return to work on the active link. Compared with the prior art, the present invention at least includes the following advantages:
1、 目前基站已经实现了单板级的备份, 不需要再进行主、 备站点的备份, 节约运 营投入, 通过本方案可以提高 BSC级的容灾能力; 2、 基站在不同 BSC下工作时, 使用相同的频点配置, 可以提高后续的扩容能力; 1. At present, the base station has achieved the board-level backup. It does not need to back up the primary and backup sites, saving operational investment. This solution can improve the BSC-level disaster tolerance capability. 2. When the base station works under different BSCs, the same frequency point configuration can be used to improve the subsequent capacity expansion.
3、 基站的自动倒回机制, 能够使尽可能多的站点工作在主用方向工作, 减少跨 BSC的切换。 可用于 Abis口的传输链路有多种,不仅限于本发明实施例所提到的组网方式及使 用到的链路协议。 下面详细描述本发明实施例提供的技术方案, 以进一步的了解本发 明实施例的目的、 方案及功能, 但并非作为对本发明实施例所附权利要求保护范围的 限制。 实例一 本实施例以 IP (Internet Protocol, 网络协议) Over El (基于 El的 IP) 的组网方 式为应用场景, 链路层使用 PPP (Point-to-Point Protocol, 点到点协议), 之上为 IP网 络层, 传输层使用 SCTP ( Stream Control Transmission Protocol, 流控制传输协议)。 Abis口链路状态以 SCTP链路的通断作为判断依据。 本例对上述的步骤一至六进行具 体分析: 步骤一, 后台进行 Flex abis开关设置。 设置为 Flex abis开启, 以区分普通配置, 开关用来实现与基站其它功能的互斥, 配置流程见附图 2, BTS将执行如下操作: 步骤 S202: 收到后台配置参数; 步骤 S204: 将开关字段的值存入数据库中; 步骤 S206: 结束。 步骤二, 后台进行主、 备方向传输配置。 在 Flex abis模式下, 后台必须同时配置 有主、 备 SCTP, 主、 备 OMCB (Operation and Maintenance Centre for NodeB, Node B 的操作维护中心)通道, 主、 备用户面承载时, 才能将配置参数下发。 见附图 3, BTS 将执行如下操作: 步骤 S302: 接收到后台参数配置; 步骤 S304: 配置主、 备方向 E1端口, 并基于 E1端口配置 PPP链路层承载, 在 链路层之上配置 IP层; 步骤 S306: 基于 IP层, 配置主、 备方向的 SCTP控制面链路; 步骤 S308: 基于 IP层, 配置主、 备方向的操作维护通道; 步骤 S310: 基于 IP层, 配置主、 备方向的用户面承载通道; 步骤 S312: 结束。 步骤三, 基站初次上电后对主、 备链路的初始化流程。 见附图 4, BTS将执行如 下操作: 步骤 S402: 上电后分别与主、 备 BSC建链 SCTP链路; 步骤 S404: 根据每条 SCTP链路配置的偶联号和主、备标识来识别为主、备链路。 判断主用方向的 SCTP是否已经建链, 如果已经建链, 则执行步骤 S406, 否则执行步 骤 S408; 步骤 S406: 将主用链路初始化为工作态, 将备用方向链路初始化为非工作态, 执 行步骤 S418; 步骤 S408: 判断备用方向 SCTP是否建链, 如果已经建链, 则执行步骤 S410, 否 则执行步骤 S422; 步骤 S410: 启动定时器 T1 ; 步骤 S412: 如果 T1到时前主用方向的 SCTP建链, 则执行步骤 S414, 否则执行 步骤 S416; 步骤 S414: 杀掉定时器 Tl, 并将主用链路初始化为工作态, 将备用方向链路初 始化为非工作态, 执行步骤 S418; 步骤 S416: 定时器 T1到时, 执行由主用链路向备用链路切换的流程, 链路切换 流程见步骤四; 步骤 S418: 选用处于工作态的 SCTP偶联与 BSC进行交互, 申请无线参数配置; 步骤 S420: 接收到 BSC下发的无线配置参数, 完成参数配置流程; 步骤 S422: 结束。 步骤四, 基站进行 abis口链路切换流程。 见附图 5, BTS将执行如下操作: 步骤 S502: 在检测过程中, 发现当前使用的 SCTP(a)链路断; 步骤 S504: 判断另一条 SCTP(b)的链路状, 如果状态正常, 则执行步骤 S506, 执 行步骤 S514; 步骤 S506、 将 SCTP(b)链路设置为工作态, 将 SCTP(a)设置为非工作态; 步骤 S508: 使用 SCTP(b)发送接入消息给当前连接的 BSC; 步骤 S510: 重新向 BSC进行配置参数请求, 并完成配置流程; 步骤 S512: 完成媒体面通道和后台维护通道的同步切换, 具体的切换流程请参见 步骤五; 步骤 S514: 结束。 步骤五, 媒体面通道和后台操作维护通道的切换流程。 媒体面和维护面通道与 SCTP引用相同的 IP索引, 切换流程见附图 6, BTS将: 步骤 S602: 根据当前使用 SCTP的偶联号, 来判断当前的主、 备方向; 步骤 S604:更新后台维护面通道的配置参数,重新完成基站与后台间的建链流程; 步骤 S606: 更新维护面通道参数, 由上层应用完成媒体面通道的重建流程; 步骤 S608: 结束。 步骤六, 基站自动倒回主用方向流程。 如果基站工作在备用方向, 检测到主用方 向链路已经恢复正常, 并且当前没有业务时, 基站将自动切换到主用方向工作。 见附 图 7, BTS将执行如下操作: 步骤 S702:将主用方向 SCTP设置为工作态,将备用方向 SCTP设置为非工作态; 步骤 S704: 使用主用 SCTP发送接入消息给当前连接的 BSC; 步骤 S706: 向 BSC进行无线参数请求, 并完成配置流程; 步骤 S708: 完成媒体面通道和后台维护通道的同步切换, 具体的切换流程请参见 步骤五; 步骤 S710: 结束。 实例二 本实施例使用以太网进行组网, 底层为以太链路层, 网络层使用 IP协议, 传输层 使用 SCTP协议。 Abis口链路状态以 SCTP链路的通断作为判断依据。与实例一相比, 本实施例只有在进行传输配置时操作不同。 同样使用步骤一到六完成本实施例的流程, 除步骤二与实例 1不同之外, 其他步 骤均相同。 在本实施例中步骤二的执行如图 8所示, 包括: 牛鹏 3. The automatic rewinding mechanism of the base station can make as many stations work as possible in the main direction and reduce the switching across the BSC. There are a variety of transmission links that can be used for the Abis interface, and are not limited to the networking modes and link protocols used in the embodiments of the present invention. The technical solutions provided by the embodiments of the present invention are described in detail below to further understand the objects, aspects and functions of the embodiments of the present invention, but are not intended to limit the scope of the appended claims. Example 1 In this embodiment, an IP (Internet Protocol) Over El (El-based IP) networking is used as an application scenario, and a link layer uses a Point-to-Point Protocol (PPP). The upper layer is the IP network layer, and the transport layer uses SCTP (Stream Control Transmission Protocol). The link status of the Abis interface is based on the continuity of the SCTP link. In this example, the above steps 1 to 6 are specifically analyzed: Step one, the Flex abis switch setting is performed in the background. Set to Flex abis to distinguish the common configuration, the switch is used to achieve mutual exclusion with other functions of the base station. The configuration process is shown in Figure 2. The BTS will perform the following operations: Step S202: Receive background configuration parameters; Step S204: Switch The value of the field is stored in the database; Step S206: End. Step 2: Perform the primary and backup direction transmission configuration in the background. In the Flex abis mode, the background must be configured with both the primary and backup SCTP, the OMCB (Operation and Maintenance Centre for NodeB, Node B operation and maintenance center) channel, and the primary and backup user planes can be loaded under the configuration parameters. hair. Referring to FIG. 3, the BTS will perform the following operations: Step S302: Receive a background parameter configuration; Step S304: Configure an E1 port in the primary and backup directions, and configure a PPP link layer bearer based on the E1 port, and configure an IP on the link layer. Step S306: Configure an SCTP control plane link in the primary and backup directions based on the IP layer; Step S308: Configure an operation and maintenance channel in the primary and backup directions based on the IP layer. Step S310: Configure a user plane bearer channel in the primary and backup directions based on the IP layer. Step S312: End. Step 3: Initialization process of the primary and backup links after the initial power-on of the base station. Referring to FIG. 4, the BTS performs the following operations: Step S402: After the power is turned on, the SCTP link is established with the primary and secondary BSCs respectively. Step S404: Identify the coupling number and the primary and secondary identifiers configured according to each SCTP link. Primary and backup links. Determining whether the SCTP in the primary direction has been established. If the chain has been established, step S406 is performed. Otherwise, step S408 is performed. Step S406: Initializing the active link to an active state, and initializing the alternate direction link to an inactive state. Step S418: Step S408: Determine whether the standby direction SCTP is built. If the chain is already established, go to step S410, otherwise go to step S422; Step S410: Start timer T1; Step S412: If T1 arrives before the time in the main direction If the SCTP is established, step S414 is performed, otherwise step S416 is performed; step S414: killing the timer T1, initializing the active link to the active state, and initializing the alternate direction link to the inactive state, and executing step S418; S416: When the timer T1 expires, the process of switching from the primary link to the standby link is performed. For the link switching process, see step 4; Step S418: Selecting the SCTP coupling in the working state to interact with the BSC, requesting wireless parameter configuration. Step S420: Receive the wireless configuration parameters delivered by the BSC, complete the parameter configuration process; Step S422: End. Step 4: The base station performs an abis port link switching process. Referring to FIG. 5, the BTS will perform the following operations: Step S502: During the detection process, find that the currently used SCTP (a) link is broken; Step S504: determining another link pattern of the SCTP (b). If the status is normal, executing step S506, executing step S514; step S506, setting the SCTP (b) link to the working state, and setting SCTP (a) to Step S508: Send an access message to the currently connected BSC using SCTP (b); Step S510: Re-configure the configuration parameter to the BSC, and complete the configuration process; Step S512: Complete the media plane channel and the background maintenance channel Synchronous switching. For the specific switching process, see step 5; Step S514: End. Step 5: The switching process of the media plane channel and the background operation maintenance channel. The media plane and the maintenance plane channel and the same IP index are referenced by the SCTP. The handover process is shown in FIG. 6. The BTS will: Step S602: Determine the current primary and backup directions according to the current coupling number of the SCTP; Step S604: Update the background The configuration parameters of the maintenance plane channel are re-completed to complete the chain-building process between the base station and the background. Step S606: Update the maintenance plane channel parameters, and complete the reconstruction process of the media plane channel by the upper-layer application; Step S608: End. Step 6: The base station automatically reverts back to the main direction flow. If the base station works in the standby direction and detects that the active direction link has returned to normal, and there is no service currently, the base station will automatically switch to the active direction. Referring to FIG. 7, the BTS will perform the following operations: Step S702: Set the primary direction SCTP to the active state and the standby direction SCTP to the inactive state; Step S704: Send the access message to the currently connected BSC using the primary SCTP. Step S706: Perform a wireless parameter request to the BSC, and complete the configuration process. Step S708: Complete the synchronous switching of the media plane channel and the background maintenance channel. For the specific switching process, refer to step 5; Step S710: End. Example two This embodiment uses Ethernet for networking. The bottom layer is the Ethernet link layer, the network layer uses the IP protocol, and the transport layer uses the SCTP protocol. The link status of the Abis interface is based on the continuity of the SCTP link. Compared with the first example, this embodiment differs only in the operation of the transmission configuration. The flow of this embodiment is also completed using steps one to six. The other steps are the same except that step two is different from example 1. The execution of step two in this embodiment is as shown in FIG. 8, and includes:
少 S802: 接收到后台参数配置; 牛鹏  Less S802: Received background parameter configuration; Niu Peng
少 S804: 配置 FE或 GE端口, 并基于以太端口配置 IP层;  Less S804: Configure the FE or GE port, and configure the IP layer based on the Ethernet port;
牛鹏  Niu Peng
少 S806: 基于 IP层, 配置主、 备方向的 SCTP控制面链路; 牛鹏  Less S806: Based on the IP layer, configure the SCTP control plane link in the primary and backup directions;
少 S808: 基于 IP层, 配置主、 备方向的操作维护通道; 牛鹏  Less S808: Based on the IP layer, configure the operation and maintenance channels of the primary and backup directions;
少 S810: 基于 IP层, 配置主、 备方向的用户面承载通道; 步骤 S812: 结束。  S810: Based on the IP layer, configure the user plane bearer channel in the primary and backup directions; Step S812: End.
 Two
实例— 本实施例中, Abis口使用 E1接入,基站与控制器间的控制面链路使用 Lapd (Link Access Procedure of D-channel, D通路上链路接入规程) 协议, 在该实例中, 控制面 链路层的配置, 及 abis口链路状态的判断依据与实例一和二相比均有所不同, 该实例 实施步骤如下: 步骤一, 后台进行 Flex abis开关设置。 设置为 Flex abis开启, 以区分普通配置, 所述开关用来实现与基站其它功能的互斥, 配置流程见附图 9, BTS将执行如下操作: 步骤 S902: 收到后台配置参数; 步骤 S904: 将开关字段的值存入数据库中; 步骤 S906: 结束。 步骤二, 后台进行主、 备方向传输配置。 在 Flex abis模式下, 后台必须同时配置 有主、 备方向的 E1端口, 和每个端口上使用的时隙资源, 配置主、 备方向的 Lapd链 路。 见附图 10, BTS将执行如下操作: 步骤 S1002: 接收到后台配置参数; 步骤 S1004: 配置主、 备方向 El端口, 和每个端口上使用的时隙资源; 步骤 S1006: 基于 E1端口, 配置主、 备方向的 Lapd控制面链路; 步骤 S1008: 结束。 使用 E1 接入时, 不需要进行媒体面和后台维护通道的配置, 媒体面数据以底层 语音帧的格式进行传输。 维护通道也不再经过 abis口连接基站, 所有配置都以 abis口 参数的形式通过 BSC进行下发。 步骤三, 基站初次上电后对主、 备链路的初始化流程。 见附图 11, BTS将执行如 下操作: 步骤 S1102: 上电后分别与主、 备 BSC建链 Lapd链路; 步骤 S1104:根据每条 Lapd链路配置的链路号和主、备标识来识别为主、备链路。 判断主用方向的 Lapd是否已经建链, 如果已经建链, 执行步骤 S1106, 否则执行步骤 S1108; 步骤 S1106: 将主用链路初始化为工作态, 将备用方向链路初始化为非工作态; 步骤 S1108: 判断备用方向 Lapd是否建链, 如果已经建链, 则执行步骤 S1110, 否则执行步骤 S1122; 步骤 S1110: 启动定时器 T1 ; 步骤 S1112: 如果 T1到时前主用方向的 Lapd建链, 则执行步骤 S1114, 否则执 行步骤 S1116; 步骤 S1114: 杀掉定时器 Tl, 并将主用链路初始化为工作态, 将备用方向链路初 始化为非工作态; 步骤 S1116: 定时器 T1到时, 执行由主用链路向备用链路切换的流程, 链路切换 流程见步骤四; 步骤 S1118: 选用处于工作态的 Lapd链路与 BSC进行交互, 申请无线参数配置; 步骤 S1120: 接收到 BSC下发的无线配置参数, 完成参数配置流程; 步骤 S1122: 结束。 步骤四, 基站进行 abis口链路切换流程。 见附图 12, BTS将: 步骤 S1202: 在检测过程中, 发现当前使用的 Lapd(a)链路断; 步骤 S1204: 判断另一条 Lapd (b)的链路状, 如果状态正常, 则执行步骤 S1206, 否则执行步骤 S1212; 步骤 S1206: 将该链路设置为工作态, 将 Lapd (a)设置为非工作态; 步骤 S1208: 使用 Lapd (b)发送接入消息给当前连接的 BSC; 步骤 S1210: 重新向 BSC进行配置参数请求, 并完成配置流程; 步骤 S1212: 结束。 本实施例中不需要进行媒体面和后台维护通道的切换, 因为没有相关配置, 具体 原因请参见步骤二的内容。 步骤五, 基站自动倒回主用方向流程。 如果基站工作在备用方向, 检测到主用方 向链路已经恢复正常, 并且当前没有业务时, 基站将自动切换到主用方向工作。 见附 图 13, BTS将执行如下操作: 步骤 S1302: 将主用方向 Lapd设置为工作态, 将备用方向 Lapd设置为非工作态; 步骤 S1304: 使用主用 Lapd发送接入消息给当前连接的 BSC; 步骤 S1306: 向 BSC进行无线参数请求, 并完成配置流程; 步骤 S1308: 结束。 基于同一发明构思,本发明实施例还提供了一种链路切换装置,设置于基站 (BTS) 中, 其结构示意图如图 14所示, 包括: 主连接模块 1401, 设置为与主基站控制器 (BSC) 连接, 建立主传输链路; 备连接模块 1402, 设置为与备 BSC连接, 建立备传输链路; 切换模块 1403, 分别与主连接模块 1401及备连接模块 1402连接, 设置为确定主 传输链路和备传输链路中当前处于工作状态的传输链路出现故障, 将当前业务切换到 另外一条传输链路上进行处理。 在一个实施例中,优选的,如图 15所示,上述链路切换装置还包括检测模块 1501, 分别与主连接模块 1401及备连接模块 1402连接, 设置为将当前业务切换到备传输链 路上进行处理时, 在预设时间内检测备传输链路上没有业务, 且主传输链路能够传输 数据; 切换模块 1403, 与检测模块 1501相连接, 还设置为将备传输链路上的业务倒换 回主用链路上进行处理。 基于同一发明构思, 本发明实施例还提供了一种链路切换系统, 其结构示意图如 图 16所示, 包括基站 (BTS ) 1601、 主基站控制器 (BSC) 1602和备 BSC 1603 : Example - In this embodiment, the Abis port is accessed by E1, and the control plane link between the base station and the controller uses a Link Access Procedure of D-channel (D-channel access protocol) protocol, in this example. The configuration of the link layer of the control plane and the judgment status of the link state of the abis port are different from those of the first and second examples. The implementation steps of the example are as follows: Step 1: The Flex abis switch is set in the background. Set to Flex abis to distinguish the common configuration, the switch is used to implement mutual exclusion with other functions of the base station. The configuration process is shown in FIG. 9. The BTS will perform the following operations: Step S902: Receive background configuration parameters; Step S904: The value of the switch field is stored in the database; Step S906: End. Step 2: Perform the primary and backup direction transmission configuration in the background. In the Flex abis mode, the background must be configured with both the primary and backup E1 ports and the time slot resources used on each port to configure the primary and backup Lapd links. Referring to FIG. 10, the BTS will perform the following operations: Step S1002: Receive background configuration parameters; Step S1004: Configure the primary and backup direction El ports, and the time slot resources used on each port. Step S1006: Configure the Lapd control plane link in the primary and backup directions based on the E1 port. Step S1008: End. When using E1 access, there is no need to configure the media plane and background maintenance channel, and the media plane data is transmitted in the format of the underlying voice frame. The maintenance channel is no longer connected to the base station through the abis port. All configurations are delivered through the BSC in the form of abis interface parameters. Step 3: Initialization process of the primary and backup links after the initial power-on of the base station. Referring to FIG. 11, the BTS will perform the following operations: Step S1102: After the power is turned on, the Lapd link is established with the primary and secondary BSCs respectively. Step S1104: Identify the link number and the primary and secondary identifiers configured according to each Lapd link. Primary and backup links. Determining whether the primary direction of the Lapd has been established, if the chain has been established, step S1106 is performed, otherwise step S1108 is performed; Step S1106: initializing the active link to the active state, and initializing the alternate direction link to the non-working state; S1108: determining whether the standby direction Lapd is built. If the chain is already established, step S1110 is performed, otherwise step S1122 is performed; step S1110: starting timer T1; step S1112: if T1 is in the main direction before L1 is established, Step S1114 is performed, otherwise step S1116 is performed; Step S1114: Killing the timer T1, and initializing the active link to the active state, and initializing the alternate direction link to the non-operating state; Step S1116: Executing the timer T1 For the process of switching from the primary link to the standby link, the link switching process is as follows: Step S1118: The Lapd link in the working state is selected to interact with the BSC to apply for wireless parameter configuration. Step S1120: Receive the BSC delivery The wireless configuration parameters complete the parameter configuration process; Step S1122: End. Step 4: The base station performs an abis port link switching process. Referring to FIG. 12, the BTS will: Step S1202: During the detection process, find that the currently used Lapd (a) link is broken; Step S1204: Determine another link of the Lapd (b), and if the status is normal, perform the steps. S1206, otherwise step S1212 is performed; Step S1206: setting the link to an active state, setting Lapd (a) to a non-operating state; Step S1208: transmitting an access message to the currently connected BSC using Lapd (b); Step S1210 : Re-configure the configuration parameters to the BSC and complete the configuration process; Step S1212: End. In this embodiment, the switching between the media plane and the background maintenance channel is not required, because there is no related configuration. For details, refer to the content of step 2. Step 5: The base station automatically reverts back to the main direction flow. If the base station works in the standby direction and detects that the active direction link has returned to normal, and there is no service currently, the base station will automatically switch to the active direction. Referring to FIG. 13, the BTS will perform the following operations: Step S1302: Set the primary direction Lapd to the active state and the standby direction Lapd to the non-operating state; Step S1304: Send the access message to the currently connected BSC using the primary Lapd. Step S1306: Perform a wireless parameter request to the BSC, and complete the configuration process; Step S1308: End. Based on the same inventive concept, an embodiment of the present invention further provides a link switching apparatus, which is disposed in a base station (BTS), and has a structural schematic diagram as shown in FIG. 14, including: a primary connection module 1401, configured to be connected to a primary base station controller. (BSC) connection, establishing a primary transmission link; a backup connection module 1402, configured to connect with the standby BSC, establishing a backup transmission link; the switching module 1403 is respectively connected with the primary connection module 1401 and the backup connection module 1402, and is set to determine the main The transmission link that is currently working in the transmission link and the backup transmission link fails, and the current service is switched to another transmission link for processing. In an embodiment, as shown in FIG. 15, the link switching device further includes a detecting module 1501, which is respectively connected to the main connecting module 1401 and the standby connecting module 1402, and is configured to switch the current service to the standby transmission link. When processing is performed, no service is detected on the backup transmission link within a preset time, and the primary transmission link can transmit data; the switching module 1403 is connected to the detection module 1501, and is also configured to connect the service on the backup transmission link. Switch back to the main link for processing. Based on the same inventive concept, an embodiment of the present invention further provides a link switching system, which is shown in FIG. 16 and includes a base station (BTS) 1601, a primary base station controller (BSC) 1602, and a standby BSC 1603:
BTS 1601 , 设置为与主 BSC 1602连接, 建立主传输链路; 与备 BSC 1603连接, 建立备传输链路; 确定处于工作状态的传输链路出现故障, 将当前业务切换到另外一 条传输链路上进行处理; 主 BSC 1602, 设置为与 BTS 1601连接, 建立主传输链路; 备 BSC 1603, 设置为与 BTS 1601连接, 建立备传输链路。 在一个实施例中, 优选的, BTS 1601还设置为将当前业务切换到备传输链路上进 行处理时, 在预设时间内检测备传输链路上没有业务, 且主传输链路能够传输数据; 将备传输链路上的业务倒换回主用链路上进行处理。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 在本发明实施例中, BTS与主 BSC连接, 建立主传输链路; BTS与备 BSC连接, 建立备传输链路; BTS确定主传输链路和备传输链路中当前处于工作状态的传输链路 出现故障, 将当前业务切换到另外一条传输链路上进行处理。 即, 在本发明实施例中, 一个 BTS同时与主 BSC、 备 BSC两个 BSC相连接, 实现了 BTS的单板级的备份, 不需要再进行主、 备站点的备份, 节约运营投入, 进而能够提高 BSC级的容灾能力; 另外, 基站在不同的 BSC下工作, 使用相同的频点配置, 可以提高后续的扩容能力。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 The BTS 1601 is configured to be connected to the primary BSC 1602 to establish a primary transmission link; to connect with the secondary BSC 1603 to establish a secondary transmission link; to determine that the transmission link in the working state is faulty, and to switch the current service to another transmission link. The upper BSC 1602 is set to be connected to the BTS 1601 to establish a primary transmission link, and the secondary BSC 1603 is set to be connected to the BTS 1601 to establish a backup transmission link. In an embodiment, the BTS 1601 is further configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing, and the primary transmission link can transmit data. The service on the backup transmission link is switched back to the primary link for processing. From the above description, it can be seen that the present invention achieves the following technical effects: In the embodiment of the present invention, the BTS is connected to the primary BSC to establish a primary transmission link; the BTS is connected to the secondary BSC to establish a secondary transmission link; It is determined that the transmission link currently in the active transmission link and the backup transmission link is faulty, and the current service is switched to another transmission link for processing. That is, in the embodiment of the present invention, one BTS is connected to two BSCs of the primary BSC and the secondary BSC, and the board-level backup of the BTS is implemented, and the backup of the primary and secondary sites is not required, thereby saving operational investment, and further It can improve the disaster tolerance of the BSC level. In addition, the base station works under different BSCs and uses the same frequency point configuration, which can improve the subsequent capacity expansion. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种链路切换方法, 包括: A link switching method, including:
基站 BTS与主基站控制器 BSC连接, 建立主传输链路;  The base station BTS is connected to the primary base station controller BSC to establish a primary transmission link;
所述 BTS与备 BSC连接, 建立备传输链路;  The BTS is connected to the standby BSC to establish a backup transmission link.
所述 BTS 确定所述主传输链路和所述备传输链路中当前处于工作状态的 传输链路出现故障, 将当前业务切换到另外一条传输链路上进行处理。  The BTS determines that the transmission link currently in the active transmission link and the backup transmission link is faulty, and switches the current service to another transmission link for processing.
2. 根据权利要求 1所述的方法, 其中, 所述 BTS建立所述主传输链路和所述备传 输链路之后, 确定当前处于工作状态的传输链路出现故障之前, 还包括: The method according to claim 1, wherein, after the BTS establishes the primary transmission link and the backup transmission link, before determining that the transmission link currently in the working state fails, the method further includes:
所述 BTS初始化所述主传输链路和所述备传输链路的状态,将所述主传输 链路的状态设置为工作状态, 将所述备传输链路的状态设置为非工作状态; 所述 BTS选用处于工作状态的所述主传输链路进行工作。  Determining, by the BTS, a state of the primary transmission link and the secondary transmission link, setting a state of the primary transmission link to an active state, and setting a state of the secondary transmission link to a non-working state; The BTS operates with the primary transmission link in an active state.
3. 根据权利要求 1所述的方法, 其中, 所述 BTS与所述主 BSC及所述备 BSC连 接, 包括: The method according to claim 1, wherein the BTS is connected to the primary BSC and the standby BSC, and includes:
所述 BTS通过主方向的 abis接口与所述主 BSC连接;  The BTS is connected to the main BSC through an abis interface in a primary direction;
所述 BTS通过备方向的 abis接口与所述备 BSC连接;  The BTS is connected to the standby BSC through a standby abis interface;
其中, 所述 BTS主方向的 abis接口对应的主传输链路和备方向的 abis接 口对应的备传输链路同时存在。  The primary transmission link corresponding to the abis interface in the primary direction of the BTS and the secondary transmission link corresponding to the abis interface in the standby direction exist simultaneously.
4. 根据权利要求 3所述的方法, 其中, 所述 BTS确定所述当前处于工作状态的传 输链路出现故障, 包括: The method according to claim 3, wherein the BTS determines that the transmission link that is currently in a working state is faulty, and includes:
所述 BTS周期性检测所述主传输链路和所述备传输链路的状态; 所述 BTS检测到当前使用的 abis接口对应的传输链路断开,确定当前处于 工作状态的传输链路出现故障。  The BTS periodically detects the status of the primary transmission link and the secondary transmission link; the BTS detects that the transmission link corresponding to the currently used abis interface is disconnected, and determines that the transmission link currently in the working state appears. malfunction.
5. 根据权利要求 1所述的方法, 其中, 所述 BTS当前处于工作状态的传输链路出 现故障,将当前业务切换到另外一条传输链路上进行处理后,还包括:所述 BTS 同步切换媒体面通道和后台维护通道。 The method according to claim 1, wherein the transmission link of the BTS that is currently in the working state fails, and the current service is switched to another transmission link for processing, and the method further includes: the BTS synchronous switching Media side channel and background maintenance channel.
6. 根据权利要求 1至 5任一项所述的方法, 其中, 还包括: 所述 BTS将当前业务切换到所述备传输链路上进行处理时, 所述 BTS在 预设时间内检测所述备传输链路上没有业务,且所述主传输链路能够传输数据; 所述 BTS将所述备传输链路上的业务倒换回所述主用链路上进行处理。 The method according to any one of claims 1 to 5, further comprising: When the BTS switches the current service to the backup transmission link for processing, the BTS detects that there is no service on the backup transmission link within a preset time, and the primary transmission link can transmit data; The BTS reverses the service on the backup transmission link back to the primary link for processing.
7. 根据权利要求 3或 4所述的方法,其中,所述 BTS与所述主 BSC、所述备 BSC 连接之前, 还包括: 所述 BTS设置 Flex abis开关, 当所述 Flex abis开关打开 时, 应用主备 abis接口, 支持同时连接所述主 BSC和所述备 BSC。 The method according to claim 3 or 4, wherein before the BTS is connected to the primary BSC and the standby BSC, the method further includes: the BTS setting a Flex abis switch, when the Flex abis switch is turned on The active and standby abis interfaces are used to support the connection between the primary BSC and the standby BSC.
8. 一种链路切换装置, 设置于基站 BTS中, 包括: A link switching device, which is disposed in the base station BTS, and includes:
主连接模块, 设置为与主基站控制器 BSC连接, 建立主传输链路; 备连接模块, 设置为与备 BSC连接, 建立备传输链路;  The primary connection module is configured to be connected to the primary base station controller BSC to establish a primary transmission link; and the standby connection module is configured to be connected to the standby BSC to establish a backup transmission link;
切换模块, 设置为确定所述主传输链路和所述备传输链路中当前处于工作 状态的传输链路出现故障, 将当前业务切换到另外一条传输链路上进行处理。  The switching module is configured to determine that the transmission link currently in the active transmission link and the standby transmission link is faulty, and switch the current service to another transmission link for processing.
9. 根据权利要求 8所述的装置, 其中, 还包括检测模块, 设置为将当前业务切换 到所述备传输链路上进行处理时, 在预设时间内检测所述备传输链路上没有业 务, 且所述主传输链路能够传输数据; The device according to claim 8, further comprising: a detecting module, configured to detect that the current transmission is not processed on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing Traffic, and the primary transmission link is capable of transmitting data;
所述切换模块还设置为将所述备传输链路上的业务倒换回所述主用链路上 进行处理。  The switching module is further configured to switch the service on the backup transmission link back to the primary link for processing.
10. 一种链路切换系统, 包括基站 BTS、 主基站控制器 BSC和备 BSC: 10. A link switching system, including a base station BTS, a primary base station controller BSC, and a standby BSC:
所述 BTS, 设置为与所述主 BSC连接, 建立主传输链路; 与所述备 BSC 连接, 建立备传输链路; 确定处于工作状态的传输链路出现故障, 将当前业务 切换到另外一条传输链路上进行处理;  The BTS is configured to connect with the primary BSC to establish a primary transmission link; connect with the standby BSC to establish a backup transmission link; determine that the transmission link in the working state is faulty, and switch the current service to another one. Processing on the transmission link;
所述主 BSC, 设置为与所述 BTS连接, 建立所述主传输链路; 所述备 BSC, 设置为与所述 BTS连接, 建立所述备传输链路。  The primary BSC is configured to be connected to the BTS to establish the primary transmission link, and the standby BSC is configured to be connected to the BTS to establish the secondary transmission link.
11. 根据权利要求 10所述的系统, 其中, 所述 BTS还设置为将当前业务切换到所 述备传输链路上进行处理时, 在预设时间内检测所述备传输链路上没有业务, 且所述主传输链路能够传输数据; 将所述备传输链路上的业务倒换回所述主用 链路上进行处理。 The system according to claim 10, wherein the BTS is further configured to detect that there is no service on the backup transmission link within a preset time when the current service is switched to the backup transmission link for processing. And the primary transmission link is capable of transmitting data; and the service on the backup transmission link is switched back to the primary link for processing.
PCT/CN2012/071726 2011-06-29 2012-02-28 Link switching method, device and system WO2013000288A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110179641.4 2011-06-29
CN2011101796414A CN102857951A (en) 2011-06-29 2011-06-29 Method, device and system for link switching

Publications (1)

Publication Number Publication Date
WO2013000288A1 true WO2013000288A1 (en) 2013-01-03

Family

ID=47404068

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071726 WO2013000288A1 (en) 2011-06-29 2012-02-28 Link switching method, device and system

Country Status (2)

Country Link
CN (1) CN102857951A (en)
WO (1) WO2013000288A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014178480A1 (en) * 2013-04-30 2014-11-06 인텔렉추얼디스커버리 주식회사 Head mounted display and method for providing audio signals by using same

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602285B (en) * 2014-12-31 2019-01-08 华为技术有限公司 A kind of disaster recovery method and equipment
CN109413681A (en) * 2018-12-14 2019-03-01 安徽中船璞华科技有限公司 A kind of data collection system based on GSm-R wireless telecom equipment
CN113364639B (en) * 2020-03-03 2023-09-08 成都鼎桥通信技术有限公司 Method, system and device for switching transmission links of small station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716832A (en) * 2004-06-30 2006-01-04 华为技术有限公司 CDMA system and soft switching method based on said CDMA system
CN1984424A (en) * 2006-04-16 2007-06-20 华为技术有限公司 Method fand system for backuping double-network in mobile telecommunication network
CN101415195A (en) * 2008-11-24 2009-04-22 华为技术有限公司 Communication method, apparatus and system
US20110128890A1 (en) * 2009-12-01 2011-06-02 Spidercloud Wireless, Inc. Method, system and device for configuring topology of a wireless network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU4244197A (en) * 1996-08-30 1998-03-19 Qualcomm Incorporated Method and apparatus for decoupling capacity from coverage in a wireless system
JP4120903B2 (en) * 1999-03-19 2008-07-16 富士通株式会社 Wireless local loop system and radio link control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716832A (en) * 2004-06-30 2006-01-04 华为技术有限公司 CDMA system and soft switching method based on said CDMA system
CN1984424A (en) * 2006-04-16 2007-06-20 华为技术有限公司 Method fand system for backuping double-network in mobile telecommunication network
CN101415195A (en) * 2008-11-24 2009-04-22 华为技术有限公司 Communication method, apparatus and system
US20110128890A1 (en) * 2009-12-01 2011-06-02 Spidercloud Wireless, Inc. Method, system and device for configuring topology of a wireless network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014178480A1 (en) * 2013-04-30 2014-11-06 인텔렉추얼디스커버리 주식회사 Head mounted display and method for providing audio signals by using same

Also Published As

Publication number Publication date
CN102857951A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
RU2769279C1 (en) Fault handling of the main cot group by the main node
JP5894185B2 (en) Mobile gateway in the pool for session resilience
CN103744809B (en) Vehicle information management system double hot standby method based on VRRP
CN111093286A (en) Connection establishing method, device, set access backhaul node and storage medium
EP3764693B1 (en) Handover method and apparatus
CN101120600B (en) Method of releasing link connection after handover in multi-mode mobile terminal and terminal thereof
CN101257405B (en) Method for implementing double chain circuits among master-salve equipments
CN104349389A (en) Wireless carrier establishing method and wireless carrier establishing device
WO2016122367A1 (en) Network nodes and methods therein for handover for dual connectivity
JP2008535352A (en) Combined handover of circuit switched (CS) and packet switched (PS) resources
CN101150767A (en) Method for handling radio link failure in wireless communications system and related apparatus
WO2018058618A1 (en) Fault processing method and device
JP2004032728A (en) Method for determining rlc entity rebuild-up time for srns rearrangement period
CN101951616A (en) Switching method, system and device for wireless controller
US8045972B2 (en) Multimode wireless radio access network with distributed processing
CN103096404A (en) Support group switching method and device
CN110351790A (en) Communication handover method and device based on dual link
WO2013000288A1 (en) Link switching method, device and system
WO2022016473A1 (en) Communication method and communication apparatus for integrated access and backhaul (iab) system
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
WO2004093481A1 (en) Mobile communication system, radio base station containing control device in the mobile communication system and control method thereof
WO2006053499A1 (en) A method for detecting and resuming maintenance link
CN102685781A (en) Automatic protection switching method for main and auxiliary time sources
WO2023167121A1 (en) Communication system

Legal Events

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

Ref document number: 12803568

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

Country of ref document: EP

Kind code of ref document: A1