WO2011035582A1 - Load sharing method and device for data flows of multiple interfaces in wimax system - Google Patents

Load sharing method and device for data flows of multiple interfaces in wimax system Download PDF

Info

Publication number
WO2011035582A1
WO2011035582A1 PCT/CN2010/072434 CN2010072434W WO2011035582A1 WO 2011035582 A1 WO2011035582 A1 WO 2011035582A1 CN 2010072434 W CN2010072434 W CN 2010072434W WO 2011035582 A1 WO2011035582 A1 WO 2011035582A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
user
address
agw
next hop
Prior art date
Application number
PCT/CN2010/072434
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 WO2011035582A1 publication Critical patent/WO2011035582A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/34Modification of an existing route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for data flow load sharing when an access gateway enables multiple interfaces in a WiMAX system. Background technique
  • WiMAX Worldwide Interoperability for Microwave Access
  • Figure 1 shows the WiMAX network architecture reference model, consisting of three logical entities: the terminal (mobile/fixed)/access service network (ASN) and the connected service network (CSN).
  • the terminal is the final service recipient;
  • the ASN is a common entity set related to the access service in the WiMAX network system;
  • the CSN provides various network services for the terminal, and is a service provider.
  • the ASN and the CSN are connected through the R3 port.
  • the ASN is composed of a base station (BS) and an ASN gateway AGW (ASN Gate Way), and the BS and the AGW are connected through an R6 port.
  • the ASNs are connected through the R4 port.
  • IP-CS Internet Protocol Convergence Sublayer
  • the R3 port is generally connected to the Internet by a firewall.
  • the firewall and the AGW network use a private address segment, and the AGW receives user-related information.
  • the access session request is firstly load-sharing to the corresponding firewall, and then processed by the firewall network address translation (NAT) and then sent to the Internet/Internet.
  • NAT firewall network address translation
  • User uplink data packets are forwarded from the R6 port and then forwarded from the R3 port.
  • the user downlink data packets are received from the R3 port and processed by the AGW.
  • Port forwarding When the AGW is deployed in a large-capacity network, the AGW is configured as multiple interfaces. The capacity of the AGW and the number of firewall connections required by the user have exceeded the capacity of the general low-end firewall. In this case, a high-end firewall is required to meet the actual requirements. In the networking deployment, because the cost of the high-end firewall is too high, in the actual application process, it is necessary to consider using multiple low-configuration firewalls to achieve the effect of high-configuration firewall.
  • the AGW needs to ensure load balancing of multiple links and ensure that a series of related access requests can be allocated to a firewall. . That is, users on the entire AGW can share user packets to multiple firewalls for transmission according to user granularity.
  • the load sharing mode of the AGW in the networking is generally not concerned with the related user information of the sent packets, but the packets are respectively allocated to multiple forwarding links one by one, that is, the packets are granular when forwarding.
  • any firewall can receive all users' messages and cannot perceive the user's entire transmission session (TCP, UDP session).
  • Figure 2 shows the AGW firewall deployment and data flow load sharing.
  • the AGW is configured with two interfaces and is connected to the same firewall. That is, there are two links between the AGW and the firewall.
  • the AGW does not pay attention to the user information related to the specific packet when the load is load-balanced.
  • the data flows of the user A and the user B are distributed to the links according to the packet granularity.
  • the firewall can perceive the entire transmission session of user A and user B, when the number of users is more, the throughput of the AGW will exceed the capacity of the general firewall. If the network mode is continued, it needs to be replaced with a high-end firewall. Increased the cost of networking deployment.
  • Figure 3 illustrates the AGW multiple firewall deployment and data flow load sharing.
  • two low-end firewalls are used instead of the high-end firewalls required in Figure 1.
  • the AGW does not change the load sharing mode of the data flows (still using polling granularity). Therefore, the packets of user A and user B are sequentially forwarded to different links.
  • the packets of each user are distributed to different firewalls, so that the firewall can receive all the users' packets, but cannot receive all the packets of a certain user, so the entire transmission session of the user cannot be perceived.
  • the user packet flow can be better QoS to some extent.
  • the feature, and the packets of the same user always go out from the same interface, which also reduces the possibility of out-of-order packets sent to the terminal.
  • the actual deployment scenario of the AGW has certain characteristics.
  • the routing environment is relatively simple, the number of routing entries is relatively small, and the route changes are small.
  • the probability of route flapping and route change occurring on the AGW is small (the AGW interface and the external switch fail). A route flapping occurs, which is caused by a fault. Therefore, the AGW can easily handle the forwarding link, and only considers the processing under the condition of stable routing. Summary of the invention
  • the main purpose of the present invention is to provide a method and apparatus for implementing data flow load sharing when a WiMAX access gateway enables multiple interfaces, which is used to solve the problem that when multiple firewalls are used for networking, A series of related access requests are kept assigned to a firewall to implement technical problems based on user granularity load sharing.
  • a method for load sharing of multi-interface data streams in a WiMAX system includes:
  • IP-CS aggregation layer
  • MAC media access control
  • ETH-CS Ethernet convergence sublayer
  • the address is used to select the forwarding path.
  • the forwarding path is selected by using IP-CS.
  • the last byte of the user's IP address or the ETH-CS user's MAC address is used to count the number of multiple next hops obtained by the AGW when the packet is forwarded. Select the address of the next hop in the corresponding routing entry as the data forwarding address.
  • the access service gateway forwards the IP-CS user downlink data packet through the R6 and R4 interfaces, or forwards the Eth-CS user downlink packet through the R6 and R4 interfaces, the access service gateway is based on the innermost layer of the forwarded packet.
  • the destination IP address of the IP packet or the destination MAC address of the innermost Ethernet packet is used to obtain the number of the next hops obtained by the AGW when the packet is forwarded.
  • the AGW uses the new number of multiple next hops to select the forwarding path, and dynamically adjusts the forwarding path of the user packet flow. .
  • the present invention further provides an apparatus for implementing the foregoing method, where the apparatus is located at an access service gateway, and includes: a MAC address of a user;
  • a multiple next hop obtaining module configured to search for a route according to the IP address or MAC address information obtained by the address obtaining module, so as to obtain the number of multiple next hops
  • next hop calculation module configured to acquire, according to the IP address of the IP-CS user obtained by the address obtaining module or the last byte of the MAC address of the ETH-CS user, the multiple acquired by the multiple next hop obtaining module The number of next hops is taken to obtain the number of the next hop.
  • the address obtaining module obtains the most forwarded packet.
  • the device forwards the IP-CS user downlink data packet through the R6 and R4 interfaces.
  • the address obtaining module obtains the destination IP address of the innermost IP packet or the destination Ethernet packet destination MAC address of the forwarded packet. address.
  • the multiple next hop obtaining module uses the number of new multiple hops to select a forwarding path, and dynamically forwards a forwarding path of the user packet flow. Adjustment.
  • Figure 1 is a schematic diagram of a WiMAX network architecture reference model
  • Figure 2 is a schematic diagram of AGW single firewall deployment and data flow load sharing
  • Figure 3 is a schematic diagram of multiple AGW firewall deployments and data flow load sharing
  • FIG. 4 is a schematic diagram of multiple firewall deployments and data flow load sharing implemented in accordance with the method of the present invention
  • FIG. 5 is a flowchart of path selection when an AGW forwards an IP-CS user uplink data stream on the R3 port according to an embodiment of the method of the present invention
  • FIG. 6 is a flow chart of path selection for the AGW to forward the ETH-CS user downlink data stream on the R6 port according to an embodiment of the method of the present invention. detailed description
  • the core idea of the present invention is: for the IP-CS user, when the AGW forwards the data packet, the forwarding path is selected according to the IP address of the IP-CS user; for the Ethernet convergence sublayer (ETH-CS) The user forwards the data packet according to the Media Access Control (MAC) address of the ETH-CS user when the AGW forwards the data packet.
  • the forwarding path is selected by: using the IP address in the data packet or the last byte of the MAC address to reserve the number of multiple next hops to obtain the number of the next hop.
  • the IP address refers to the IP address of the IP-CS user
  • the MAC address refers to the MAC address of the corresponding terminal of the ETH-CS user.
  • the number of multiple next hops refers to the number of times the AGW queries the route when forwarding the packet.
  • the method takes the last byte of the user IP/MAC address to the value of multiple next hops, and uses the calculated value as the number of the next hop of the route selected by the AGW to forward the data, that is, the selection.
  • the address of the next hop in the routing entry corresponding to the number is used as the data forwarding address.
  • the forwarding path is selected according to the selection method of the forwarding path according to the source IP address of the innermost IP packet of the forwarded packet.
  • the forwarding path is selected according to the destination IP address selection method based on the destination IP address of the innermost IP packet of the forwarded packet.
  • the Eth- is forwarded through the R6 and R4 interfaces.
  • the forwarding path is selected according to the destination MAC address of the innermost Ethernet packet of the forwarded packet according to the selection method of the forwarding path;
  • the forwarding path is selected according to the selection method of the forwarding path of the innermost Ethernet packet source MAC address of the forwarded packet;
  • the load balancing of user data packets in the ETH-CS scenario does not include the processing of forwarding R3 uplink user data packets (not in the IP routing category).
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • a method for AGW to use IP-CS user (Simple IP) multi-interface data stream load sharing is described. This method describes the uplink data of the R3 port of the IP-CS user.
  • the AGW is connected to the Internet base station (BS) through two firewalls on the R3 side.
  • the next two IP-CS users A and B have successfully accessed.
  • User A's IP address is 10.0.0.2
  • User B's IP address is 10.0.0.5.
  • GRE general routing encapsulation
  • the AGW always selects the first route to forward the uplink IP packet of user A to the firewall 1 and always selects the second route to forward the uplink IP packet of user B to the firewall 2.
  • the firewall 1 can completely perceive the data flow of the user A
  • the firewall 2 can completely perceive the data flow of the user B.
  • FIG. 5 illustrates the path selection process when the AGW forwards the IP-CS user uplink data stream on the R3 interface:
  • Step S502 Perform GRE decapsulation processing on the uplink GRE packet.
  • Step S504 Obtain a last byte of the source IP address of the decapsulated packet (the IP address of the IP-CS user);
  • Step S506 Find a route according to the information such as the destination address of the decapsulated packet, and obtain the number of multiple next hops.
  • Step S508 using the last byte of the IP address of the IP-CS user in step S506. Obtaining the number of multiple next hops to obtain the next hop number;
  • Step S510 The AGW selects a corresponding routing entry to send a packet according to the next hop number calculated in S508.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • a method for the GW-CS user multi-interface data flow load sharing is described. This method describes the downlink data of the R6 interface of the ETH-CS user.
  • the AGW is connected to the BS through two switches on the R6 side.
  • Two ETH-CS users A and B have successfully accessed the BS.
  • User A's corresponding terminal MAC address is 00-19-21-AE-10-02
  • user B's corresponding terminal MAC address is 00-19-21-AE-10-05.
  • the AGW first obtains the destination MAC address of the Ethernet packet as 00-19-21-AE-10-05, and records the last MAC address.
  • the byte is 5.
  • the route that forwards the downlink packet is searched according to the information such as the IP address of the BS, and the number of multiple next hops in the routing table is 2.
  • Step S602 Obtain the destination MAC address of the downlink Ethernet packet, and read the last byte of the MAC address.
  • Step S604 Encapsulate the R6 tunnel, and find a route according to the information such as the IP address corresponding to the BS, and obtain the number of multiple next hops.
  • Step S606 Calculate the next hop number by using the last byte of the MAC address to calculate the number of the multiple next hops;
  • Step S608 The AGW selects a corresponding routing entry to send a packet according to the next hop number calculated in S606.
  • the AGW uses the new number of multiple next hops to select the forwarding path, that is, the AGW can dynamically adjust the forwarding path of the user packet flow. .
  • the user's packet flow may be switched to another firewall, which may cause the user's current data stream to be interrupted.
  • the result of such processing is the current stream, which is still available when the user re-initiates the streaming.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the present invention further provides an apparatus for implementing the foregoing method, where the apparatus is located in an access service gateway, and mainly includes an address acquisition module and a multiple next hop acquisition module. And next hop calculation module.
  • the address obtaining module is configured to obtain the IP address of the IP-CS user or the MAC address of the ETH-CS user from the forwarded message; the access service gateway forwards the IP-CS user uplink data packet through the R3 and R4 interfaces or through the R4 When the interface forwards the Eth-CS user uplink packet, the address obtaining module obtains the source IP address of the innermost IP packet of the forwarded packet or the source MAC address of the innermost Ethernet packet of the forwarded packet. When the access service gateway forwards the IP-CS user downlink data packet through the R6 and R4 interfaces, or forwards the Eth-CS user downlink packet through the R6 and R4 interfaces, the address acquisition module obtains the most forwarded packet. The IP address of the inner IP packet or the innermost Ethernet packet. The MAC address of the text.
  • the multiple next hop obtaining module is configured to search for a route according to the IP address or the MAC address information obtained by the address obtaining module, so as to obtain the number of multiple next hops;
  • the next hop calculation module is configured to obtain, according to the IP address of the IP-CS user obtained by the address obtaining module or the last byte of the MAC address of the ETH-CS user, the multiple acquired by the multiple next hop acquisition module The number of one hops is taken to obtain the number of the next hop.
  • the multiple next hop acquisition module uses the new number of multiple next hops to select the forwarding path, and dynamically adjusts the forwarding path of the user packet flow.

