WO2007147350A1 - A method and device for forwarding internet protocol packets of the base station controller - Google Patents

A method and device for forwarding internet protocol packets of the base station controller Download PDF

Info

Publication number
WO2007147350A1
WO2007147350A1 PCT/CN2007/070040 CN2007070040W WO2007147350A1 WO 2007147350 A1 WO2007147350 A1 WO 2007147350A1 CN 2007070040 W CN2007070040 W CN 2007070040W WO 2007147350 A1 WO2007147350 A1 WO 2007147350A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
packet
address
station controller
interface
Prior art date
Application number
PCT/CN2007/070040
Other languages
French (fr)
Chinese (zh)
Inventor
Jianhua Yu
Ming Zheng
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007147350A1 publication Critical patent/WO2007147350A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/14Interfaces between hierarchically different network devices between access point controllers and backbone network device

Abstract

A method for forwarding the Internet Protocol (IP) packets of the base station controller is disclosed, which includes: set logic address for the application unit of the base station controller, and establish the corresponding relationship between the logic address and the physical address of the interface of the base station controller; based on the corresponding relationship, the interface of the base station controller transmits the IP packet from the outside of the base station controller to the application unit, and/or transmits the IP packet from the application unit to the outside of the base station controller. An IP packet forward device used in the base station controller and a base station controller are also disclosed in the embodiment of the present invention. After the present invention is performed, as the logic address of application unit in the base station controller is invisible to the router, the base station controller will not be an attacking target of an unsafe source of the Internet easily, and the security of the base station controller is improved evidently. Furthermore, the usage of the user of the base station side is more convenient, and the process efficiency is improved, the occupation of the CPU resource is less.

Description