Abstract

A load sharing method and device for the data flows of multiple interfaces in a Worldwide Interoperability for Microwave Access (WIMAX) system are provided, which are used to solve the technical problem that when multiple firewalls are used to organize the network, a series of related access requests can not continuously be assigned to one firewall to implement the load sharing based on the user granularity. When an access service gateway (AGW) forwards a data message, a modulo operation is performed to obtain the remainder of the division of the value of the last byte of the Internet protocol (IP) address of an international network protocol convergence sub-layer (IP-CS) user or the value of the last byte of the media access control (MAC) address of an Ethernet convergence sub-layer (ETH-CS) user by the number of the multiple next hops which are obtained by a route lookup, and the number of the next hop is selected according to the result of the modulo operation. This method can realize that the AGW performs the load sharing for the data flows according to the user granularity when the multiple interfaces are started.

Description

WiMAX系统中多接口数据流负荷分担的方法及装置 技术领域  Method and device for multi-interface data flow load sharing in WiMAX system
本发明涉及通信领域, 尤其涉及一种 WiMAX 系统中接入网关启用多 个接口时数据流负荷分担的方法及装置。 背景技术  The present invention relates to the field of communications, and in particular, to a method and apparatus for data flow load sharing when an access gateway enables multiple interfaces in a WiMAX system. Background technique
WiMAX ( Worldwide Interoperability for Microwave Access, 微波存取全 球互通), 是一项宽带无线接入技术。 图 1示出了 WiMAX网络架构参考模 型,由终端(移动台 /固定台) /接入业务网络( ASN )和连接业务网络( CSN ) 三个逻辑实体组成。 终端是最终的服务受用者; ASN是 WiMAX网络系统 中与接入业务相关的共实体集合; CSN为终端提供各种网络业务, 是业务 提供者。  WiMAX ( Worldwide Interoperability for Microwave Access) is a broadband wireless access technology. Figure 1 shows the WiMAX network architecture reference model, consisting of three logical entities: the terminal (mobile/fixed)/access service network (ASN) and the connected service network (CSN). The terminal is the final service recipient; the ASN is a common entity set related to the access service in the WiMAX network system; the CSN provides various network services for the terminal, and is a service provider.
ASN与 CSN之间通过 R3口连接。 ASN由基站( Base Station, BS )与 ASN网关 AGW ( ASN Gate Way, 接入服务网关)组成, BS与 AGW之间 通过 R6口连接。 ASN之间通过 R4口连接。  The ASN and the CSN are connected through the R3 port. The ASN is composed of a base station (BS) and an ASN gateway AGW (ASN Gate Way), and the BS and the AGW are connected through an R6 port. The ASNs are connected through the R4 port.
目前在 WiMAX应用中, 支持 IP用户接入, 同时也支持以太网用户接 入。 在用于网际网协议汇聚子层 ( Internet Protocl convergence sublayer, IP-CS )场景时, R3 口一般都由防火墙来连接 Internet, 防火墙与 AGW的 组网釆用私有地址段, AGW收到用户相关的访问会话请求首先负荷分担到 相应的防火墙, 然后再经由防火墙网络地址转换 (NAT ) 等处理后送到网 际网 /互联网 ( Internet )。  Currently in WiMAX applications, IP user access is supported, and Ethernet user access is also supported. In the case of the Internet Protocol Convergence Sublayer (IP-CS) scenario, the R3 port is generally connected to the Internet by a firewall. The firewall and the AGW network use a private address segment, and the AGW receives user-related information. The access session request is firstly load-sharing to the corresponding firewall, and then processed by the firewall network address translation (NAT) and then sent to the Internet/Internet.
如图 1 所示, R3 口存在两种用户数据报文: 用户上行数据报文从 R6 口接收经 AGW处理之后从 R3口转发; 用户下行数据报文从 R3口接收后 经 AGW处理后从 R6口转发。 当 AGW釆用大容量组网时, AGW配置为多个接口, 其容量与用户所 需的防火墙连接数已经超过了一般的低端防火墙的承受能力, 此时需要配 置高档防火墙才能满足实际要求。 而在组网部署时, 由于高档防火墙的成 本过高, 所以实际应用过程中, 就有必要考虑使用多台低配置的防火墙来 达到高配置防火墙的效果。 As shown in Figure 1, there are two kinds of user data packets on the R3 interface: User uplink data packets are forwarded from the R6 port and then forwarded from the R3 port. The user downlink data packets are received from the R3 port and processed by the AGW. Port forwarding. When the AGW is deployed in a large-capacity network, the AGW is configured as multiple interfaces. The capacity of the AGW and the number of firewall connections required by the user have exceeded the capacity of the general low-end firewall. In this case, a high-end firewall is required to meet the actual requirements. In the networking deployment, because the cost of the high-end firewall is too high, in the actual application process, it is necessary to consider using multiple low-configuration firewalls to achieve the effect of high-configuration firewall.
在使用多台防火墙进行组网时, 需要保证用户会话的一致性, 即 AGW 在对多条链路进行负载均衡的同时, 还需确保一系列相关连的访问请求可 以保持分配到一台防火墙上。 即整个 AGW上的用户, 能够按照用户粒度, 将用户报文分担到多个防火墙上进行传输。  When using multiple firewalls for networking, you need to ensure the consistency of user sessions. That is, the AGW needs to ensure load balancing of multiple links and ensure that a series of related access requests can be allocated to a firewall. . That is, users on the entire AGW can share user packets to multiple firewalls for transmission according to user granularity.
目前 AGW在组网中的负荷分担工作模式,一般并不关注所发送报文的 相关用户信息, 而是将每个报文逐个分担到多条转发链路上, 即转发时以 报文为粒度来确定负荷分担策略, 这样任何一台防火墙都有可能收到所有 用户的报文, 并且无法感知到用户的整个传输会话 (TCP、 UDP会话)。  At present, the load sharing mode of the AGW in the networking is generally not concerned with the related user information of the sent packets, but the packets are respectively allocated to multiple forwarding links one by one, that is, the packets are granular when forwarding. To determine the load sharing strategy, any firewall can receive all users' messages and cannot perceive the user's entire transmission session (TCP, UDP session).
图 2给出了 AGW单台防火墙部署及数据流负荷分担情况。  Figure 2 shows the AGW firewall deployment and data flow load sharing.
如图 2所示, 在该组网部署中, AGW配置了两个接口, 并且连接到同 一台防火墙, 即 AGW与防火墙之间存在两条链路。 AGW在对数据流进行 负荷分担时不关注具体报文相关的用户信息, 按照报文粒度将用户 A及用 户 B的数据流被轮询地负荷分担到各条链路上。 这样虽然防火墙可以感知 到用户 A及用户 B整个传输会话, 但当用户数更多时, AGW的吞吐量将 超过一般防火墙的承受能力, 如果继续使用该组网方式的话就需要替换为 高端防火墙, 提高了组网部署的成本。  As shown in Figure 2, in the network deployment, the AGW is configured with two interfaces and is connected to the same firewall. That is, there are two links between the AGW and the firewall. The AGW does not pay attention to the user information related to the specific packet when the load is load-balanced. The data flows of the user A and the user B are distributed to the links according to the packet granularity. In this way, although the firewall can perceive the entire transmission session of user A and user B, when the number of users is more, the throughput of the AGW will exceed the capacity of the general firewall. If the network mode is continued, it needs to be replaced with a high-end firewall. Increased the cost of networking deployment.
图 3示例了 AGW多台防火墙部署及数据流负荷分担情况。  Figure 3 illustrates the AGW multiple firewall deployment and data flow load sharing.
在图 3所示的组网部署中, 釆用两台低端防火墙来代替图 1 中所需的 高端防火墙, AGW对数据流的负荷分担模式没有改变(仍然釆用按报文粒 度轮询),所以用户 A及用户 B的报文都被按序转发到了不同的链路上,导 致每个用户的报文都被分散到了不同的防火墙上, 这样防火墙能接收到所 有用户的报文, 但是并不能接收到某个用户的所有报文, 所以无法感知用 户的整个传输会话。 In the networking deployment shown in Figure 3, two low-end firewalls are used instead of the high-end firewalls required in Figure 1. The AGW does not change the load sharing mode of the data flows (still using polling granularity). Therefore, the packets of user A and user B are sequentially forwarded to different links. The packets of each user are distributed to different firewalls, so that the firewall can receive all the users' packets, but cannot receive all the packets of a certain user, so the entire transmission session of the user cannot be perceived.
这样在实际应用场景中, 若釆用多台防火墙进行组网时, 必须实现会 话的一致性, AGW需要将特定用户的会话分发到同一个防火墙上, 经过防 火墙 NAT后的用户对外就会暴露一个地址。  In the actual application scenario, if multiple firewalls are used for networking, session consistency must be achieved. The AGW needs to distribute the session of a specific user to the same firewall. After the firewall is NAT, the user will be exposed. address.
另外, 对于 AGW在 R6/R4侧转发给终端用户的下行数据报文, 若针 对每个用户的报文都选择稳定的转发路径, 也可以在一定程度上使用户报 文流得到更好的 QoS特性, 并且相同用户的报文始终从同一接口出去, 也 减少了发往终端的 文发生乱序的可能。  In addition, for a downlink data packet that the AGW forwards to the end user on the R6/R4 side, if a stable forwarding path is selected for each user's packet, the user packet flow can be better QoS to some extent. The feature, and the packets of the same user always go out from the same interface, which also reduces the possibility of out-of-order packets sent to the terminal.
实际 AGW的部署场景具有一定的特点,路由环境相对简单,路由条目 相对较少, 并且路由变化较小, AGW上发生的路由震荡、 路由变更的概率 很小(AGW接口及外联交换机发生故障才会产生路由震荡, 属于故障引发 的震荡), 所以 AGW在选择转发链路时可以简单处理, 只考虑路由稳定情 况下的处理。 发明内容  The actual deployment scenario of the AGW has certain characteristics. The routing environment is relatively simple, the number of routing entries is relatively small, and the route changes are small. The probability of route flapping and route change occurring on the AGW is small (the AGW interface and the external switch fail). A route flapping occurs, which is caused by a fault. Therefore, the AGW can easily handle the forwarding link, and only considers the processing under the condition of stable routing. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种用于实现 WiMAX接入网 关启用多个接口时数据流负荷分担的方法及装置, 用于解决在釆用多台防 火墙进行组网时, 无法将一系列相关连的访问请求保持分配到一台防火墙 上, 实现基于用户粒度的负荷分担的技术问题。  In view of the above, the main purpose of the present invention is to provide a method and apparatus for implementing data flow load sharing when a WiMAX access gateway enables multiple interfaces, which is used to solve the problem that when multiple firewalls are used for networking, A series of related access requests are kept assigned to a firewall to implement technical problems based on user granularity load sharing.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种 WiMAX系统中多接口数据流负荷分担的方法, 包括:  A method for load sharing of multi-interface data streams in a WiMAX system includes:
在接入服务网关 ( AGW )转发数据报文时, 根据网际网协议汇聚子层 ( IP-CS )用户的 IP地址或以太网汇聚子层 ( ETH-CS )用户的媒体接入控 制(MAC )地址来进行转发路径的选择,转发路径的选择方法为:使用 IP-CS 用户的 IP地址或 ETH-CS用户的 MAC地址的最后一个字节对所述 AGW 在转发报文时查询路由获取到的多个下一跳的个数取余, 并以取余结果作 为编号, 选择对应路由项中下一跳的地址作为数据转发地址。 When the access service gateway (AGW) forwards data packets, the IP address of the aggregation layer (IP-CS) user or the media access control (MAC) of the Ethernet convergence sublayer (ETH-CS) user according to the Internet Protocol The address is used to select the forwarding path. The forwarding path is selected by using IP-CS. The last byte of the user's IP address or the ETH-CS user's MAC address is used to count the number of multiple next hops obtained by the AGW when the packet is forwarded. Select the address of the next hop in the corresponding routing entry as the data forwarding address.
进一步地, 所述接入服务网关在通过 R6、 R4接口转发 IP-CS用户下行 数据报文时或通过 R6、 R4接口转发 Eth-CS用户下行报文时, 根据被转发 报文的最内层 IP报文目的 IP地址或最内层以太网报文目的 MAC地址对 AGW在转发报文时查询路由获取到的多个下一跳的个数取余,从而获得下 一跳的编号。  Further, when the access service gateway forwards the IP-CS user downlink data packet through the R6 and R4 interfaces, or forwards the Eth-CS user downlink packet through the R6 and R4 interfaces, the access service gateway is based on the innermost layer of the forwarded packet. The destination IP address of the IP packet or the destination MAC address of the innermost Ethernet packet is used to obtain the number of the next hops obtained by the AGW when the packet is forwarded.
进一步地,若所述 AGW在转发报文时发现路由条目发生变化,则 AGW 使用新的多个下一跳的个数来进行转发路径的选择, 对用户报文流的转发 路径做出动态调整。  Further, if the AGW finds that the routing entry changes when forwarding the packet, the AGW uses the new number of multiple next hops to select the forwarding path, and dynamically adjusts the forwarding path of the user packet flow. .
基于上述一种 WiMAX 系统中多接口数据流负荷分担的方法, 本发明 还提出一种实现上述方法的装置, 所述装置位于接入服务网关, 包括: 用户的 MAC地址;  Based on the above method for multi-interface data flow load sharing in a WiMAX system, the present invention further provides an apparatus for implementing the foregoing method, where the apparatus is located at an access service gateway, and includes: a MAC address of a user;
多下一跳获取模块,用于根据所述地址获取模块获得的 IP地址或 MAC 地址信息查找路由, 从而获取到多个下一跳的个数;  a multiple next hop obtaining module, configured to search for a route according to the IP address or MAC address information obtained by the address obtaining module, so as to obtain the number of multiple next hops;
下一跳计算模块, 用于根据所述地址获取模块获得的 IP-CS用户的 IP 地址或 ETH-CS用户的 MAC地址的最后一个字节对所述多下一跳获取模块 获取到的多个下一跳的个数取余, 从而获得下一跳的编号。  a next hop calculation module, configured to acquire, according to the IP address of the IP-CS user obtained by the address obtaining module or the last byte of the MAC address of the ETH-CS user, the multiple acquired by the multiple next hop obtaining module The number of next hops is taken to obtain the number of the next hop.
进一步地, 所述装置在通过 R3、 R4接口转发 IP-CS用户上行数据报文 时或通过 R4接口转发 Eth-CS用户上行报文时, 所述地址获取模块所获取 的是被转发报文最内层 IP报文源 IP地址或被转发报文最内层以太网报文源 MAC地址。  Further, when the device forwards the IP-CS user uplink data packet through the R3 and R4 interfaces, or the Eth-CS user uplink message is forwarded through the R4 interface, the address obtaining module obtains the most forwarded packet. The source IP address of the inner IP packet or the source MAC address of the innermost Ethernet packet of the forwarded packet.
进一步地, 所述装置在通过 R6、 R4接口转发 IP-CS用户下行数据报文 时或通过 R6、 R4接口转发 Eth-CS用户下行报文时, 所述地址获取模块所 获取的是被转发报文的最内层 IP报文目的 IP地址或最内层以太网报文目的 MAC地址。 Further, the device forwards the IP-CS user downlink data packet through the R6 and R4 interfaces. When the Eth-CS user downlink packet is forwarded through the R6 and R4 interfaces, the address obtaining module obtains the destination IP address of the innermost IP packet or the destination Ethernet packet destination MAC address of the forwarded packet. address.
进一步地, 所述装置在路由条目发生变化时, 所述多下一跳获取模块 使用新的多个下一跳的个数来进行转发路径的选择, 对用户报文流的转发 路径做出动态调整。  Further, when the routing entry changes, the multiple next hop obtaining module uses the number of new multiple hops to select a forwarding path, and dynamically forwards a forwarding path of the user packet flow. Adjustment.
通过上述技术方案可以实现 AGW在启动多接口时按照用户粒度进行 数据流负荷分担的问题,并且该方案思想同样适用于其它无线分组网关(如 GGSN、 PDSN等)对用户报文转发时的处理。 附图说明  The above-mentioned technical solution can realize the problem that the data flow load sharing is performed by the AGW according to the user granularity when the multi-interface is started, and the solution idea is also applicable to the processing of the user packet forwarding by other wireless packet gateways (such as the GGSN, the PDSN, etc.). DRAWINGS
图 1是 WiMAX网络架构参考模型示意图;  Figure 1 is a schematic diagram of a WiMAX network architecture reference model;
图 2是 AGW单台防火墙部署及数据流负荷分担情况示意图;  Figure 2 is a schematic diagram of AGW single firewall deployment and data flow load sharing;
图 3是 AGW多台防火墙部署及数据流负荷分担情况示意图;  Figure 3 is a schematic diagram of multiple AGW firewall deployments and data flow load sharing;
图 4是根据本发明方法实施列的多台防火墙部署及数据流负荷分担情 况示意图;  4 is a schematic diagram of multiple firewall deployments and data flow load sharing implemented in accordance with the method of the present invention;
图 5是根据本发明方法实施例的用于 AGW在 R3口转发 IP-CS用户上 行数据流时路径选择流程图;  FIG. 5 is a flowchart of path selection when an AGW forwards an IP-CS user uplink data stream on the R3 port according to an embodiment of the method of the present invention;
图 6是根据本发明方法实施例的用于 AGW在 R6口转发 ETH-CS用户 下行数据流时路径选择流程图。 具体实施方式  FIG. 6 is a flow chart of path selection for the AGW to forward the ETH-CS user downlink data stream on the R6 port according to an embodiment of the method of the present invention. detailed description
本发明的核心思想是: 针对 IP-CS用户, 在 AGW转发数据报文时, 根 据 IP-CS用户的 IP地址进行转发路径的选择;针对以太网汇聚子层( Ethernet convergence sublayer, ETH-CS ) 用户, 在 AGW 转发数据报文时, 根据 ETH-CS用户的媒体接入控制 (Media Access Control, MAC )地址来进行 转发路径的选择。 转发路径的选择方法为: 使用数据报文中的 IP 地址或 MAC地址的最后一个字节对多个下一跳的个数取余来获得下一跳的编号。 这里 IP地址指的是 IP-CS用户的 IP地址, MAC地址指 ETH-CS用户对应 终端的 MAC地址; 多个下一跳的个数指的是 AGW在转发报文时查询路由 获取到的多个路由项对应的多个下一跳的总个数。该方法即将用户 IP/MAC 地址最后一个字节对多个下一跳的个数值取余, 将计算后得到的值作为 AGW转发数据^艮文时所选路由的下一跳的编号, 即选择该编号对应的路由 项中下一跳的地址作为数据转发地址。 The core idea of the present invention is: for the IP-CS user, when the AGW forwards the data packet, the forwarding path is selected according to the IP address of the IP-CS user; for the Ethernet convergence sublayer (ETH-CS) The user forwards the data packet according to the Media Access Control (MAC) address of the ETH-CS user when the AGW forwards the data packet. The choice of forwarding path. The forwarding path is selected by: using the IP address in the data packet or the last byte of the MAC address to reserve the number of multiple next hops to obtain the number of the next hop. Here, the IP address refers to the IP address of the IP-CS user, and the MAC address refers to the MAC address of the corresponding terminal of the ETH-CS user. The number of multiple next hops refers to the number of times the AGW queries the route when forwarding the packet. The total number of multiple next hops corresponding to the routing entry. The method takes the last byte of the user IP/MAC address to the value of multiple next hops, and uses the calculated value as the number of the next hop of the route selected by the AGW to forward the data, that is, the selection. The address of the next hop in the routing entry corresponding to the number is used as the data forwarding address.
通过 R3、 R4接口转发 IP-CS用户上行数据报文时,根据被转发报文最 内层 IP报文源 IP地址依据上述转发路径的选择方法来选择转发路径;  When the IP-CS user uplink data packet is forwarded through the R3 and R4 interfaces, the forwarding path is selected according to the selection method of the forwarding path according to the source IP address of the innermost IP packet of the forwarded packet.
通过 R6、 R4接口转发 IP-CS用户下行数据报文时,根据被转发报文最 内层 IP报文目的 IP地址依据上述转发路径的选择方法来选择转发路径; 通过 R6、 R4接口转发 Eth-CS用户下行报文时, 根据被转发报文最内 层以太网报文目的 MAC 地址依据上述转发路径的选择方法来选择转发路 径;  When the IP-CS user downlink data packet is forwarded through the R6 and R4 interfaces, the forwarding path is selected according to the destination IP address selection method based on the destination IP address of the innermost IP packet of the forwarded packet. The Eth- is forwarded through the R6 and R4 interfaces. When the CS user downlinks the packet, the forwarding path is selected according to the destination MAC address of the innermost Ethernet packet of the forwarded packet according to the selection method of the forwarding path;
通过 R4接口转发 Eth-CS用户上行报文时, 根据被转发报文最内层以 太网报文源 MAC地依据上述转发路径的选择方法来选择转发路径;  When the Eth-CS user uplink packet is forwarded through the R4 interface, the forwarding path is selected according to the selection method of the forwarding path of the innermost Ethernet packet source MAC address of the forwarded packet;
其中, ETH-CS场景下用户数据报文的负荷分担不包括 R3口上行用户 数据报文转发时的处理 (不属于 IP路由范畴)。  The load balancing of user data packets in the ETH-CS scenario does not include the processing of forwarding R3 uplink user data packets (not in the IP routing category).
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:  Embodiment 1:
在本实施例中, 描述了 AGW用于 IP-CS用户 ( Simple IP )多接口数据 流负荷分担的方法。 该方法针对 IP-CS用户 R3口上行数据^艮文进行描述。  In this embodiment, a method for AGW to use IP-CS user (Simple IP) multi-interface data stream load sharing is described. This method describes the uplink data of the R3 port of the IP-CS user.
如图 4所示, AGW与在 R3侧通过两台防火墙连接到 Internet基站( BS ) 下两 IP-CS用户 A和用户 B已成功接入。 用户 A的 IP地址为 10.0.0.2, 用 户 B的 IP地址为 10.0.0.5。 As shown in Figure 4, the AGW is connected to the Internet base station (BS) through two firewalls on the R3 side. The next two IP-CS users A and B have successfully accessed. User A's IP address is 10.0.0.2, and User B's IP address is 10.0.0.5.
AGW从 R6口接收到用户 A的上行数据报文后, 首先进行通用路由封 装 ( GRE )协议解封装处理, 获取解封装后 IP报文的源 IP地址为 10.0.0.2, 记录 IP地址最后一个字节值为 2。 然后根据报文目的地址等信息查找转发 该上行报文的路由, 获取路由多个下一跳的个数为 2。 最后使用 IP地址最 后一个字节值对多个下一跳的个数取余(2%2 = 0 ), 从而获得转发该上行 数据报文的下一跳编号为 0。  After receiving the uplink data packet of user A from the R6 interface, the AGW first performs the general routing encapsulation (GRE) protocol decapsulation process, and obtains the source IP address of the decapsulated IP packet as 10.0.0.2, and records the last word of the IP address. The section value is 2. Then, the route that forwards the uplink packet is searched according to the information such as the destination address of the packet, and the number of multiple next hops of the route is 2. Finally, the last byte value of the IP address is used to reserve the number of multiple next hops (2% 2 = 0), so that the next hop number of the forwarded data packet is 0.
同上, AGW从 R6口接收到用户 B的上行数据报文后, 首先进行 GRE 解封装处理, 获取解封装后 IP报文的源 IP地址为 10.0.0.5 , 记录 IP地址最 后一个字节值为 5。然后根据报文目的地址等信息查找转发该上行报文的路 由, 获取路由多个下一跳的个数为 2。 最后使用 IP地址最后一个字节值对 多个下一跳的个数取余(5%2 = 1 ), 从而获得转发该上行数据报文的下一 兆编号为 1。  After receiving the uplink data packet of user B from the R6 interface, the AGW first performs GRE decapsulation processing to obtain the source IP address of the decapsulated IP packet as 10.0.0.5, and the last byte value of the recorded IP address is 5. . Then, according to the information such as the destination address of the packet, the route for forwarding the uplink packet is searched, and the number of the multiple next hops of the route is 2. Finally, the last byte value of the IP address is used to reserve the number of multiple next hops (5%2 = 1), so that the next megabyte number for forwarding the uplink data message is 1.
通过上面的处理, AGW始终选择第一条路由将用户 A的上行 IP报文 转发至防火墙 1 , 始终选择第二条路由将用户 B的上行 IP报文转发至防火 墙 2。 这样防火墙 1能够完整的感知到用户 A的数据流, 防火墙 2能够完 整的感知到用户 B的数据流。  Through the above processing, the AGW always selects the first route to forward the uplink IP packet of user A to the firewall 1 and always selects the second route to forward the uplink IP packet of user B to the firewall 2. In this way, the firewall 1 can completely perceive the data flow of the user A, and the firewall 2 can completely perceive the data flow of the user B.
图 5描述了 AGW在 R3口转发 IP-CS用户上行数据流时路径选择流程: 步骤 S502: 对上行 GRE报文进行 GRE解封装处理;  Figure 5 illustrates the path selection process when the AGW forwards the IP-CS user uplink data stream on the R3 interface: Step S502: Perform GRE decapsulation processing on the uplink GRE packet.
步骤 S504: 获取解封装后报文源 IP地址( IP-CS用户的 IP地址 )的最 后一个字节;  Step S504: Obtain a last byte of the source IP address of the decapsulated packet (the IP address of the IP-CS user);
步骤 S506: 根据解封装后报文目的地址等信息查找路由, 获取多个下 一跳的个数;  Step S506: Find a route according to the information such as the destination address of the decapsulated packet, and obtain the number of multiple next hops.
步骤 S508: 使用 IP-CS用户的 IP地址的最后一个字节对步骤 S506中 获取的多个下一跳的个数取余, 获得下一跳编号; Step S508: using the last byte of the IP address of the IP-CS user in step S506. Obtaining the number of multiple next hops to obtain the next hop number;
步骤 S510: AGW根据 S508中计算出的下一跳编号选择对应的路由条 目发送报文;  Step S510: The AGW selects a corresponding routing entry to send a packet according to the next hop number calculated in S508.
实施例二:  Embodiment 2:
在本实施例中,描述了 AGW用于 ETH-CS用户多接口数据流负荷分担 的方法。 该方法针对 ETH-CS用户 R6口下行数据 文进行描述。  In this embodiment, a method for the GW-CS user multi-interface data flow load sharing is described. This method describes the downlink data of the R6 interface of the ETH-CS user.
同实施例一, 如图 4所示, AGW与在 R6侧通过两台交换机与 BS相 连。 BS下两 ETH-CS用户 A和用户 B已成功接入。 用户 A对应终端 MAC 地址为 00- 19-21-AE- 10-02 , 用 户 B 对应终端 MAC 地址为 00- 19-21-AE- 10-05。  As in the first embodiment, as shown in FIG. 4, the AGW is connected to the BS through two switches on the R6 side. Two ETH-CS users A and B have successfully accessed the BS. User A's corresponding terminal MAC address is 00-19-21-AE-10-02, and user B's corresponding terminal MAC address is 00-19-21-AE-10-05.
AGW从 R3口接收到发往用户 A的下行数据报文后, 首先获取到该以 太网 4艮文的目的 MAC为 00- 19-21-AE- 10-02,记录 MAC地址的最后一个字 节为 2。然后根据 BS的 IP地址等信息查找转发该下行报文的路由,获取路 由表中多个下一跳的个数为 2。 最后用该报文的目的 MAC地址的最后一个 字节对多个下一跳的个数取余(2%2 = 0 )获得转发该下行以太网数据报文 的下一跳编号为 0。  After receiving the downlink data packet sent to user A from the R3 interface, the AGW first obtains the destination MAC address of the Ethernet packet as 00-19-21-AE-10-02, and records the last byte of the MAC address. Is 2. Then, the route that forwards the downlink packet is searched according to the information such as the IP address of the BS, and the number of multiple next hops in the routing table is 2. Finally, the last hop of the destination MAC address of the packet is used to reserve the remainder of the multiple hops (2% 2 = 0) to obtain the next hop number of the downlink Ethernet data packet.
同上, AGW从 R3口接收到发往用户 B的下行数据报文后, 首先获取 到该以太网 4艮文的目的 MAC为 00- 19-21-AE- 10-05,记录 MAC地址的最后 一个字节为 5。 然后根据 BS的 IP地址等信息查找转发该下行报文的路由, 获取路由表中多个下一跳的个数为 2。 最后用该报文的目的 MAC地址的最 后一个字节对多个下一跳的个数取余( 5%2 = 1 )获得转发该下行以太网数 据>¾文的下一跳编号为 1。  Assume that after receiving the downlink data packet sent to user B from the R3 port, the AGW first obtains the destination MAC address of the Ethernet packet as 00-19-21-AE-10-05, and records the last MAC address. The byte is 5. Then, the route that forwards the downlink packet is searched according to the information such as the IP address of the BS, and the number of multiple next hops in the routing table is 2. Finally, the last byte of the destination MAC address of the message is used to reserve the number of multiple next hops (5% 2 = 1) to obtain the next hop number of the downlink Ethernet data >3⁄4 text.
通过上面的处理, AGW始终选择第一条路由将用户 A的下行以太网报 文转发至 BS,始终选择第二条路由将用户 B的下行以太网 "^文转发至 BS。 这样用户报文流能够得到更好的服务器质量(QoS )特性。 图 6描述了 AGW在 R6口转发 ETH-CS下行数据流时路径选择流程: 步骤 S602: 获取下行以太网报文的目的 MAC, 读取该 MAC地址的最 后一个字节; Through the above processing, the AGW always selects the first route to forward the downlink Ethernet packet of user A to the BS, and always selects the second route to forward the downlink Ethernet "memand" of user B to the BS. Thus, the user packet flow Better server quality (QoS) features. Figure 6 illustrates the path selection process when the AGW forwards the ETH-CS downlink data stream on the R6 port: Step S602: Obtain the destination MAC address of the downlink Ethernet packet, and read the last byte of the MAC address.
步骤 S604: 封装 R6隧道, 根据 BS对应的 IP地址等信息查找路由, 获取多个下一跳的个数;  Step S604: Encapsulate the R6 tunnel, and find a route according to the information such as the IP address corresponding to the BS, and obtain the number of multiple next hops.
步骤 S606: 使用所述 MAC地址的最后一个字节对所述多个下一跳的 个数取余计算出下一跳编号;  Step S606: Calculate the next hop number by using the last byte of the MAC address to calculate the number of the multiple next hops;
步骤 S608: AGW根据 S606中计算出的下一跳编号选择对应的路由条 目发送报文;  Step S608: The AGW selects a corresponding routing entry to send a packet according to the next hop number calculated in S606.
在上面的两个实施例中, 如果路由条目发生变化, AGW会使用新的多 个下一跳的个数来进行转发路径的选择,即 AGW可以对用户报文流的转发 路径做出动态调整。 此时, 用户的报文流可能会切换到其他的防火墙上去, 可能造成用户当前数据流中断, 但这样的处理结果影响是当前流, 当用户 重新发起流传输时, 仍然是可用的。  In the above two embodiments, if the routing entry changes, the AGW uses the new number of multiple next hops to select the forwarding path, that is, the AGW can dynamically adjust the forwarding path of the user packet flow. . At this time, the user's packet flow may be switched to another firewall, which may cause the user's current data stream to be interrupted. However, the result of such processing is the current stream, which is still available when the user re-initiates the streaming.
实施例三:  Embodiment 3:
基于本发明提出的 WiMAX 系统中多接口数据流负荷分担的方法, 本 发明还提出一种实现上述方法的装置, 该装置位于接入服务网关中, 主要 包括地址获取模块、 多下一跳获取模块及下一跳计算模块。  Based on the method for load balancing of multi-interface data streams in a WiMAX system according to the present invention, the present invention further provides an apparatus for implementing the foregoing method, where the apparatus is located in an access service gateway, and mainly includes an address acquisition module and a multiple next hop acquisition module. And next hop calculation module.
地址获取模块用于从转发报文中获取 IP-CS用户的 IP地址或 ETH-CS 用户的 MAC地址; 接入服务网关在通过 R3、 R4接口转发 IP-CS用户上行 数据报文时或通过 R4接口转发 Eth-CS用户上行报文时, 该地址获取模块 所获取的是被转发报文最内层 IP报文源 IP地址或被转发报文最内层以太网 报文源 MAC地址。 接入服务网关在通过 R6、 R4接口转发 IP-CS用户下行 数据报文时或通过 R6、 R4接口转发 Eth-CS用户下行报文时, 该地址获取 模块所获取的是被转发报文的最内层 IP报文目的 IP地址或最内层以太网报 文目的 MAC地址。 The address obtaining module is configured to obtain the IP address of the IP-CS user or the MAC address of the ETH-CS user from the forwarded message; the access service gateway forwards the IP-CS user uplink data packet through the R3 and R4 interfaces or through the R4 When the interface forwards the Eth-CS user uplink packet, the address obtaining module obtains the source IP address of the innermost IP packet of the forwarded packet or the source MAC address of the innermost Ethernet packet of the forwarded packet. When the access service gateway forwards the IP-CS user downlink data packet through the R6 and R4 interfaces, or forwards the Eth-CS user downlink packet through the R6 and R4 interfaces, the address acquisition module obtains the most forwarded packet. The IP address of the inner IP packet or the innermost Ethernet packet. The MAC address of the text.
多下一跳获取模块用于根据所述地址获取模块获得的 IP地址或 MAC 地址信息查找路由, 从而获取到多个下一跳的个数;  The multiple next hop obtaining module is configured to search for a route according to the IP address or the MAC address information obtained by the address obtaining module, so as to obtain the number of multiple next hops;
下一跳计算模块用于根据所述地址获取模块获得的 IP-CS用户的 IP地 址或 ETH-CS用户的 MAC地址的最后一个字节对所述多下一跳获取模块获 取到的多个下一跳的个数取余, 从而获得下一跳的编号。  The next hop calculation module is configured to obtain, according to the IP address of the IP-CS user obtained by the address obtaining module or the last byte of the MAC address of the ETH-CS user, the multiple acquired by the multiple next hop acquisition module The number of one hops is taken to obtain the number of the next hop.
本发明所述装置在路由条目发生变化时, 多下一跳获取模块会使用新 的多个下一跳的个数来进行转发路径的选择, 对用户报文流的转发路径做 出动态调整。  When the routing entry changes, the multiple next hop acquisition module uses the new number of multiple next hops to select the forwarding path, and dynamically adjusts the forwarding path of the user packet flow.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。  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. within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1、 一种 WiMAX系统中多接口数据流负荷分担的方法, 其特征在于 , 包括: A method for load sharing of multi-interface data streams in a WiMAX system, characterized in that:
在接入服务网关 (AGW )转发数据报文时, 使用网际网协议汇聚子层 ( IP-CS )用户的 IP地址或以太网汇聚子层 ( ETH-CS )用户的媒体接入控 制(MAC )地址的最后一个字节对查询路由获得的多个下一跳的个数取余, 并以取余结果作为下一跳的编号, 选择对应路由项中下一跳的地址作为数 据转发地址。  When accessing the service gateway (AGW) to forward data packets, use the IP address of the Internet Protocol Convergence Sublayer (IP-CS) user or the Media Access Control (MAC) of the Ethernet Convergence Sublayer (ETH-CS) user. The last byte of the address takes the number of multiple next hops obtained by the query route, and uses the result of the redundancy as the number of the next hop to select the address of the next hop in the corresponding routing entry as the data forwarding address.
2、 根据权利要求 1所述的方法, 其特征在于, 所述接入服务网关在通 过 R3、 R4接口转发 IP-CS用户上行数据报文时或通过 R4接口转发 Eth-CS 用户上行报文时, 选择转发路径的方式具体为:  The method according to claim 1, wherein the access service gateway forwards the IP-CS user uplink data packet through the R3 and R4 interfaces, or forwards the Eth-CS user uplink message through the R4 interface. The way to select the forwarding path is as follows:
根据被转发报文最内层 IP报文源 IP地址或根据被转发报文最内层以太 网报文源 MAC地址的最后一个字节对 AGW在转发报文时查询路由获取到 的多个下一跳的个数取余, 从而获得下一跳的编号。  According to the source IP address of the innermost IP packet of the forwarded packet or the last byte of the source MAC address of the innermost layer of the forwarded packet, the AGW queries the route to obtain multiple routes. The number of one hops is taken to obtain the number of the next hop.
3、 根据权利要求 1所述的方法, 其特征在于, 所述接入服务网关在通 过 R6、 R4接口转发 IP-CS用户下行数据报文时或通过 R6、 R4接口转发 Eth-CS用户下行报文时, 选择转发路径的方式具体为:  3. The method according to claim 1, wherein the access service gateway forwards the Eth-CS user downlink message through the R6 and R4 interfaces when forwarding the IP-CS user downlink data packet through the R6 and R4 interfaces. In the text, the way to select the forwarding path is as follows:
根据被转发报文的最内层 IP报文目的 IP地址或最内层以太网报文目的 MAC 地址对 AGW 在转发报文时查询路由获取到的多个下一跳的个数取 余, 从而获得下一跳的编号。  According to the destination IP address of the innermost IP packet of the forwarded packet or the destination MAC address of the innermost layer Ethernet packet, the number of multiple next hops obtained by the AGW in querying the route when the packet is forwarded is used. Get the number of the next hop.
4、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 若所述 AGW在 转发报文时发现路由条目发生变化,则 AGW使用新的多个下一跳的个数来 进行转发路径的选择, 对用户报文流的转发路径做出动态调整。  The method according to claim 1, 2 or 3, wherein, if the AGW finds that the routing entry changes when forwarding the packet, the AGW uses the new number of multiple next hops to forward the packet. The path is selected to dynamically adjust the forwarding path of the user packet flow.
5、 一种 WiMAX系统中多接口数据流负荷分担的装置, 其特征在于, 所述装置位于接入服务网关, 包括: 用户的 MAC地址; 5. A device for multi-interface data flow load sharing in a WiMAX system, characterized in that The device is located at the access service gateway, and includes: a MAC address of the user;
多下一跳获取模块,用于根据所述地址获取模块获得的 IP地址或 MAC 地址查找路由, 从而获取到多个下一跳的个数;  The multiple next hop obtaining module is configured to search for a route according to the IP address or the MAC address obtained by the address obtaining module, so as to obtain the number of multiple next hops;
下一跳计算模块, 用于根据所述地址获取模块获得的 IP-CS用户的 IP 地址或 ETH-CS用户的 MAC地址的最后一个字节对所述多下一跳获取模块 获取到的多个下一跳的个数取余, 从而获得下一跳的编号。  a next hop calculation module, configured to acquire, according to the IP address of the IP-CS user obtained by the address obtaining module or the last byte of the MAC address of the ETH-CS user, the multiple acquired by the multiple next hop obtaining module The number of next hops is taken to obtain the number of the next hop.
6、 根据权利要求 5所述的装置, 其特征在于, 所述装置在通过 R3、 R4接口转发 IP-CS用户上行数据报文时或通过 R4接口转发 Eth-CS用户上 行报文时,所述地址获取模块所获取的是被转发报文最内层 IP报文源 IP地 址或被转发报文最内层以太网报文源 MAC地址。  The device according to claim 5, wherein when the device forwards an IP-CS user uplink data packet through the R3 and R4 interfaces, or forwards the Eth-CS user uplink message through the R4 interface, The address acquisition module obtains the source IP address of the innermost IP packet of the forwarded packet or the source MAC address of the innermost Ethernet packet of the forwarded packet.
7、 根据权利要求 5所述的装置, 其特征在于, 所述装置在通过 R6、 R4接口转发 IP-CS用户下行数据报文时或通过 R6、 R4接口转发 Eth-CS用 户下行报文时, 所述地址获取模块所获取的是被转发报文的最内层 IP报文 目的 IP地址或最内层以太网报文目的 MAC地址。  The device according to claim 5, wherein, when the device forwards the downlink data packet of the IP-CS user through the R6 and R4 interfaces, or forwards the Eth-CS user downlink packet through the R6 and R4 interfaces, The address obtaining module obtains the destination IP address of the innermost IP packet or the destination MAC address of the innermost layer Ethernet packet of the forwarded packet.
8、 根据权利要求 5、 6或 7所述的装置, 其特征在于, 所述装置在路 由条目发生变化时, 所述多下一跳获取模块使用新的多个下一跳的个数来 进行转发路径的选择, 对用户报文流的转发路径做出动态调整。  The device according to claim 5, 6 or 7, wherein, when the routing entry changes, the multiple next hop obtaining module uses the number of new multiple next hops to perform The selection of the forwarding path dynamically adjusts the forwarding path of the user packet flow.
PCT/CN2010/072434 2009-09-22 2010-05-04 Load sharing method and device for data flows of multiple interfaces in wimax system WO2011035582A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910093861A CN101668010A (en) 2009-09-22 2009-09-22 Method and device for sharing multi-interface data stream load in WiMAX system
CN200910093861.8 2009-09-22

Publications (1)

Publication Number Publication Date
WO2011035582A1 true WO2011035582A1 (en) 2011-03-31

Family

ID=41804450

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072434 WO2011035582A1 (en) 2009-09-22 2010-05-04 Load sharing method and device for data flows of multiple interfaces in wimax system

Country Status (2)

Country Link
CN (1) CN101668010A (en)
WO (1) WO2011035582A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668010A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Method and device for sharing multi-interface data stream load in WiMAX system
CN102497652B (en) * 2011-12-12 2014-07-30 武汉虹信通信技术有限责任公司 Load balancing method and device for large-flow data of code division multiple access (CDMA) R-P interface
CN105101177A (en) * 2014-05-20 2015-11-25 中国移动通信集团广东有限公司 Scheduling method, system and gateway GPRS support nodes (GGSN) for firewalls
CN105207904B (en) * 2014-06-25 2018-07-17 广州市动景计算机科技有限公司 Processing method, device and the router of message
CN105592001A (en) * 2014-10-20 2016-05-18 中国移动通信集团广东有限公司 Gi firewall load balance networking method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6111877A (en) * 1997-12-31 2000-08-29 Cisco Technology, Inc. Load sharing across flows
CN1866199A (en) * 2005-11-04 2006-11-22 华为技术有限公司 Method and apparatus for improving data processing efficiency
CN101388845A (en) * 2007-09-13 2009-03-18 诺基亚公司 Devices and methods for local breakout in a gateway of an access service network
CN101668010A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Method and device for sharing multi-interface data stream load in WiMAX system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6111877A (en) * 1997-12-31 2000-08-29 Cisco Technology, Inc. Load sharing across flows
CN1866199A (en) * 2005-11-04 2006-11-22 华为技术有限公司 Method and apparatus for improving data processing efficiency
CN101388845A (en) * 2007-09-13 2009-03-18 诺基亚公司 Devices and methods for local breakout in a gateway of an access service network
CN101668010A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Method and device for sharing multi-interface data stream load in WiMAX system