基站控制器的网际协议包转发方法及装置 技术领域  Network protocol packet forwarding method and device for base station controller
本发明涉及网际协议(IP )技术领域, 更具体地说, 涉及基站控制 器的 IP包转发方法及装置。 发明背景  The present invention relates to the field of Internet Protocol (IP) technology, and more particularly to an IP packet forwarding method and apparatus for a base station controller. Background of the invention
当前, 全球数字移动通信系统 (GSM ) 和码分多址移动通信系统 ( CDMA )在全世界范围内都得到了非常广泛的应用, 而宽带码分多址 移动通信系统(WCDMA 码分多址移动通信系统 2000 ( CDMA2000 ) 和时分双工 -同步码分多址( TD-SCDMA )等移动通信系统在一定范围 内也获得了一定程度的应用。 这些移动通信系统都属于无线接入网络 ( RAN ) 范畴。  Currently, the global digital mobile communication system (GSM) and the code division multiple access mobile communication system (CDMA) are widely used all over the world, and the wideband code division multiple access mobile communication system (WCDMA code division multiple access mobile) Mobile communication systems such as Communication System 2000 (CDMA2000) and Time Division Duplex-Synchronous Code Division Multiple Access (TD-SCDMA) have also obtained a certain degree of application within a certain range. These mobile communication systems belong to the Radio Access Network (RAN). Category.
由于 IP传输具有容量大、 成本低、 技术成熟等优点, 因此在 RAN 中逐渐得到广泛应用。 例如, 在实际的无线接入网系统中, 基站控制器 和基站分别通过 η * Ε1或者快速以太网(FE )等多种方式接入 IP网络, 其中所有信令、 数据和语音的传输都通过 IP网络来实现。  Because IP transmission has the advantages of large capacity, low cost, and mature technology, it is widely used in RAN. For example, in an actual radio access network system, the base station controller and the base station access the IP network through various methods such as η*Ε1 or Fast Ethernet (FE), wherein all signaling, data, and voice transmissions are passed. IP network to achieve.
在基站控制器的 IP传输中, 需要解决服务质量(QoS )和安全等方 面的问题。因此,要求基站控制器内 IP层处理占用的中央处理器(CPU ) 处理时间要小,要求 IP包具有较小的处理时延, 同时具备较好的安全性 能等。 然而, 由于设计上的原因, 实际大容量的基站控制器需要将接口 处理分布在不同的物理单元上,拥有多个接口物理 IP地址, 而各种应用 处理(例如语音处理、 数据处理、 信令处理等)往往在逻辑上又必须只 使用一个逻辑 IP地址, 这样地址上的不协调会给 IP传输组网带来一些 困难。 比如, 以基站控制器和基站之间的语音传输为例对此加以说明, 显 然信令和数据传输等其它处理与此相似。 In the IP transmission of the base station controller, it is necessary to solve problems such as quality of service (QoS) and security. Therefore, the processing time of the central processing unit (CPU) occupied by the IP layer processing in the base station controller is required to be small, and the IP packet is required to have a small processing delay and good security performance. However, for design reasons, the actual large-capacity base station controller needs to distribute the interface processing on different physical units, has multiple interface physical IP addresses, and various application processing (such as voice processing, data processing, signaling). Processing, etc.) often logically must use only one logical IP address, so the uncoordinated address will bring some difficulties to the IP transmission network. For example, the voice transmission between the base station controller and the base station is taken as an example, and it is obvious that other processing such as signaling and data transmission is similar.
下面以 CDMA 2000系统为例对基站控制器和基站之间的语音传输 进行说明。  The voice transmission between the base station controller and the base station will be described below by taking the CDMA 2000 system as an example.
图 1为现有技术中 CDMA 2000系统中基站控制器和基站之间的语 音传输示意图。 在 CDMA 2000系统中, 称呼基站控制器为 BSC ( Base Station Controller ), 基站为 BTS ( Base Transceiver Station )。  1 is a schematic diagram of voice transmission between a base station controller and a base station in a CDMA2000 system in the prior art. In the CDMA 2000 system, the base station controller is called a BSC (Base Station Controller), and the base station is a BTS (Base Transceiver Station).
如图 1所示, 基站控制器通过 n * El或者 FE等方式与基站通信, 基站控制器语音处理单元用于对传输的语音进行处理。 基站控制器的处 理容量较大,基站控制器语音处理单元连接有接口单元 1和接口单元 2, 其中接口单元 1负责处理基站 1和基站 2的 IP语音包,接口单元 1的物 理 IP地址为 192.0.0.1 , 接口单元 2负责处理基站 3的 IP语音包, 接口 单元 2的物理 IP地址为 192.0.0.4。  As shown in FIG. 1, the base station controller communicates with the base station by means of n*El or FE, and the base station controller voice processing unit is configured to process the transmitted voice. The base station controller has a large processing capacity, and the base station controller voice processing unit is connected to the interface unit 1 and the interface unit 2, wherein the interface unit 1 is responsible for processing the IP voice packets of the base station 1 and the base station 2, and the physical IP address of the interface unit 1 is 192.0. .0.1, the interface unit 2 is responsible for processing the IP voice packet of the base station 3, and the physical IP address of the interface unit 2 is 192.0.0.4.
由图 1可见, 首先,接口单元 1和接口单元 2的物理 IP地址对路由 器是可见的, 这就对基站控制器的安全性存在极大的安全隐患。  As can be seen from Fig. 1, first, the physical IP addresses of the interface unit 1 and the interface unit 2 are visible to the router, which poses a great security risk to the security of the base station controller.
另外, 基站控制器接口处理分布在不同的接口单元上, 并拥有多个 接口物理 IP地址。 这样, 从基站一侧的用户看来, 对方不是一个基站控 制器, 而是很多接口板, 这样基站一侧的用户与基站控制器进行通信就 像同多个接口板进行通信一样, 因此非常不便于基站一侧的用户与基站 控制器通信。  In addition, the base station controller interface processing is distributed on different interface units and has multiple interface physical IP addresses. Thus, from the perspective of the user on the base station side, the other party is not a base station controller, but many interface boards, so that the user on the base station side communicates with the base station controller just like the communication with multiple interface boards, so it is very It is convenient for the user on the base station side to communicate with the base station controller.
同时,如果在基站控制器内部釆用常规的 IP协议拆包和组包处理会 给 IP传输的 QoS性能带来问题。  At the same time, if the conventional IP protocol unpacking and packet processing are used inside the base station controller, it will cause problems for the QoS performance of the IP transmission.
以上虽然以 CDMA2000系统为例进行说明,但是在以 GSM、CDMA 为代表的第二代移动通信系统和 WCDMA、 TD-SCDMA等第三代移动 通信系统中, 也存在同样的问题。 发明内容 Although the CDMA2000 system has been described as an example, the same problem exists in the second generation mobile communication system represented by GSM and CDMA and the third generation mobile communication system such as WCDMA and TD-SCDMA. Summary of the invention
有鉴于此,本发明实施例的主要目的是提出一种基站控制器的 IP包 转发方法, 以提高基站控制器的 IP包转发安全性。  In view of this, the main purpose of the embodiment of the present invention is to provide an IP packet forwarding method of a base station controller, so as to improve IP packet forwarding security of the base station controller.
本发明实施例的另一目的是提出一种基站控制器的 IP包转发装置, 以提高基站控制器的 IP包转发安全性。  Another object of the embodiments of the present invention is to provide an IP packet forwarding apparatus of a base station controller to improve IP packet forwarding security of a base station controller.
为达到上述目的, 本发明实施例的技术方案是这样实现的: 一种基站控制器的 IP包转发方法, 该方法包括:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows: A method for forwarding an IP packet of a base station controller, where the method includes:
A、 为所述基站控制器内的应用单元设置逻辑地址, 并且建立该逻 辑地址与基站控制器的接口的物理地址之间的对应关系;  A. setting a logical address for the application unit in the base station controller, and establishing a correspondence between the logical address and a physical address of an interface of the base station controller;
B、 所述基站控制器的接口根据所述逻辑地址与所述物理地址之间 的对应关系, 将 IP包从基站控制器外发送到应用单元, 和 /或将 IP包从 应用单元发送到基站控制器外。  B. The interface of the base station controller sends an IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address, and/or sends the IP packet from the application unit to the base station. Outside the controller.
所述将 IP包从应用单元发送到基站控制器外具体为:基站控制器的 接口将 IP包从应用单元发送到基站;  The sending the IP packet from the application unit to the base station controller is specifically: the interface of the base station controller sends the IP packet from the application unit to the base station;
步骤 B包括:  Step B includes:
Bl l、 所述应用单元将 IP包发送到基站控制器的接口, 所述 IP包中 包括源地址和目的地址, 其中源地址是为该应用单元设置的所述逻辑地 址, 目的地址为基站的地址;  Bl l, the application unit sends an IP packet to an interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is the logical address set for the application unit, and the destination address is a base station. Address
B12、 基站控制器的接口将所述 IP包的源地址替换为该基站控制器 的接口的物理地址, 并将 IP包发送到基站。  B12. The interface of the base station controller replaces the source address of the IP packet with the physical address of the interface of the base station controller, and sends the IP packet to the base station.
3、 根据权利要求 1所述的基站控制器的 IP包转发方法, 其特征在 于,所述将 IP包从基站控制器外发送到应用单元具体为:基站控制器的 接口将 IP包从基站发送到应用单元;  The IP packet forwarding method of the base station controller according to claim 1, wherein the transmitting the IP packet from the base station controller to the application unit is specifically: the interface of the base station controller sends the IP packet from the base station. To the application unit;
步骤 B包括: Step B includes:
2 所述基站将 IP包发送到基站控制器的接口, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该基站控制 器的接口的物理地址; 2 the base station sends an IP packet to an interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of an interface of the base station controller;
B22、 所述基站控制器的接口将所述 IP包的目的地址替换成为该应 用单元设置的逻辑地址, 将源地址替换为该基站控制器的接口的物理地 址, 并将 IP包发送到所述应用单元。  B22. The interface of the base station controller replaces a destination address of the IP packet with a logical address set by the application unit, replaces a source address with a physical address of an interface of the base station controller, and sends the IP packet to the Application unit.
所述基站控制器的接口至少为两个, 并且其中至少一个接口作为公 共网关接口,  The base station controller has at least two interfaces, and at least one of the interfaces serves as a public gateway interface.
步骤 B21为: 所述基站将 IP包发送到基站控制器的公共网关接口, 所述 IP包中包括源地址和目的地址,其中源地址为基站的地址, 目的地 址为该公共网关接口的物理地址;  Step B21 is: the base station sends an IP packet to a common gateway interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of the public gateway interface. ;
步骤 B22包括:  Step B22 includes:
B221、所述公共网关接口负荷均匀地将 IP包依次转发到包括该公共 网关接口自身的所有接口, 以实现负荷分担;  B221, the public gateway interface load uniformly forwards the IP packet to all interfaces including the public gateway interface itself to implement load sharing;
B222、 每个接口接收到 IP包后, 将所述 IP包的目的地址替换成为 该应用单元设置的逻辑地址, 将源地址替换为该公共网关接口的物理地 址, 并将 IP包发送到所述应用单元。  B222. After receiving an IP packet, each interface replaces the destination address of the IP packet with a logical address set by the application unit, replaces the source address with a physical address of the public gateway interface, and sends the IP packet to the Application unit.
所述应用单元至少为两个, 以用于处理不同类型的 IP包;  The application unit is at least two for processing different types of IP packets;
所述步骤 B222包括:  The step B222 includes:
每个接口接收到 IP包后, 根据 IP包中的目的地址确定处理 IP包的 应用单元,将所述 IP包的目的地址替换成为所确定的应用单元设置的逻 辑地址,将源地址替换为该公共网关接口的物理地址,并将 IP包发送到 所确定的应用单元。  After receiving the IP packet, each interface determines an application unit that processes the IP packet according to the destination address in the IP packet, replaces the destination address of the IP packet with the logical address set by the determined application unit, and replaces the source address with the source address. The physical address of the public gateway interface and the IP packet is sent to the identified application unit.
所述应用单元至少为两个, 以用于处理不同类型的 IP包;  The application unit is at least two for processing different types of IP packets;
该方法进一步包括预先为每个应用单元指定至少一个接口作为该应 用单元的公共网关接口,基站进一步根据待发送的 IP包的类型确定接收 所述 IP包的公共网关接口。 The method further includes pre-designating at least one interface for each application unit as a common gateway interface of the application unit, and the base station further determines receiving according to the type of the IP packet to be transmitted. The common gateway interface of the IP packet.
一种基站控制器的 IP包转发装置,该装置包括对应关系存储单元和 接口模块, 其中:  An IP packet forwarding device of a base station controller, the device comprising a correspondence relationship storage unit and an interface module, wherein:
对应关系存储单元, 用于保存基站控制器内的应用单元的逻辑地址 与接口模块的物理地址之间的对应关系;  Corresponding relationship storage unit, configured to store a correspondence between a logical address of an application unit in the base station controller and a physical address of the interface module;
接口模块, 用于根据所述逻辑地址与所述接口模块的物理地址之间 的对应关系, 将 IP包从基站控制器外发送到应用单元, 和 /或将 IP包从 应用单元发送到基站控制器外。  An interface module, configured to send an IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address of the interface module, and/or send the IP packet from the application unit to the base station control Outside the device.
该 IP包转发装置与基站连接, 该接口模块包括地址替换单元, 所述接口模块, 用于接收由应用单元发送来的 IP包, 所述 IP包中 包括源地址和目的地址, 其中源地址是为该应用单元设置的逻辑地址, 目的地址为基站的地址, 并且  The IP packet forwarding device is connected to the base station, the interface module includes an address replacement unit, and the interface module is configured to receive an IP packet sent by the application unit, where the IP packet includes a source address and a destination address, where the source address is The logical address set for the application unit, the destination address is the address of the base station, and
地址替换模块,用于将所述 IP包的源地址替换为该基站控制器的接 口的物理地址, 并将 IP包发送到基站。  The address replacement module is configured to replace the source address of the IP packet with the physical address of the interface of the base station controller, and send the IP packet to the base station.
该 IP包转发装置与基站连接, 该接口模块包括地址替换单元, 所述接口模块, 用于接收由基站发送来的 IP包, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该基站控制 器的接口的物理地址; 并且  The IP packet forwarding device is connected to the base station, and the interface module includes an address replacement unit, where the interface module is configured to receive an IP packet sent by the base station, where the IP packet includes a source address and a destination address, where the source address is a base station. Address, the destination address is the physical address of the interface of the base station controller;
地址替换单元,用于将所述 IP包的目的地址替换成为该应用单元设 置的逻辑地址, 将源地址替换为该基站控制器的接口的物理地址, 并将 An address replacement unit, configured to replace the destination address of the IP packet with a logical address set by the application unit, replace the source address with a physical address of an interface of the base station controller, and
IP包发送到所述应用单元。 The IP packet is sent to the application unit.
所述接口模块至少为两个, 并且其中至少一个接口模块作为公共网 关接口, 该公共网关接口包括负荷分担单元,  The interface module is at least two, and at least one of the interface modules serves as a public gateway interface, and the common gateway interface includes a load sharing unit.
公共网关接口, 用于接收由基站发送来的 IP包, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该公共网关 接口的物理地址; 并且 a common gateway interface, configured to receive an IP packet sent by the base station, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is the public gateway. The physical address of the interface; and
负荷分担单元,用于接口负荷均匀地将 IP包依次转发到包括该公共 网关接口自身的所有接口模块, 以实现负荷分担;  The load sharing unit is configured to uniformly forward the IP packet to all the interface modules including the public gateway interface itself to implement load sharing;
每个接口模块, 用于在接收到 IP包后, 将所述 IP包的目的地址替 换成该应用单元设置的逻辑地址, 将源地址设置为该公共网关接口的物 理地址, 并将 IP包发送到所述应用单元。  Each interface module is configured to: after receiving the IP packet, replace the destination address of the IP packet with the logical address set by the application unit, set the source address to the physical address of the common gateway interface, and send the IP packet Go to the application unit.
所述应用单元至少为两个, 以用于处理不同类型的 IP包; 每个接口模块, 用于接收到 IP包后, 根据 IP包中的目的地址确定 处理 IP包的应用单元, 将所述 IP包的目的地址替换成为所确定的应用 单元设置的逻辑地址, 将源地址替换为该公共网关接口的物理地址, 并 将 IP包发送到所确定的应用单元。  The application unit is at least two for processing different types of IP packets; each interface module is configured to determine, after receiving the IP packet, an application unit that processes the IP packet according to the destination address in the IP packet, where the The destination address of the IP packet is replaced with the logical address of the determined application unit setting, the source address is replaced with the physical address of the common gateway interface, and the IP packet is sent to the determined application unit.
所述公共网关接口设置有硬件单板和端口双备份。  The public gateway interface is provided with a hardware board and a dual backup of the port.
所述对应关系存储单元, 用于保存至少两个应用单元的逻辑地址与 接口模块的物理地址之间的对应关系, 应用单元分别设置有相应的逻辑 地址;  The corresponding relationship storage unit is configured to save a correspondence between a logical address of at least two application units and a physical address of the interface module, where the application unit is respectively configured with a corresponding logical address;
所述 IP包转发装置进一步包括处理类型确定单元,  The IP packet forwarding device further includes a processing type determining unit,
处理类型确定单元, 用于才艮据 IP包中的目的地址确定处理 IP包的 应用单元;  a processing type determining unit, configured to determine, according to the destination address in the IP packet, an application unit that processes the IP packet;
接口模块, 用于根据所述逻辑地址与该基站控制器的接口物理地址 之间的对应关系,将 IP包从基站控制器外发送到由确定单元所确定的应 用单元, 和 /或将 IP包从由确定单元所确定的应用单元发送到基站控制 器外。  The interface module is configured to send, according to the correspondence between the logical address and the physical address of the interface of the base station controller, the IP packet from the base station controller to the application unit determined by the determining unit, and/or the IP packet The application unit determined by the determining unit is sent outside the base station controller.
一种基站控制器, 该基站控制器包括:  A base station controller, the base station controller includes:
如上任一项所述的 IP包转发装置。  The IP packet forwarding device according to any of the preceding claims.
所述应用单元为语音处理单元、 信令处理单元、 或数据处理单元。 该基站控制器应用于 GSM中, 或者应用于 CDMA中, 或者应用于 WCDMA中, 或者应用于 CDMA 2000中, 或者应用于 TD-SCDMA移 动通信系统中。 The application unit is a voice processing unit, a signaling processing unit, or a data processing unit. The base station controller is applied to GSM, or applied to CDMA, or applied to WCDMA, or applied to CDMA 2000, or applied to a TD-SCDMA mobile communication system.
从上述技术方案中可以看出, 其中一个技术方案, 首先为基站控制 器内的应用单元设置逻辑地址, 并且建立该逻辑地址与基站控制器的接 口的物理地址之间的对应关系;然后,基站控制器的接口在转发 IP包时, 根据所述逻辑地址与所述物理地址之间的对应关系,将 IP包从基站控制 器外发送到应用单元, 和 /或将 IP包从应用单元发送到基站控制器外。 因此, 应用本发明以后, 由于为基站控制器内应用单元设置了与基站控 制器接口的物理地址相对应的逻辑地址, 该应用单元的逻辑地址能够对 路由器不可见, 因此基站控制器内的应用单元不容易成为互联网上不安 全来源的攻击目标, 从而极大地增强了基站控制器的安全性。  As can be seen from the above technical solution, one of the technical solutions first sets a logical address for an application unit in the base station controller, and establishes a correspondence between the logical address and a physical address of an interface of the base station controller; then, the base station When forwarding the IP packet, the interface of the controller sends the IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address, and/or sends the IP packet from the application unit to Outside the base station controller. Therefore, after applying the present invention, since the logical address corresponding to the physical address of the base station controller is set for the application unit in the base station controller, the logical address of the application unit can be invisible to the router, so the application in the base station controller Units are not easily targeted by unsafe sources on the Internet, greatly enhancing the security of the base station controller.
另外, 在另一个技术方案中, 由于多个接口模块可以共用同一个逻 辑地址, 从而基站侧用户只需要同该逻辑地址进行通信, 而无需直接同 多个接口模块进行通信, 因此也极大地方便了基站侧用户的使用。  In addition, in another technical solution, since multiple interface modules can share the same logical address, the base station side user only needs to communicate with the logical address, and does not need to directly communicate with multiple interface modules, so it is also greatly convenient. The use of the base station side user.
不仅如此, 基站控制器接口模块上采用 IP地址替换技术,提高了处 理效率, 并且占用较少的 CPU资源。 附图简要说明  Moreover, the IP address replacement technology is adopted on the base station controller interface module, which improves the processing efficiency and occupies less CPU resources. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为现有技术中 CDMA 2000系统中基站控制器和基站之间的语 音传输示意图。  1 is a schematic diagram of voice transmission between a base station controller and a base station in a CDMA2000 system in the prior art.
图 1为根据本发明实施例基站控制器的 IP包转发方法示范性流程示 意图。  1 is a schematic flow chart showing an IP packet forwarding method of a base station controller according to an embodiment of the present invention.
图 3为根据本发明实施例用于基站控制器的 IP包转发装置的示范性 结构示意图。 图 4为根据本发明实施例基站控制器和基站之间 IP包转发的传输示 意图。 FIG. 3 is a schematic structural diagram of an IP packet forwarding apparatus for a base station controller according to an embodiment of the present invention. 4 is a schematic diagram of transmission of IP packet forwarding between a base station controller and a base station according to an embodiment of the present invention.
图 5为图 4所示结构应用到 CDMA 2000系统中, 基站控制器接收 IP包的示范性流程示意图。  FIG. 5 is a schematic diagram showing an exemplary flow of the structure shown in FIG. 4 applied to a CDMA2000 system, and the base station controller receives an IP packet.
图 6为图 4所示结构应用到 CDMA 2000系统中, 基站控制器发送 IP包的示范性流程示意图。 实施本发明的方式  6 is a schematic flow chart showing the application of the structure shown in FIG. 4 to a CDMA 2000 system, in which a base station controller transmits an IP packet. Mode for carrying out the invention
为使本发明的目的、 技术方案和优点表达得更加清楚明白, 下面结 合附图及具体实施例对本发明再作进一步详细的说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例, 首先为基站控制器内的应用单元设置逻辑地址, 并 且建立该逻辑地址与基站控制器的接口的物理地址之间的对应关系; 然 后基站控制器的接口根据该逻辑地址与物理地址之间的对应关系,将 IP 包从基站控制器外发送到应用单元, 和 /或将 IP包从应用单元发送到基 站控制器外。  In the embodiment of the present invention, first, a logical address is set for an application unit in the base station controller, and a correspondence between the logical address and a physical address of an interface of the base station controller is established; and then the interface of the base station controller is based on the logical address and the physical The correspondence between the addresses, the IP packets are sent from outside the base station controller to the application unit, and/or the IP packets are sent from the application unit to the outside of the base station controller.
图 1为根据本发明实施例的基站控制器的 IP包转发方法示范性流程 示意图。  FIG. 1 is a schematic flowchart diagram of an IP packet forwarding method of a base station controller according to an embodiment of the present invention.
如图 2所示, 该方法包括:  As shown in Figure 2, the method includes:
步骤 201 : 为基站控制器内的应用单元设置逻辑地址, 并且建立该 逻辑地址与基站控制器的接口的物理地址之间的对应关系;  Step 201: Set a logical address for an application unit in the base station controller, and establish a correspondence between the logical address and a physical address of an interface of the base station controller.
在这里, 基站控制器内的应用单元包括语音处理单元、 信令处理单 元、 或数据处理单元。 本发明的实施例可以分别为语音处理单元、 信令 处理单元、 或数据处理单元设置逻辑地址, 并且建立这些逻辑地址与基 站控制器的接口的物理地址之间的对应关系。 这些应用单元的逻辑地址 对于路由器是不可见的, 从而极大地增强了基站控制器内部的安全性。 步骤 202: 基站控制器的接口根据 逻辑地址与物理地址之间的对 应关系, 将 IP包从基站控制器外发送到应用单元, 和 /或将 IP包从应用 单元发送到基站控制器外。 Here, the application unit within the base station controller includes a voice processing unit, a signaling processing unit, or a data processing unit. Embodiments of the present invention may each set a logical address for a speech processing unit, a signaling processing unit, or a data processing unit, and establish a correspondence between these logical addresses and a physical address of an interface of the base station controller. The logical addresses of these application units are invisible to the router, greatly enhancing the security inside the base station controller. Step 202: The interface of the base station controller sends the IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address, and/or sends the IP packet from the application unit to the outside of the base station controller.
在这里, 根据逻辑地址与物理地址之间的对应关系, 当基站控制器 的接口将 IP包从应用单元发送到基站控制器外时,基站控制器的接口在 转发过程中将 IP包的源地址替换为该基站控制器的接口的物理地址;当 基站控制器的接口将 IP包从基站控制器外发送到应用单元时,基站控制 器的接口在转发过程中将 IP 包的目的地址设置成为该应用单元设置的 逻辑地址, 而将源地址设置为该基站控制器的接口的物理地址。  Here, according to the correspondence between the logical address and the physical address, when the interface of the base station controller sends the IP packet from the application unit to the base station controller, the interface of the base station controller will source the IP packet in the forwarding process. The physical address of the interface of the base station controller is replaced; when the interface of the base station controller sends the IP packet from the base station controller to the application unit, the interface of the base station controller sets the destination address of the IP packet to be the forwarding process. The logical address set by the application unit is set, and the source address is set to the physical address of the interface of the base station controller.
一般情况下, 基站控制器与基站的信息交互比较常见, 下面详细说 明本发明通过接口实现基站控制器与基站的 IP包交互。  In general, the information exchange between the base station controller and the base station is relatively common. The following details the present invention to implement the IP packet interaction between the base station controller and the base station through the interface.
具体而言, 当基站控制器的接口将 IP包从应用单元发送到基站时, 此时步骤 202可以包括:  Specifically, when the interface of the base station controller sends the IP packet from the application unit to the base station, step 202 may include:
应用单元将 IP包发送到基站控制器的接口, 此时 IP包中包括源地 址和目的地址, 其中源地址为应用单元的逻辑地址, 目的地址为基站的 地址;基站控制器的接口将 IP包的源地址替换为该基站控制器的接口的 物理地址, 并将 IP包发送到基站。  The application unit sends the IP packet to the interface of the base station controller, where the IP packet includes the source address and the destination address, where the source address is the logical address of the application unit, the destination address is the address of the base station, and the interface of the base station controller is the IP packet. The source address is replaced with the physical address of the interface of the base station controller, and the IP packet is sent to the base station.
当基站控制器的接口将 IP 包从基站发送到应用单元时, 此时步骤 202可以包括:  When the interface of the base station controller sends the IP packet from the base station to the application unit, step 202 may include:
基站将 IP包发送到基站控制器的接口, IP包中包括源地址和目的地 址, 其中源地址为基站的地址, 目的地址为该基站控制器的接口的物理 地址;基站控制器的接口将 IP包的目的地址设置成为该应用单元设置的 逻辑地址, 将源地址设置为该基站控制器的接口的物理地址, 并将 IP 包发送到所述应用单元。  The base station sends the IP packet to the interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is the address of the base station, the destination address is the physical address of the interface of the base station controller, and the interface of the base station controller is IP. The destination address of the packet is set to the logical address set by the application unit, the source address is set to the physical address of the interface of the base station controller, and the IP packet is sent to the application unit.
优选地, 基站控制器的接口至少为两个, 并且其中至少一个接口可 以作为公共网关接口。此时, 当基站控制器的接口将 IP包从基站发送到 应用单元时, 基站首先将 IP 包发送到基站控制器的公共网关接口, IP 包中包括源地址和目的地址, 其中源地址为基站的地址, 目的地址为该 公共网关接口的物理地址, 然后,公共网关接口负荷均匀地将 IP包依次 转发到包括该公共网关接口自身的所有接口, 以实现负荷分担。 然后, 每个接口接收到 IP包后, 将 IP包的目的地址设置成为该应用单元设置 的逻辑地址,将源地址设置为该公共网关接口的物理地址, 并将 IP包发 送到所述应用单元。 Preferably, the base station controller has at least two interfaces, and at least one of the interfaces is As a public gateway interface. At this time, when the interface of the base station controller sends the IP packet from the base station to the application unit, the base station first sends the IP packet to the common gateway interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is the base station. The address, the destination address is the physical address of the public gateway interface, and then the public gateway interface loads the IP packets in turn to all the interfaces including the common gateway interface itself to implement load sharing. Then, after receiving the IP packet, each interface sets the destination address of the IP packet to the logical address set by the application unit, sets the source address to the physical address of the common gateway interface, and sends the IP packet to the application unit. .
更加优选地,应用单元也至少为两个,以用于处理不同类型的 IP包。 此时, 每个接口接收到 IP包后, 根据 IP包中的目的地址确定处理 IP包 的应用单元,将所述 IP包的目的地址设置成为所确定的应用单元设置的 逻辑地址,将源地址设置为该公共网关接口的物理地址, 并将 IP包发送 到所确定的应用单元。 由于处理类型通常只有语音、 信令、 数据三种, 因此确定应用单元的过程可以艮快完成。  More preferably, there are at least two application units for handling different types of IP packets. At this time, after receiving the IP packet, each interface determines an application unit that processes the IP packet according to the destination address in the IP packet, sets the destination address of the IP packet to the logical address set by the determined application unit, and sets the source address. Set to the physical address of the public gateway interface and send the IP packet to the determined application unit. Since the type of processing is usually only three types of voice, signaling, and data, the process of determining an application unit can be completed as quickly as possible.
当应用单元至少为两个以处理不同类型的 IP包,还可以预先为每个 应用单元指定至少一个接口作为该应用单元的公共网关接口, 基站进一 步根据待发送的 IP包的类型确定接收所述 IP包的公共网关接口。 每种 类型的公共网关接口负荷均匀地将该种类型的 IP 包依次转发到包括该 公共网关接口自身的所有接口, 以实现负荷分担。  When the application unit is at least two to process different types of IP packets, at least one interface may be specified for each application unit as a common gateway interface of the application unit, and the base station further determines to receive the according to the type of the IP packet to be sent. The public gateway interface of the IP packet. Each type of public gateway interface loads the IP packets of this type into all interfaces including the common gateway interface itself in order to achieve load sharing.
既可以将上述流程应用到第二代移动通信系统中, 也可以应用到第 三代移动通信系统中。 如果应用到以 GSM、 CDMA为代表的第二代通 信系统中, 基站控制器通常对应于 GSM、 CDMA系统中的 BSC, 基站 对应于 GSM、 CDMA系统中 BTS; 如果应用到 CDMA 2000系统中,基 站控制器通常对应于 CDMA 2000 系统中的 BSC, 基站对应于 CDMA 2000系统中的 BTS; 如果应用到 WCDMA、 TD - SCDMA系统中, 基 站控制器通常对应于 RNC, 基站对应于 Node B。 The above process can be applied to the second generation mobile communication system or to the third generation mobile communication system. If applied to a second generation communication system represented by GSM or CDMA, the base station controller generally corresponds to a BSC in a GSM or CDMA system, and the base station corresponds to a BTS in a GSM or CDMA system; if applied to a CDMA 2000 system, the base station The controller generally corresponds to the BSC in the CDMA 2000 system, and the base station corresponds to the BTS in the CDMA 2000 system; if applied to the WCDMA, TD-SCDMA system, the base The station controller generally corresponds to the RNC, and the base station corresponds to the Node B.
本发明还公开了一种基站控制器的 IP包转发装置。图 3为根据本发 明实施例基站控制器的 IP包转发装置的示范性结构示意图。如图 3所示, 该装置 300包括对应关系存储单元 301和接口模块 302, 其中:  The invention also discloses an IP packet forwarding device of a base station controller. FIG. 3 is a schematic diagram showing an exemplary structure of an IP packet forwarding apparatus of a base station controller according to an embodiment of the present invention. As shown in FIG. 3, the apparatus 300 includes a correspondence relationship storage unit 301 and an interface module 302, where:
对应关系存储单元 301 , 用于保存基站控制器内的应用单元的逻辑 地址与接口模块 302的物理地址之间的对应关系;  The correspondence relationship storage unit 301 is configured to save a correspondence between a logical address of the application unit in the base station controller and a physical address of the interface module 302.
接口模块 302, 用于根据所述逻辑地址与所述接口模块的物理地址 之间的对应关系, 将 IP包从基站控制器外发送到应用单元, 和 /或将 IP 包从应用单元发送到基站控制器外。  The interface module 302 is configured to send an IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address of the interface module, and/or send the IP packet from the application unit to the base station. Outside the controller.
具体而言, 当接口模块 302用于将 IP包从应用单元发送到基站控制 器外时, 根据逻辑地址与物理地址之间的对应关系, 接口模块 302在转 发过程中将 IP包的源地址替换为该基站控制器的接口的物理地址;当接 口模块 302用于将 IP包从基站控制器外发送到应用单元时,根据逻辑地 址与物理地址之间的对应关系,接口模块 302在转发过程中将 IP包的目 的地址设置成为该应用单元设置的逻辑地址, 而将源地址设置为该基站 控制器的接口的物理地址。  Specifically, when the interface module 302 is configured to send an IP packet from the application unit to the base station controller, the interface module 302 replaces the source address of the IP packet in the forwarding process according to the correspondence between the logical address and the physical address. The physical address of the interface of the base station controller; when the interface module 302 is configured to send the IP packet from the base station controller to the application unit, the interface module 302 is in the forwarding process according to the correspondence between the logical address and the physical address. The destination address of the IP packet is set to the logical address set by the application unit, and the source address is set to the physical address of the interface of the base station controller.
本发明所提出的装置 300尤其适于同基站进行 IP包交互。 当 IP包 转发装置 300用于实现将基站控制器的 IP包发送到基站的时候, 该 IP 包转发装置 300与基站连接, 此时该接口模块包括地址替换单元;  The apparatus 300 proposed by the present invention is particularly suitable for IP packet interaction with a base station. When the IP packet forwarding device 300 is configured to send the IP packet of the base station controller to the base station, the IP packet forwarding device 300 is connected to the base station, and the interface module includes an address replacement unit.
接口模块 302,用于接收由应用单元发送来的 IP包,该 IP包中包括 源地址和目的地址, 其中源地址为对该应用单元设置的逻辑地址, 目的 地址为基站的地址, 并且  The interface module 302 is configured to receive an IP packet sent by the application unit, where the IP packet includes a source address and a destination address, where the source address is a logical address set for the application unit, and the destination address is an address of the base station, and
地址替换单元,用于将所述 IP包的源地址替换为该基站控制器的接 口的物理地址, 并将 IP包发送到基站。  An address replacement unit is configured to replace the source address of the IP packet with a physical address of an interface of the base station controller, and send the IP packet to the base station.
而且, 当该基站控制器的 IP包转发装置 300用于实现将基站的 IP 包发送到基站控制器的时候,该 IP包转发装置 300与基站连接,此时该 接口模块也可以包括地址替换单元; Moreover, when the IP packet forwarding device 300 of the base station controller is used to implement the IP of the base station When the packet is sent to the base station controller, the IP packet forwarding device 300 is connected to the base station, and the interface module may also include an address replacement unit;
所述接口模块 302,用于接收由基站发送来的 IP包,所述 IP包中包 括源地址和目的地址, 其中源地址为基站的地址, 目的地址为该基站控 制器的接口的物理地址; 并且  The interface module 302 is configured to receive an IP packet sent by the base station, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of an interface of the base station controller; And
地址替换单元,用于将所述 IP包的目的地址替换成为该应用单元设 置的逻辑地址, 将源地址替换为该基站控制器的接口的物理地址, 并将 IP包发送到所述应用单元。  And an address replacement unit, configured to replace the destination address of the IP packet with a logical address set by the application unit, replace the source address with a physical address of an interface of the base station controller, and send the IP packet to the application unit.
优选地, 接口模块 302至少为两个, 并且其中至少一个接口模块作 为公共网关接口, 那么该公共网关接口可以包括负荷分担单元;  Preferably, the interface module 302 is at least two, and at least one of the interface modules serves as a common gateway interface, and the common gateway interface may include a load sharing unit;
公共网关接口, 用于接收由基站发送来的 IP包, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该公共网关 接口的物理地址; 并且  a common gateway interface, configured to receive an IP packet sent by the base station, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of the public gateway interface;
负荷分担单元,用于接口负荷均匀地将 IP包依次转发到包括该公共 网关接口自身的所有接口模块, 以实现负荷分担;  The load sharing unit is configured to uniformly forward the IP packet to all the interface modules including the public gateway interface itself to implement load sharing;
每个接口模块, 用于在接收到 IP包后, 将所述 IP包的目的地址替 换成该应用单元设置的逻辑地址, 将源地址替换为该公共网关接口的物 理地址, 并将 IP包发送到所述应用单元。  Each interface module is configured to: after receiving the IP packet, replace the destination address of the IP packet with the logical address set by the application unit, replace the source address with the physical address of the common gateway interface, and send the IP packet Go to the application unit.
更优选地, 在公共网关接口上设置有硬件单板和端口双备份, 以保 证公共网关接口具有较高的可靠性。  More preferably, a hardware board and a dual backup of the port are provided on the common gateway interface to ensure high reliability of the public gateway interface.
当基站控制器具有多个应用单元时, 所述对应关系存储单元 301 , 用于保存至少两个应用单元的逻辑地址与接口模块的物理地址之间的 对应关系, 应用单元分别设置有相应的逻辑地址。  When the base station controller has multiple application units, the corresponding relationship storage unit 301 is configured to save a correspondence between logical addresses of at least two application units and physical addresses of the interface modules, and the application units respectively have corresponding logics. address.
所述 IP包转发装置进一步包括处理类型确定单元,  The IP packet forwarding device further includes a processing type determining unit,
处理类型确定单元, 用于才艮据 IP包中的目的地址确定处理 IP包的 应用单元; a processing type determining unit, configured to determine, according to a destination address in the IP packet, to process the IP packet Application unit
每个接口模块, 用于根据所述逻辑地址与该基站控制器的接口物理 地址之间的对应关系,将 IP包从基站控制器外发送到由确定单元所确定 的应用单元, 和 /或将 IP包从由确定单元所确定的应用单元发送到基站 控制器外。  Each interface module is configured to send an IP packet from outside the base station controller to the application unit determined by the determining unit according to a correspondence between the logical address and an interface physical address of the base station controller, and/or The IP packet is sent from the application unit determined by the determining unit to the outside of the base station controller.
更加优选地, 当应用单元至少为两个以用于处理不同类型的 IP 包 时, 预先为每个应用单元指定至少一个接口作为该应用单元的公共网关 接口, 基站进一步根据待发送的 IP包的类型确定接收所述 IP包的公共 网关接口。  More preferably, when there are at least two application units for processing different types of IP packets, at least one interface is specified for each application unit as a common gateway interface of the application unit, and the base station further determines according to the IP packet to be sent. The type determines the public gateway interface that receives the IP packet.
类似地, 既可以将上述装置程应用到第二代移动通信系统中, 也可 以应用到第三代移动通信系统中。  Similarly, the above device can be applied to the second generation mobile communication system or to the third generation mobile communication system.
图 4为根据本发明实施例的基站控制器和基站之间 IP包转发的传输 示意图。 如图 4所示, 在基站控制器内部给基站控制器语音处理单元增 加了逻辑地址(80.0.0.1 )。 接口模块 1是公共网关接口, 其物理地址为 192.0.0.1 , 接口模块 2的物理地址为 192.0.0.4。 通过将基站控制器语音 处理单元的逻辑地址与接口模块的物理地址相对应, 基站控制器的语音 处理单元的逻辑地址对路由器不可见, 从而能够增加基站控制器内部地 址的安全性。 另外,接口模块通过 IP地址替换, 实现基站控制器内部逻 辑地址和接口模块物理地址之间 IP包的快速转发。  4 is a schematic diagram of transmission of IP packet forwarding between a base station controller and a base station according to an embodiment of the present invention. As shown in Figure 4, a logical address (80.0.0.1) is added to the base station controller speech processing unit within the base station controller. Interface module 1 is a common gateway interface, its physical address is 192.0.0.1, and the physical address of interface module 2 is 192.0.0.4. By associating the logical address of the base station controller voice processing unit with the physical address of the interface module, the logical address of the voice processing unit of the base station controller is invisible to the router, thereby increasing the security of the internal address of the base station controller. In addition, the interface module is replaced by an IP address to implement fast forwarding of IP packets between the internal logical address of the base station controller and the physical address of the interface module.
其中, 可以首先在接口模块中建立内部逻辑地址的缺省计算规则。 例如, 以 80.0.0.X作为子网地址, 用 X.X.X.处理类型作为主机地址。 当 应用单元为多个时, 分别为每个应用单元设置逻辑地址, 并且在需要转 发 IP包时通过 IP包的处理类型来确定所选择的应用单元。 由于处理类 型通常只有语音、 信令、 数据三种, 因此该搜索过程可以很快完成。 通 过所确定的处理类型, 以及预先定好的逻辑地址和接口物理地址之间的 对应关系, 可以直接计算出应用单元的逻辑地址, 这个过程比顺序搜索 更快。 在本例中, 处理类型为语音, 计算出逻辑地址为 80.0.0.1。 The default calculation rule of the internal logical address may be first established in the interface module. For example, use 80.0.0.X as the subnet address and XXX as the host address. When there are multiple application units, a logical address is set for each application unit, and the selected application unit is determined by the processing type of the IP packet when the IP packet needs to be forwarded. Since the type of processing is usually only three types of voice, signaling, and data, the search process can be completed quickly. Through the determined type of processing, and between the predetermined logical address and the interface physical address Correspondence, the logical address of the application unit can be directly calculated, which is faster than sequential search. In this example, the processing type is voice, and the logical address is calculated to be 80.0.0.1.
下面以 CDMA2000系统为例对本发明实施例进行更详细的描述。 图 5为图 4所示结构应用到 CDMA 2000系统中, 基站控制器接收 The embodiment of the present invention will be described in more detail below by taking a CDMA2000 system as an example. Figure 5 shows the structure shown in Figure 4 applied to the CDMA 2000 system, the base station controller receives
IP包的示范性流程示意图。此处,基站控制器即为 BSC,基站即为 BTS。 Schematic diagram of an exemplary flow of an IP packet. Here, the base station controller is the BSC, and the base station is the BTS.
如图 5所示, 该方法包括:  As shown in Figure 5, the method includes:
步骤 501 : BTS1向 BTS侧边缘路由器发出 IP包, 该包的源地址为 10.0.0.1 ( BTS1逻辑地址), 目的地址为 192.0.0.1 ( BSC公共网关地址); 步骤 502: BTS侧边缘路由器将目的地址 192.0.0.X网段的 IP包, 转发到 BSC侧的边缘路由器;  Step 501: The BTS1 sends an IP packet to the BTS side edge router, where the source address of the packet is 10.0.0.1 (BTS1 logical address) and the destination address is 192.0.0.1 (BSC public gateway address); Step 502: The BTS side edge router will serve The IP packet of the network segment 192.0.0.X is forwarded to the edge router on the BSC side;
步骤 503: BSC侧的边缘路由器将目的地址 192.0.0.X网段的 IP包, 转发到 BSC的接口模块 1 (公共网关接口);  Step 503: The edge router on the BSC side forwards the IP packet of the destination address 192.0.0.X network segment to the interface module 1 of the BSC (common gateway interface);
步骤 504: 接口模块 1 , 负荷均匀地将 IP包依次转发到 BSC的其余 接口模块(也包括自身), 以实现负荷分担功能; 在这里, 通常接口模 块 1必须具有较高的可靠性, 最好设置硬件单板及端口双备份。  Step 504: The interface module 1 uniformly transfers the IP packet to the remaining interface modules of the BSC (including itself) to implement the load sharing function. Here, usually, the interface module 1 must have high reliability, preferably Set the hardware board and port dual backup.
步骤 505: BSC接口模块接收到 IP包后, 进行地址替换。 具体为: 将目的地址从公共网关地址替换成 BSC语音处理单元的逻辑地址,源地 址替换成自身的物理地址。 以接口模块 2为例, 其将目的地址从公共网 关地址 192.0.0.1替换成 BSC语音处理单元的逻辑地址( 80.0.0.1 ), 源地 址替换成接口模块 2的物理地址( 192.0.0.4 )。  Step 505: After receiving the IP packet, the BSC interface module performs address replacement. Specifically, the destination address is replaced by the public gateway address into the logical address of the BSC voice processing unit, and the source address is replaced with its own physical address. Taking the interface module 2 as an example, it replaces the destination address from the public gateway address 192.0.0.1 with the logical address (80.0.0.1) of the BSC voice processing unit, and the source address is replaced with the physical address of the interface module 2 (192.0.0.4).
图 6为图 4所示 BSC发送 IP包的示范性流程示意图。如图 6所示, 该方法包括:  FIG. 6 is a schematic flowchart diagram of the BSC transmitting an IP packet shown in FIG. 4. As shown in Figure 6, the method includes:
步骤 601 : BSC发出 IP包, 源地址为 80.0.0.1 ( BSC内语音处理单 元的逻辑地址;), 目的地址为 10.0.0.1 ( BTS逻辑地址;);  Step 601: The BSC sends an IP packet, the source address is 80.0.0.1 (the logical address of the voice processing unit in the BSC;), and the destination address is 10.0.0.1 (BTS logical address;);
步骤 602: BSC接口模块接收到 IP包后, 进行地址替换。 具体为: 将源地址替换成接口模块的物理地址, 而目的地址不变。 以接口模块 2 为例, 源地址替换成接口模块 2的物理地址( 192.0.0.4 ), 并且将 IP包 发送到 BSC侧边缘路由器。 Step 602: After receiving the IP packet, the BSC interface module performs address replacement. Specifically: Replace the source address with the physical address of the interface module, and the destination address does not change. Taking interface module 2 as an example, the source address is replaced with the physical address of interface module 2 (192.0.0.4), and the IP packet is sent to the BSC side edge router.
步骤 603: BSC侧边缘路由器将目的地址 10.0.0.X网段的 IP包, 转 发到 BTS侧的边缘路由器。  Step 603: The BSC side edge router forwards the IP packet of the destination address 10.0.0.X network segment to the edge router on the BTS side.
步骤 604: BTS侧的边缘路由器将目的地址 10.0.0.X网段的 IP包, 转发到 BTS。  Step 604: The edge router on the BTS side forwards the IP packet of the destination address 10.0.0.X to the BTS.
由上可见, 由于 BSC内部逻辑地址对路由器不可见, 因此 BSC不 容易成为互联网上不安全来源的攻击目标, 从而保障了 BSC的安全性。 而且, 多个 IP接口模块可以共用同一个逻辑 IP地址, 方便了 BTS侧用 户的使用; 并且 BSC接口模块上采用 IP地址替换技术, 提高了处理效 率, 占用了接口模块上较少的 CPU资源。  It can be seen from the above that since the internal logical address of the BSC is invisible to the router, the BSC is not easy to become an attack target of an unsafe source on the Internet, thereby ensuring the security of the BSC. Moreover, multiple IP interface modules can share the same logical IP address, which facilitates the use of users on the BTS side; and the IP address replacement technology on the BSC interface module improves the processing efficiency and occupies less CPU resources on the interface module.
图 5和图 6以 CDMA 2000系统为例对本发明实施例进行了详细的 描述。 实质上, 还可以将本发明实施例应用到 GSM、 CDMA等第二代 移动通信系统中。 而且, 本发明实施例还可以应用到宽带码分多址 ( WCDMA )、 时分同步码分多址( TD - SCDMA )等各种第三代移动通 信系统中。  5 and 6 illustrate the embodiment of the present invention in detail by taking a CDMA 2000 system as an example. In essence, the embodiments of the present invention can also be applied to second generation mobile communication systems such as GSM and CDMA. Moreover, the embodiments of the present invention can also be applied to various third generation mobile communication systems such as Wideband Code Division Multiple Access (WCDMA) and Time Division Synchronous Code Division Multiple Access (TD-SCDMA).
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的 保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1、 一种基站控制器的网际协议 IP包转发方法, 其特征在于, 该方 法包括:  A method for forwarding an internet protocol IP packet of a base station controller, the method comprising:
A、 为所述基站控制器内的应用单元设置逻辑地址, 并且建立该逻 辑地址与基站控制器的接口的物理地址之间的对应关系;  A. setting a logical address for the application unit in the base station controller, and establishing a correspondence between the logical address and a physical address of an interface of the base station controller;
B、 所述基站控制器的接口根据所述逻辑地址与所述物理地址之间 的对应关系, 将 IP包从基站控制器外发送到应用单元, 和 /或将 IP包从 应用单元发送到基站控制器外。  B. The interface of the base station controller sends an IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address, and/or sends the IP packet from the application unit to the base station. Outside the controller.
2、 根据权利要求 1所述的基站控制器的 IP包转发方法, 其特征在 于, 所述将 IP包从应用单元发送到基站控制器外具体为: 基站控制器的 接口将 IP包从应用单元发送到基站;  The IP packet forwarding method of the base station controller according to claim 1, wherein the transmitting the IP packet from the application unit to the base station controller is specifically: the interface of the base station controller is to use the IP packet from the application unit. Send to the base station;
步骤 B包括:  Step B includes:
Bl l、所述应用单元将 IP包发送到基站控制器的接口, 所述 IP包中 包括源地址和目的地址, 其中源地址是为该应用单元设置的所述逻辑地 址, 目的地址为基站的地址;  Bl, the application unit sends an IP packet to an interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is the logical address set for the application unit, and the destination address is a base station. Address
B12、 基站控制器的接口将所述 IP包的源地址替换为该基站控制器 的接口的物理地址, 并将 IP包发送到基站。  B12. The interface of the base station controller replaces the source address of the IP packet with the physical address of the interface of the base station controller, and sends the IP packet to the base station.
3、 根据权利要求 1所述的基站控制器的 IP包转发方法, 其特征在 于,所述将 IP包从基站控制器外发送到应用单元具体为:基站控制器的 接口将 IP包从基站发送到应用单元;  The IP packet forwarding method of the base station controller according to claim 1, wherein the transmitting the IP packet from the base station controller to the application unit is specifically: the interface of the base station controller sends the IP packet from the base station. To the application unit;
步骤 B包括: Step B includes:
2 所述基站将 IP包发送到基站控制器的接口, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该基站控制 器的接口的物理地址; B22、 所述基站控制器的接口将所述 IP包的目的地址替换成为该应 用单元设置的逻辑地址, 将源地址替换为该基站控制器的接口的物理地 址, 并将 IP包发送到所述应用单元。 2, the base station sends an IP packet to an interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of an interface of the base station controller; B22. The interface of the base station controller replaces a destination address of the IP packet with a logical address set by the application unit, replaces a source address with a physical address of an interface of the base station controller, and sends the IP packet to the Application unit.
4、 根据权利要求 3所述的基站控制器的 IP包转发方法, 其特征在 于, 所述基站控制器的接口至少为两个, 并且其中至少一个接口作为公 共网关接口,  The IP packet forwarding method of the base station controller according to claim 3, wherein the base station controller has at least two interfaces, and at least one of the interfaces serves as a public gateway interface.
步骤 B21为: 所述基站将 IP包发送到基站控制器的公共网关接口, 所述 IP包中包括源地址和目的地址,其中源地址为基站的地址, 目的地 址为该公共网关接口的物理地址;  Step B21 is: the base station sends an IP packet to a common gateway interface of the base station controller, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of the public gateway interface. ;
步骤 B22包括:  Step B22 includes:
B221、 所述公共网关接口负荷均匀地将 IP 包依次转发到包括该公 共网关接口自身的所有接口, 以实现负荷分担;  B221. The public gateway interface uniformly forwards the IP packet to all interfaces including the public gateway interface itself to implement load sharing.
B222、 每个接口接收到 IP包后, 将所述 IP包的目的地址替换成为 该应用单元设置的逻辑地址, 将源地址替换为该公共网关接口的物理地 址, 并将 IP包发送到所述应用单元。  B222. After receiving an IP packet, each interface replaces the destination address of the IP packet with a logical address set by the application unit, replaces the source address with a physical address of the public gateway interface, and sends the IP packet to the Application unit.
5、 根据权利要求 4所述的基站控制器的 IP包转发方法, 其特征在 于, 所述应用单元至少为两个, 以用于处理不同类型的 IP包;  The IP packet forwarding method of the base station controller according to claim 4, wherein the application unit is at least two for processing different types of IP packets;
所述步骤 B222包括:  The step B222 includes:
每个接口接收到 ip包后, 根据 IP包中的目的地址确定处理 IP包的 应用单元,将所述 IP包的目的地址替换成为所确定的应用单元设置的逻 辑地址,将源地址替换为该公共网关接口的物理地址,并将 IP包发送到 所确定的应用单元。  After receiving the ip packet, each interface determines an application unit that processes the IP packet according to the destination address in the IP packet, and replaces the destination address of the IP packet with the logical address set by the determined application unit, and replaces the source address with the source address. The physical address of the public gateway interface and the IP packet is sent to the identified application unit.
6、 根据权利要求 4所述的基站控制器的 IP包转发方法, 其特征在 于; 所述应用单元至少为两个, 以用于处理不同类型的 IP包;  The IP packet forwarding method of the base station controller according to claim 4, wherein: the application unit is at least two for processing different types of IP packets;
该方法进一步包括预先为每个应用单元指定至少一个接口作为该应 用单元的公共网关接口,基站进一步根据待发送的 IP包的类型确定接收 所述 IP包的公共网关接口。 The method further includes pre-designating at least one interface for each application unit as the response With the common gateway interface of the unit, the base station further determines a public gateway interface that receives the IP packet according to the type of the IP packet to be sent.
7、 一种基站控制器的 IP包转发装置, 其特征在于, 该装置包括对 应关系存储单元和接口模块, 其中:  7. An IP packet forwarding device for a base station controller, the device comprising a corresponding relationship storage unit and an interface module, wherein:
对应关系存储单元, 用于保存基站控制器内的应用单元的逻辑地址 与接口模块的物理地址之间的对应关系;  Corresponding relationship storage unit, configured to store a correspondence between a logical address of an application unit in the base station controller and a physical address of the interface module;
接口模块, 用于根据所述逻辑地址与所述接口模块的物理地址之间 的对应关系, 将 IP包从基站控制器外发送到应用单元, 和 /或将 IP包从 应用单元发送到基站控制器外。  An interface module, configured to send an IP packet from the base station controller to the application unit according to the correspondence between the logical address and the physical address of the interface module, and/or send the IP packet from the application unit to the base station control Outside the device.
8、 根据权利要求 7所述的 IP包转发装置, 其特征在于, 该 IP包 转发装置与基站连接, 该接口模块包括地址替换单元,  The IP packet forwarding device according to claim 7, wherein the IP packet forwarding device is connected to a base station, and the interface module includes an address replacement unit.
所述接口模块, 用于接收由应用单元发送来的 IP包, 所述 IP包中 包括源地址和目的地址, 其中源地址是为该应用单元设置的逻辑地址, 目的地址为基站的地址, 并且  The interface module is configured to receive an IP packet sent by the application unit, where the IP packet includes a source address and a destination address, where the source address is a logical address set for the application unit, and the destination address is an address of the base station, and
地址替换模块,用于将所述 IP包的源地址替换为该基站控制器的接 口的物理地址, 并将 IP包发送到基站。  The address replacement module is configured to replace the source address of the IP packet with the physical address of the interface of the base station controller, and send the IP packet to the base station.
9、 根据权利要求 7所述的 IP包转发装置, 其特征在于, 该 IP包转 发装置与基站连接, 该接口模块包括地址替换单元,  The IP packet forwarding device according to claim 7, wherein the IP packet forwarding device is connected to a base station, and the interface module includes an address replacement unit.
所述接口模块, 用于接收由基站发送来的 IP包, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该基站控制 器的接口的物理地址; 并且  The interface module is configured to receive an IP packet sent by a base station, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of an interface of the base station controller;
地址替换单元,用于将所述 IP包的目的地址替换成为该应用单元设 置的逻辑地址, 将源地址替换为该基站控制器的接口的物理地址, 并将 IP包发送到所述应用单元。  And an address replacement unit, configured to replace the destination address of the IP packet with a logical address set by the application unit, replace the source address with a physical address of an interface of the base station controller, and send the IP packet to the application unit.
10、 根据权利要求 9所述的 IP包转发装置, 其特征在于, 所述接口 模块至少为两个, 并且其中至少一个接口模块作为公共网关接口, 该公 共网关接口包括负荷分担单元, 10. The IP packet forwarding device according to claim 9, wherein the interface At least two modules, and at least one of the interface modules serves as a common gateway interface, and the common gateway interface includes a load sharing unit.
公共网关接口, 用于接收由基站发送来的 IP包, 所述 IP包中包括 源地址和目的地址, 其中源地址为基站的地址, 目的地址为该公共网关 接口的物理地址; 并且  a common gateway interface, configured to receive an IP packet sent by the base station, where the IP packet includes a source address and a destination address, where the source address is an address of the base station, and the destination address is a physical address of the public gateway interface;
负荷分担单元,用于接口负荷均匀地将 IP包依次转发到包括该公共 网关接口自身的所有接口模块, 以实现负荷分担;  The load sharing unit is configured to uniformly forward the IP packet to all the interface modules including the public gateway interface itself to implement load sharing;
每个接口模块, 用于在接收到 IP包后, 将所述 IP包的目的地址替 换成该应用单元设置的逻辑地址, 将源地址设置为该公共网关接口的物 理地址, 并将 IP包发送到所述应用单元。  Each interface module is configured to: after receiving the IP packet, replace the destination address of the IP packet with the logical address set by the application unit, set the source address to the physical address of the common gateway interface, and send the IP packet Go to the application unit.
11、 根据权利要求 9所述的 IP包转发装置, 其特征在于, 所述应用 单元至少为两个, 以用于处理不同类型的 IP包;  The IP packet forwarding device according to claim 9, wherein the application unit is at least two for processing different types of IP packets;
每个接口模块, 用于接收到 IP包后, 根据 IP包中的目的地址确定 处理 IP包的应用单元, 将所述 IP包的目的地址替换成为所确定的应用 单元设置的逻辑地址, 将源地址替换为该公共网关接口的物理地址, 并 将 IP包发送到所确定的应用单元。  Each interface module is configured to: after receiving the IP packet, determine an application unit that processes the IP packet according to the destination address in the IP packet, and replace the destination address of the IP packet with the logical address set by the determined application unit, and the source is The address is replaced with the physical address of the public gateway interface and the IP packet is sent to the determined application unit.
12、 根据权利要求 10所述的 IP包转发装置, 其特征在于, 所述公 共网关接口设置有硬件单板和端口双备份。  The IP packet forwarding device according to claim 10, wherein the public gateway interface is provided with a hardware board and a dual backup of the port.
13、 根据权利要求 7所述的 IP包转发装置, 其特征在于, 所述对应 关系存储单元, 用于保存至少两个应用单元的逻辑地址与接口模块的物 理地址之间的对应关系, 应用单元分别设置有相应的邃辑地址;  The IP packet forwarding device according to claim 7, wherein the correspondence relationship storage unit is configured to save a correspondence between a logical address of at least two application units and a physical address of the interface module, and the application unit Set the corresponding album address separately;
所述 IP包转发装置进一步包括处理类型确定单元,  The IP packet forwarding device further includes a processing type determining unit,
处理类型确定单元, 用于才艮据 IP包中的目的地址确定处理 IP包的 应用单元;  a processing type determining unit, configured to determine, according to the destination address in the IP packet, an application unit that processes the IP packet;
接口模块, 用于根据所述逻辑地址与该基站控制器的接口物理地址 之间的对应关系,将 IP包从基站控制器外发送到由确定单元所确定的应 用单元, 和 /或将 IP包从由确定单元所确定的应用单元发送到基站控制 器外。 An interface module, configured to: interface with a physical address of the base station controller according to the logical address The correspondence between the IP packets is transmitted from outside the base station controller to the application unit determined by the determining unit, and/or the IP packets are transmitted from the application unit determined by the determining unit to the outside of the base station controller.
14、 一种基站控制器, 其特征在于, 该基站控制器包括: 如权利要求 7-13中任一项所述的 IP包转发装置。  A base station controller, characterized in that the base station controller comprises: the IP packet forwarding device according to any one of claims 7-13.
15、根据权利要求 14所述的基站控制器, 其特征在于, 所述应用单 元为语音处理单元、 信令处理单元、 或数据处理单元。  The base station controller according to claim 14, wherein the application unit is a voice processing unit, a signaling processing unit, or a data processing unit.
16、 根据权利要求 14或 15所述的基站控制器, 其特征在于, 该基 站控制器应用于全球数字移动通信系统 GSM中, 或者应用于码分多址 移动通信系统 CDMA 中, 或者应用于宽带码分多址移动通信系统 WCDMA中, 或者应用于码分多址移动通信系统 CDMA 2000中, 或者 应用于时分双工 -同步码分多址 TD-SCDMA移动通信系统中。  The base station controller according to claim 14 or 15, wherein the base station controller is applied to the global digital mobile communication system GSM, or is applied to the CDMA system of the code division multiple access mobile communication system, or is applied to the broadband. The code division multiple access mobile communication system WCDMA is either applied to the code division multiple access mobile communication system CDMA2000 or to the time division duplex-synchronous code division multiple access TD-SCDMA mobile communication system.
PCT/CN2007/070040 2006-06-13 2007-05-22 A method and device for forwarding internet protocol packets of the base station controller WO2007147350A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2006100828440A CN1984143B (en) 2006-06-13 2006-06-13 Method and device for repeating Internet protocol packet of base-station controller
CN200610082844.0 2006-06-13