Also Published As

Publication number Publication date
CN101668010A (en) 2010-03-10

Similar Documents

Publication Publication Date Title
WO2019223466A1 (en) Communication method and device
US9860790B2 (en) Mobile service routing in a network environment
US10079897B2 (en) Control of a chain of services
US9743334B2 (en) Method and apparatus for enabling data path selection in a virtual home gateway
JP4801204B2 (en) Applying policies to manage service flows
US9882733B2 (en) Migrating eMBMS into a cloud computing system
US8539053B2 (en) Apparatus and method for dynamic host configuration protocol version 6 extensions for configuring hosts with multiple interfaces
CA2796249C (en) Method and equipment for establishing a connection through a virtual private network
JP2017510099A (en) Integrated sublayer for multi-connection communication
WO2007033363A2 (en) System and method for providing packet connectivity between heterogeneous networks
JP2017143507A (en) Network element system
US20230379244A1 (en) Ultra reliable segment routing
WO2021016631A2 (en) Methods and apparatus for mobility management
WO2011035582A1 (en) Load sharing method and device for data flows of multiple interfaces in wimax system
CN114710975B (en) Method, base station, network element and device for multi-domain transmission and multi-transmission network context identification
KR101774994B1 (en) Network system for transferring data efficiently, and method for transferring data thereof
WO2012088828A1 (en) Method, system and access gateway router for table maintenance
Zheng et al. Traffic offloading improvements in mobile networks
JP2004165970A (en) Dynamic route control method and dynamic route controller
Janevski et al. Performance study of SCTP in wireless environment
EP1974050A2 (en) End-to-end architecture for universal mobility and wireless-aware transport

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

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

Country of ref document: EP

Kind code of ref document: A1