Publications (1)

Publication Number Publication Date
WO2007147350A1 true WO2007147350A1 (en) 2007-12-27

Family

ID=38166372

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070040 WO2007147350A1 (en) 2006-06-13 2007-05-22 A method and device for forwarding internet protocol packets of the base station controller

Country Status (2)

Country Link
CN (1) CN1984143B (en)
WO (1) WO2007147350A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101460848B1 (en) 2009-04-01 2014-11-20 니시라, 인크. Method and apparatus for implementing and managing virtual switches
CN103457819B (en) * 2013-08-01 2016-08-10 北京华为数字技术有限公司 The processing method and processing device of common gateway user service message

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030063582A1 (en) * 1998-12-23 2003-04-03 Northern Telecom Limited Wireless communication system in which a base station controller routes packet data between roaming mobile units and a coupled packet data network
CN1516409A (en) * 2003-08-26 2004-07-28 中兴通讯股份有限公司 Method for making medium stream pass through network address converter
US6914905B1 (en) * 2000-06-16 2005-07-05 Extreme Networks, Inc. Method and system for VLAN aggregation
CN1645832A (en) * 2005-03-18 2005-07-27 北京北方烽火科技有限公司 Method for building special operational maintaining channel in WCDMA system
CN1722872A (en) * 2004-07-15 2006-01-18 大唐移动通信设备有限公司 Method for realizing automatic establishment of specific OM channel for 3G base station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030063582A1 (en) * 1998-12-23 2003-04-03 Northern Telecom Limited Wireless communication system in which a base station controller routes packet data between roaming mobile units and a coupled packet data network
US6914905B1 (en) * 2000-06-16 2005-07-05 Extreme Networks, Inc. Method and system for VLAN aggregation
CN1516409A (en) * 2003-08-26 2004-07-28 中兴通讯股份有限公司 Method for making medium stream pass through network address converter
CN1722872A (en) * 2004-07-15 2006-01-18 大唐移动通信设备有限公司 Method for realizing automatic establishment of specific OM channel for 3G base station
CN1645832A (en) * 2005-03-18 2005-07-27 北京北方烽火科技有限公司 Method for building special operational maintaining channel in WCDMA system

Also Published As

Publication number Publication date
CN1984143A (en) 2007-06-20
CN1984143B (en) 2011-05-04

Similar Documents

Publication Publication Date Title
US9590903B2 (en) Systems and methods for optimizing layer three routing in an information handling system
JP4722157B2 (en) Intelligent load balancing and failover of network traffic
US8989196B2 (en) Method and apparatus for providing host node awareness for multiple NAT64 environments
CN102291320B (en) MAC (media access control) address learning method and edge device
US8676980B2 (en) Distributed load balancer in a virtual machine environment
US8730793B2 (en) Method and apparatus providing network redundancy and high availability to remote network nodes
JP4651692B2 (en) Intelligent load balancing and failover of network traffic
JP4840943B2 (en) Intelligent load balancing and failover of network traffic
US20130294451A1 (en) Method of sending address correspondence in a second layer protocol of applying link state routing
JP2010518759A5 (en)
CN110061915B (en) Method and system for virtual link aggregation across multiple fabric switches
TW201541262A (en) Method for virtual machine migration using software defined networking (SDN)
US9450914B2 (en) Distributed proxy addressing operations
CN102916897B (en) A kind of method and apparatus realizing VRRP load balancing
US10771402B2 (en) Link aggregated fibre channel over ethernet system
US10742545B2 (en) Multicasting system
WO2021008591A1 (en) Data transmission method, device, and system
WO2004079993A1 (en) An ethernet switch and method of processing message therof
WO2014101708A1 (en) Data transmission method and network node in layer 2 network
US11394635B2 (en) Aggregated bit index explicit replication networking system
WO2021184862A1 (en) Message sending method, first network device, and network system
US8031713B2 (en) General multi-link interface for networking environments
WO2007147350A1 (en) A method and device for forwarding internet protocol packets of the base station controller
US11178045B2 (en) System and method for efficient route update in an EVPN network
CN110572327A (en) Method for realizing cross-network-segment data forwarding of neutron network and flow controllable method

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

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

Country of ref document: EP

Kind code of ref document: A1