WO2012163164A1 - 一种选择网关的方法和装置 - Google Patents

一种选择网关的方法和装置 Download PDF

Info

Publication number
WO2012163164A1
WO2012163164A1 PCT/CN2012/073183 CN2012073183W WO2012163164A1 WO 2012163164 A1 WO2012163164 A1 WO 2012163164A1 CN 2012073183 W CN2012073183 W CN 2012073183W WO 2012163164 A1 WO2012163164 A1 WO 2012163164A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
keep
alive
list
terminal
Prior art date
Application number
PCT/CN2012/073183
Other languages
English (en)
French (fr)
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 WO2012163164A1 publication Critical patent/WO2012163164A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • the present invention relates to a wireless communication system, and in particular, to a method and apparatus for selecting an access gateway (AGW). Background technique
  • the base station is connected to the Access Gateway (AGW).
  • AGW Access Gateway
  • the base station can only be configured with one AGW.
  • AGW fails, the in-network user service of the AGW needs to be disconnected from the network.
  • the base station needs to wait for the AGW to restart before allowing the user to access, that is, all terminal access fails during this period; when the AGW needs to be upgraded or replaced.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for selecting a gateway, so as to avoid the influence of factors such as gateway upgrade or failure on the user.
  • an embodiment of the present invention provides a method for selecting a gateway, including: configuring a configuration list, where the configuration list includes a gateway currently connected to a base station; and each gateway in the configuration list Perform a keep-alive interaction separately, and write the keep-alive state to the available gateway to the available list;
  • a gateway is selected for the terminal from the available list.
  • the step of configuring the configuration list includes: writing information of a gateway currently connected to the base station to the configuration list.
  • the above method can also have the following characteristics:
  • the available list further includes a priority corresponding to the gateway
  • the step of selecting a gateway for the terminal from the available list comprises: selecting a gateway with the highest priority for the terminal from the available list.
  • the terminal When the terminal is selected for the terminal, the terminal includes access.
  • the method further includes:
  • the priority of the gateway in the available list is changed, it is determined that the current priority of the gateway selected for the terminal before the change is not the highest, and when the gateway is selected for other new terminals, the gateway with the highest priority is selected.
  • the step of performing a keep-alive interaction with each of the gateways in the configuration list includes: sending a keep-alive request to the gateway, receiving a keep-alive response returned by the gateway within a time limit, and determining that the keep-alive state of the gateway is If the keep-alive response returned by the gateway is not received within the time limit, it is determined that the keep-alive state of the gateway is unavailable, and the keep-alive request is continued.
  • An embodiment of the present invention further provides an apparatus for selecting a gateway, including: a configuration module, a selection module, and a keep-alive module.
  • the configuration module is configured to configure a configuration list, where the configuration list includes a gateway currently connected to the base station;
  • the keep-alive module is configured to perform a keep-alive interaction with each gateway in the configuration list;
  • the selection module is configured to write a keep-alive state to an available gateway to the available list; and when the gateway is selected for the terminal, select a gateway for the terminal from the available list.
  • the configuration module is further configured to: when a new gateway is connected to the base station, write the information of the new gateway to the configuration list, and delete the reduction from the configuration list when the gateway connected to the base station decreases Gateway.
  • the configuration module is further configured to configure a priority of the gateway in the configuration list
  • the selecting module is further configured to configure a priority of the gateway in the available list according to a priority of a gateway in the configuration list; the selecting module is configured to select, for the terminal, the terminal from the available list in the following manner Gateway: Select the gateway with the highest priority for the terminal from the available list.
  • the keep-alive module is configured to perform a keep-alive interaction with each gateway in the configuration list in the following manner: sending a keep-alive request to the gateway, and receiving a keep-alive response returned by the gateway within a time limit, determining The keepalive state of the gateway is available. If the keepalive response returned by the gateway is not received within the timeout period, it is determined that the keepalive state of the gateway is unavailable, and the keepalive request is continued.
  • a gateway selection device on the base station side, it is possible to automatically switch to other available backup gateways when the gateway fails, and smooth upgrade of the gateway.
  • the device By configuring multiple AGWs and keeping them alive with multiple AGWs, when the connection AGW is reset, the device automatically selects another available AGW for the newly accessed terminal.
  • a smooth upgrade or transition of the AGW can be implemented by adding a high-priority AGW or modifying the AGW priority to be lower than the backup AGW. In the upgrade process, the terminal connected to the original AGW does not need to drop the call, and the new terminal can automatically access the backup.
  • AGW for user bodies such as LTE systems.
  • FIG. 1 is a diagram of a method and apparatus for automatically selecting an available AGW according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a signal saving state modification state of an AGW according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a keepalive process of a base station and an AGW according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a modification signal of an AGW configuration according to an embodiment of the present invention
  • FIG. 6 is a flowchart of an AGW selection module-AGW configuration modification process according to an embodiment of the present invention.
  • Configuring a configuration list where the configuration list includes a gateway currently connected to the base station; performing a keep-alive interaction with each gateway in the configuration list, and writing the keep-alive state to an available gateway to the available list;
  • a gateway is selected for the terminal from the available list.
  • the step of configuring the configuration list includes: writing information of a gateway currently connected to the base station to the configuration list.
  • the information of the new gateway is written to the configuration list, and when the gateway connected to the base station is reduced, the reduced gateway is deleted from the configuration list.
  • the configuration list further includes a priority of each gateway currently connected to the base station; when writing the available list to the available list, the priority of the gateway is also written into the available list; When selecting a gateway for a terminal, the gateway with the highest priority is selected for the terminal from the available list. Or, when not configured at the beginning, the priority of the gateway in the available list is configured when the keepalive state is available to the available gateway, so that when the gateway is selected for the terminal, the gateway with the highest priority can be selected.
  • the step of performing the keep-alive interaction with the gateway includes: sending a keep-alive request to the gateway, and receiving the keep-alive response returned by the gateway within the time limit, determining that the keep-alive state of the gateway is available, if not received within the time limit.
  • the keep-alive response returned by the gateway determines that the keep-alive state of the gateway is unavailable, and continues to send a keep-alive request.
  • the gateway When the gateway is selected for the terminal, for example, it may be when the terminal accesses.
  • the priority of the gateway in the available list changes, it is judged that the current priority of the gateway selected for the terminal before the change is not the highest, and when the gateway is selected for the new terminal, the current priority is selected to be the highest. Gateway.
  • FIG. 1 is a structural diagram of an apparatus for selecting an AGW, where a UE is a terminal, a BS is a base station, and an AGW is an access gateway.
  • the device for selecting the AGW is located at the base station side, and is composed of a configuration module, a selection module, and a keep-alive module. The functions of each module are described as follows:
  • the configuration module is configured to set a configuration list according to a gateway currently connected to the base station, where the configuration list includes a gateway currently connected to the base station;
  • the keep-alive module is configured to perform a keep-alive interaction with each gateway in the configuration list; the selection module is configured to write a keep-alive state to an available gateway to write an available list; and to select a gateway for the terminal At the time, a gateway is selected for the terminal from the available list.
  • the configuration module is further configured to, when a new gateway is connected to the base station, write the information of the new gateway to the configuration list, and delete the reduced gateway from the configuration list when the gateway connected to the base station is reduced. That is to say, the configuration module is mainly responsible for the maintenance of the configuration list, for example: setting the priority of the gateway in the configuration list.
  • the keep-alive module is configured to perform a keep-alive interaction with the gateway in the following manner: sending a keep-alive request to the gateway, and receiving the keep-alive response returned by the gateway within the time limit, determining that the keep-alive state of the gateway is available, if If the keep-alive response returned by the gateway is not received within the time limit, it is determined that the keep-alive state of the gateway is unavailable, and the keep-alive request is continued.
  • the keep-alive module When there is a new gateway in the configuration list, the keep-alive module needs to keep alive with the new gateway. When a gateway is deleted in the configuration list, the keep-alive module cancels the keep-alive interaction with the gateway.
  • the maintenance of the available list is the responsibility of the selection module; for example, the priority of the gateway in the available list is configured according to the priority of the gateway in the configuration list.
  • the selection module is set to select a gateway for the terminal from the available list in the following way: Select the gateway with the highest priority for the terminal from the available list.
  • FIG. 1 is a flow chart of terminal access, which is described as follows:
  • Step 201 The terminal acquires uplink and downlink information, and acquires MAC layer synchronization.
  • Step 203 The terminal sends a basic capability negotiation request (SBC-REQ) message to negotiate basic capabilities.
  • SBC-REQ basic capability negotiation request
  • Step 204 After receiving the SBC-REQ message, the AGW selects, for the terminal, selects the connection AGW, and selects the AGW with the highest priority and the highest priority.
  • Step 205 The base station sends a pre-attach request (Pre-Attach-Req) message to the connection AGW, requesting the terminal to access;
  • Pre-Attach-Req a pre-attach request
  • Step 206 The AGW sends a pre-attach response (Pre-Attach-Rsp) message to the base station, and carries a success or failure indication.
  • Pre-Attach-Rsp pre-attach response
  • Step 207 The base station sends a basic capability negotiation response (SBC-RSP) message to the terminal, and carries the capability negotiation result.
  • SBC-RSP basic capability negotiation response
  • FIG. 3 is a flow chart of the AGW keepalive state change signal. Take two AGWs as an example.
  • Step 301 AGW1 performs a keep-alive interaction with the AGW keep-alive module.
  • the AGW keep-alive module does not need to notify the AGW selection module, and if there is a change, notify the AGW to select the module;
  • Step 302 AGW2 performs a keep-alive interaction with the AGW keep-alive module
  • the AGW does not need to be notified to select the module, and if there is a change, the AGW keep-alive module notifies the AGW to select the module;
  • Step 303 The AGW keep-alive module detects an AGW keep-alive state change.
  • Step 304 the AGW keep-alive module notifies the AGW selection module of the keep-alive state change of the AGW;
  • Step 305 If the AGW status becomes unavailable, the AGW selection module deletes the AGW from the available list, checks whether the terminal is attached to the AGW, and if so, forces the terminal to be disconnected. If there is a new terminal access, the connection AGW will be re-selected. The selection principle is: Available and the highest priority; If the AGW status becomes available, the AGW is added to the available list. If there is a new terminal access, The connection AGW will be reselected, and the selection principle is: Available and highest priority.
  • the keep-alive process is shown in Figure 4 and includes the following steps:
  • Step 401 After the base station is successfully powered on, send a keep-alive request message to the AGW, and set a keep-alive timer T1.
  • Step 402 If the R6 port is connected, the AGW should respond to the keepalive response message of the BS after receiving the keepalive request message of the BS. If the link is broken, the request message cannot reach the AGW, or if the AGW is currently upgrading or restarting Etc., the AGW cannot return the keep-alive response message to the BS (shown by the dotted line in the figure);
  • Step 403 T1 times out. If the BS does not receive the keep-alive response message of the AGW, re-transmit the keep-alive request message, and the number of retransmissions is increased by one;
  • Step 404 If the number of retransmissions exceeds the maximum number of retransmissions, the BS considers that the AGW keepalive state is unavailable.
  • Step 405 The base station continues to send a keep-alive request message, and sets a keep-alive timer T2 (T2 is recommended to be longer than T1);
  • Step 406 If the keep-alive response is still not received, the base station continues to send the keep-alive request message.
  • Step 408 If the AGW keep-alive response message is received, the AGW keep-alive state is changed to be available.
  • the process is continuously performed, that is, the BS continuously performs a keep-alive interaction with the AGW, and acquires the current state of the AGW in real time.
  • Example 3
  • FIG. 5 is a flow chart of the AGW configuration modification signal, which is described as follows:
  • Step 501 The AGW configuration modification may include the following scenarios: AGW deletion, AGW addition, AGW modification (modification priority), and the AGW configuration module updates the configuration list according to the configured modification: 1) If the AGW is deleted, the AGW is removed from the configuration list. Deleted
  • Step 502 The AGW configuration module notifies the AGW keep-alive module configuration list change, for example, modifying the message by using the AGW.
  • Step 503 The AGW keep-alive module performs a keep-alive operation according to the modified configuration list.
  • the AGW keep-alive module cancels the AGW's keep-alive interaction process
  • the AGW keep-alive module triggers a keep-alive interaction process with the AGW;
  • Step 504 The AGW configuration module notifies the AGW to select a module configuration list change, for example, modifying the message by using the AGW.
  • Step 505 The AGW selection module determines, according to the changed configuration list, whether the available list needs to be changed, and determines whether to modify the available list according to the keep-alive result of the AGW keep-alive module.
  • Figure 6 is a flow chart of the AGW selection module - AGW configuration modification process, which is described as follows
  • the AGW is deleted, the AGW is deleted from the available list. If the terminal is connected to the AGW, the terminal is triggered to be disconnected from the network.
  • the AGW is added, when the AGW keep-alive module determines that the keep-alive state of the AGW is available, the AGW is added to the available list. When a new terminal is accessed, if the newly added AGW has the highest priority, then the selection is made. The AGW is a new connection AGW. The terminal connected to the original AGW does not need to perform the network revocation process.
  • the priority of the non-currently connected AGW (the gateway selected by the terminal) is modified, it is judged whether the priority of the currently connected AGW is the highest, and if so, remains unchanged; if not, when there is a new terminal accessing Then, the AGW with the highest priority is selected as the new current connection AGW.
  • the terminal connected to the original AGW does not need to perform the network revocation process.
  • the method and apparatus can be applied to the following scenarios: 1) AGW smooth upgrade 2) AGW replacement 3)
  • the AGW When the AGW is broken, it automatically selects other available AGW and other scenarios. The following three scenarios are specifically described.
  • the AGW is upgraded smoothly.
  • all the existing users need to be released during the upgrade process, and the new terminal is not allowed to access during the upgrade process, which has a great impact on the system, and the device of the embodiment of the present invention is used.
  • a smooth upgrade can be achieved.
  • the AGW1 upgrade is used as an example. The specific steps are as follows. The scenario is a special application in Figure 4.
  • AGW2 is added in the AGW configuration module, and the priority is greater than 1 (if AGW2 is configured, the priority of AGW1 may be modified to be lower than AGW2 or the priority of modifying AGW2 is greater than AGW1);
  • AGW2 has a higher priority than AGW1, the AGW selection module chooses to connect to the AGW as the highest priority.
  • AGW2 is selected as the connection AGW, and the terminal connected to AGW1 is not specially processed. Therefore, the user service of AGW1 is not affected, and AGW1 can be released until all users on AGW1 are automatically disconnected.
  • the AGW disconnection automatically selects other available AGW application scenarios.
  • the two AGWs, AGW1 and AGW2, and the currently connected AGW1 broken link are taken as an example for specific description.
  • This scenario is a special application of Figure 3:
  • AGW keep-alive module is kept alive with AGW1 and AGW2 respectively;
  • the AGW selection module deletes AGW1 from the available list, releases all terminals under the AGW, selects AGW2 as the new connection AGW, and accesses AGW2 when there is new terminal access.
  • a method and a device for selecting a gateway according to an embodiment of the present invention can automatically switch to another available backup gateway when the gateway is faulty, and smoothly upgrade the gateway when the gateway is faulty, thereby avoiding factors such as gateway upgrade or failure. Impact on users.

Landscapes

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

Abstract

一种选择网关的方法和装置,所述方法包括:对配置列表进行配置,所述配置列表中包括当前与基站连接的网关;与配置列表中的每个网关分别进行保活交互,将保活状态为可用的网关写入可用列表;在为终端选择网关时,从所述可用列表中为该终端选择网关。所述装置包括:配置模块、选择模块和保活模块。通过在基站侧增加网关选择装置,可以实现网关故障时自动切换到其他可用备份网关,以及网关的平滑升级。

Description

一种选择网关的方法和装置
技术领域
本发明涉及无线通信系统,具体涉及一种选择接入网关( Access Gateway, AGW ) 的方法和装置。 背景技术
以全球微波互联接入 ( Worldwide Interoperability for Microwave Access, WIMAX )系统为例, 基站与接入网关 ( Access Gateway, AGW )连接, 基站 只可以配置一个 AGW。 当 AGW发生故障时, 该 AGW下挂的在网用户业务 需要脱网, 基站需要等待该 AGW重启之后, 才允许用户接入, 也就是该时 段所有终端接入失败; 当 AGW需要升级或者替换时, 也只能先将 AGW复 位,待升级完成后重启或者替换到新的 AGW,该操作会导致现有系统已在网 用户会强制掉话, 在升级或者替换过程中, 也不允许新的用户接入。 这两种 情况对用户的影响都非常巨大。 发明内容
本发明实施例要解决的技术问题是提供一种选择网关的方法和装置, 尽 量避免网关升级或者故障等因素对用户的影响。
为解决上述技术问题, 本发明实施例提供了一种选择网关的方法, 包括: 对配置列表进行配置, 所述配置列表中包括当前与基站连接的网关; 与所述配置列表中的每个网关分别进行保活交互, 将保活状态为可用的 网关写入可用列表;
在为终端选择网关时, 从所述可用列表中为该终端选择网关。
上述方法还可具有以下特点:
所述对配置列表进行配置的步骤包括: 将当前与基站连接的网关的信息 写入配置列表。 上述方法还可具有以下特点:
所述可用列表中还包括网关对应的优先级;
所述从所述可用列表中为该终端选择网关的步骤包括: 从所述可用列表 中为终端选择优先级最高的网关。
上述方法还可具有以下特点:
所述为终端选择网关时包括终端接入时。
上述方法还可具有以下特点:
在所述为该终端选择网关的步骤后, 所述方法还包括:
当所述可用列表中的网关的优先级发生变更时, 判断变更之前为终端选 择的网关的当前优先级不是最高, 则在为其他新终端选择网关时, 选择当前 优先级最高的网关。
上述方法还可具有以下特点:
所述与所述配置列表中的每个网关分别进行保活交互的步骤包括: 向网 关发送保活请求, 在定时时间内接收到网关返回的保活响应, 则确定该网关 的保活状态为可用, 如果在定时时间内没有接收到网关返回的保活响应, 则 确定该网关的保活状态为不可用, 继续发送保活请求。
本发明实施例还提供一种选择网关的装置, 其包括: 配置模块、 选择模 块和保活模块,
所述配置模块, 其设置为对配置列表进行配置, 所述配置列表中包括当 前与基站连接的网关;
所述保活模块, 其设置为与所述配置列表中的每个网关分别进行保活交 互;
所述选择模块, 其设置为将保活状态为可用的网关写入可用列表; 以及 在为终端选择网关时, 从所述可用列表中为该终端选择网关。
上述装置还可具有以下特点:
所述配置模块还设置为在有新网关与基站连接时, 将该新网关的信息写 入配置列表, 以及在与基站连接的网关减少时, 从该配置列表中删除该减少 的网关。
上述装置还可具有以下特点:
所述配置模块还设置为配置所述配置列表中网关的优先级;
所述选择模块还设置为根据所述配置列表中的网关的优先级配置所述可 用列表中网关的优先级; 所述选择模块是设置为釆用以下方式从所述可用列 表中为该终端选择网关: 从所述可用列表中为终端选择优先级最高的网关。
上述装置还可具有以下特点:
所述保活模块是设置为釆用以下方式与所述配置列表中的每个网关分别 进行保活交互: 向网关发送保活请求, 在定时时间内接收到网关返回的保活 响应, 则确定该网关的保活状态为可用, 如果在定时时间内没有接收到网关 返回的保活响应, 则确定该网关的保活状态为不可用, 继续发送保活请求。
本发明实施例通过在基站侧增加网关选择装置, 可以实现网关故障时自 动切换到其他可用备份网关, 以及网关的平滑升级。 通过配置多 AGW并且 与多 AGW保活, 当连接 AGW发生复位时, 该装置会自动为新接入的终端 选择另外一个可用 AGW。通过增加高优先级的 AGW或者修改需要升级 AGW 优先级低于备份 AGW, 可以实现 AGW的平滑升级或过渡, 在升级的过程, 原 AGW连接的终端不需要掉话, 新终端可以自动接入备份 AGW, 对用户体 比如 LTE系统。
附图概述
图 1为本发明实施例自动选择可用 AGW的方法和装置图;
图 2为本发明实施例终端接入流程图;
图 3为本发明实施例 AGW保活状态修改信号流程图;
图 4为本发明实施例基站与 AGW保活流程示意图;
图 5为本发明实施例 AGW配置修改信号流程图; 图 6为本发明实施例 AGW选择模块 -AGW配置修改处理流程图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施方式进行详细说明。 需要说明的是, 组合。
本发明实施例的选择网关的方法包括:
对配置列表进行配置, 所述配置列表中包括当前与基站连接的网关; 与配置列表中的每个网关分别进行保活交互, 将保活状态为可用的网关 写入可用列表;
在为终端选择网关时, 从该可用列表中为该终端选择网关。
所述对配置列表进行配置的步骤包括: 将当前与基站连接的网关的信息 写入该配置列表。 在有新网关与基站连接时, 将该新网关的信息写入该配置 列表, 以及在与基站连接的网关减少时, 从该配置列表中删除该减少的网关。
可选地, 该配置列表中还包括当前与基站连接的各网关的优先级; 在将 保活状态为可用的网关写入可用列表时, 还将该网关的优先级一并写入可用 列表; 在为终端选择网关时, 从可用列表中为终端选择优先级最高的网关。 或者开始时不配置, 而是在将保活状态为可用的网关写入可用列表时, 配置 可用列表中网关的优先级, 以便在为终端选择网关时, 可以选择优先级最高 的网关。
上述与网关进行保活交互的步骤包括: 向网关发送保活请求, 在定时时 间内接收到网关返回的保活响应, 则确定该网关的保活状态为可用, 如果在 定时时间内没有接收到网关返回的保活响应, 则确定该网关的保活状态为不 可用, 继续发送保活请求。 通过与第一列表中的每个网关持续进行保活交互, 可以实时掌握各网关的状态, 仅在可用列表中保留保活状态为可用的网关。
在为终端选择网关时例如可以是终端接入时。
当可用列表中的网关的优先级发生变更时, 判断变更之前为终端选择的 网关的当前优先级不是最高, 在为新终端选择网关时, 选择当前优先级最高 的网关。
图 1为选择 AGW的装置的构成图, 其中 UE为终端, BS为基站, AGW 为接入网关。 该选择 AGW的装置位于基站侧, 由配置模块、 选择模块以及 保活模块组成, 各个模块的功能描述如下:
所述配置模块, 设置为根据当前与基站连接的网关设置配置列表, 所述 配置列表中包括当前与基站连接的网关;
所述保活模块, 设置为与配置列表中的每个网关分别进行保活交互; 所述选择模块, 设置为将保活状态为可用的网关写入可用列表; 以及用 于在为终端选择网关时, 从所述可用列表中为该终端选择网关。
该配置模块还设置为在有新网关与基站连接时, 将该新网关的信息写入 配置列表, 以及在与基站连接的网关减少时, 从该配置列表中删除该减少的 网关。 也就是说, 该配置模块主要负责配置列表的维护, 例如: 设置配置列 表中网关的优先级。
该保活模块设置为釆用以下方式与网关进行保活交互: 向网关发送保活 请求, 在定时时间内接收到网关返回的保活响应, 则确定该网关的保活状态 为可用, 如果在定时时间内没有接收到网关返回的保活响应, 则确定该网关 的保活状态为不可用, 继续发送保活请求。
当配置列表中有新增网关时, 该保活模块需要与该新增网关进行保活交 互; 当配置列表中有网关被删除时, 该保活模块则取消与该网关的保活交互。
可用列表的维护由该选择模块负责; 例如根据配置列表中的网关的优先 级配置可用列表中网关的优先级。 该选择模块设置为釆用以下方式从可用列 表中为该终端选择网关: 从可用列表中为终端选择优先级最高的网关。
实施例 1
图 2为终端接入流程图, 具体描述如下:
步骤 201 , 终端获取上下行链路信息, 获取 MAC层同步; 步骤 202, 终端与基站做初始测距(RNGING ) , 调整时偏、 频偏、 功率, 获取物理层的同步。 通过测距请求 /响应 (RNG-REQ/RS ) 的交互, 分配基本 连接标识( Connect Identifier, CID ) 、 主 CID;
步骤 203 , 终端发送基本能力协商请求(SBC-REQ ) 消息, 协商基本能 力;
步骤 204 , 基站收到 SBC-REQ 消息之后, AGW选择为终端选择连接 AGW, 选择原则为可用并且优先级最高的 AGW;
步骤 205 , 基站向连接 AGW发送预附着请求( Pre-Attach-Req ) 消息, 请求终端接入;
步骤 206, AGW向基站发送预附着响应( Pre-Attach-Rsp )消息, 携带成 功或者失败指示;
步骤 207 , 基站向终端发送基本能力协商响应 (SBC-RSP ) 消息, 携带 能力协商结果。
实施例 2
图 3为 AGW保活状态变更信号流程图, 以两个 AGW为例, 具体描述 下:
步骤 301 , AGW1与 AGW保活模块进行保活交互;
具体的保活流程参见图 4流程;
如果保活结果与之前没有变化, 则 AGW保活模块不需要通知 AGW选 择模块, 如果有变化, 则通知 AGW选择模块;
步骤 302 , AGW2与 AGW保活模块进行保活交互;
如果保活结果与之前没有变化, 则不需要通知 AGW选择模块, 如果有 变化, 则 AGW保活模块通知 AGW选择模块;
步骤 303 , AGW保活模块检测到某 AGW保活状态变更;
步骤 304, AGW保活模块将该 AGW的保活状态变更通知 AGW选择模 块; 步骤 305, 如果 AGW状态变为不可用, AGW选择模块将该 AGW从可 用列表中删除, 检查该 AGW下是否挂有终端, 如果有, 则强制终端脱网。 如果有新的终端接入, 将会重新选择连接 AGW, 选择原则为: 可用且优先级 最高; 如果 AGW状态变成可用, 则将该 AGW添加至可用列表, 如果有新 的终端接入, 将会重新选择连接 AGW, 选择原则为: 可用且优先级最高。
保活流程如图 4所示, 包括以下步骤:
步骤 401 ,基站上电成功后, 给 AGW发送保活请求消息, 并且设置保活 定时器 T1 ;
步骤 402, 如果 R6口链路通, AGW收到 BS的保活请求消息之后, 应 该给 BS响应保活响应消息, 如果链路断, 则请求消息到不了 AGW, 或者如 果 AGW当前正在升级或者重启等, AGW无法给 BS返回保活响应消息 (图 中虚线表示) ;
步骤 403 , T1超时, 如果 BS没有收到 AGW的保活响应消息, 则重发保 活请求消息, 重传次数加 1;
步骤 404, 如果重传次数超过最大重传次数, 则 BS认为 AGW保活状态 为不可用;
步骤 405, 基站继续发送保活请求消息, 设置保活定时器 T2 ( T2建议长 于 T1 ) ;
步骤 406, 如果仍未收到保活响应, 基站继续发送保活请求消息; 步骤 407, 在定时器 T2的定时时间内, 基站仍没有收到 AGW的保活响 应消息, 设置重传次数, 继续发送保活请求;
步骤 408, 如果收到 AGW的保活响应消息, 则认为 AGW保活状态变更 为可用。
本流程是持续执行的, 也就是说, BS持续与 AGW进行保活交互, 实时 获取 AGW的当前状态。 实施例 3
图 5为 AGW配置修改信号流程图, 具体描述如下:
步骤 501 , AGW配置修改,可能包括以下场景: AGW删除、 AGW增加、 AGW修改(修改优先级) , AGW配置模块根据配置的修改更新配置列表: 1)如果删除 AGW, 则将该 AGW从配置列表中删除;
2 )如果增加 AGW, 将该 AGW添加至配置列表;
3 )如果 AGW优先级变更, 则更改配置列表中该 AGW的优先级。
步骤 502, AGW配置模块通知 AGW保活模块配置列表变更, 例如通过 AGW修改消息;
步骤 503 , AGW保活模块根据修改后的配置列表进行保活操作;
1 )如果配置列表中删除了 AGW, 则 AGW保活模块取消该 AGW的保 活交互流程;
2 )如果配置列表中增加 AGW, 则 AGW保活模块触发与该 AGW的保 活交互流程;
3 )如果是修改 AGW优先级, 则 AGW保活模块不需要处理。
步骤 504, AGW配置模块通知 AGW选择模块配置列表变更, 例如通过 AGW修改消息;
步骤 505 , AGW选择模块根据变更后的配置列表确定是否需要变更可用 列表, 根据 AGW保活模块的保活结果确定是否修改可用列表;
图 6为 AGW选择模块 -AGW配置修改处理流程图, 具体描述如下
1)如果删除 AGW,则将该 AGW从可用列表中删除,如果该 AGW下挂 有终端, 触发终端脱网;
2 )如果增加 AGW, 待 AGW保活模块确定该 AGW的保活状态为可用 时,将该 AGW添加至可用列表, 当有新的终端接入时, 如果新增的 AGW优 先级最高, 则选择该 AGW为新的连接 AGW, 原连接 AGW下挂的终端不需 要做退网处理;
3 )如果修改当前连接 AGW (为终端选择的网关) 的优先级, 判断当前 连接 AGW的优先级是否还是最高, 如是, 保持不变; 如果不是, 重新选择 连接 AGW,选择原则为保活状态为可用并且优先级最高,在新终端接入时选 择新连接 AGW, 原连接 AGW下挂的终端不需要做退网处理;
4 )如果修改非当前连接 AGW (非为终端选择的网关) 的优先级, 判断 当前连接的 AGW的优先级是否是最高, 如是, 保持不变; 如果不是, 则当 有新的终端接入时, 则选择优先级最高的 AGW为新的当前连接 AGW, 原连 接 AGW下挂的终端不需要做退网处理。
应用示例
本方法和装置可以应用于以下场景: 1 )AGW平滑升级 2 )AGW替换 3 )
AGW断链时自动选择其他可用 AGW等场景,下面就这三种情景进行具体描 述。
示例 1
AGW平滑升级,现有系统在升级的时候,升级过程中需要将现有用户全 部释放, 并且升级过程中不允许新的终端接入, 对系统的影响巨大, 釆用本 发明实施例的装置, 可以实现平滑升级。 以 AGW1升级为例, 具体步骤描述 如下, 该场景为图 4的一个特殊应用:
1 ) 准备一个备份 AGW2, 先将 AGW2版本升级;
2 )在 AGW配置模块增加 AGW2, 优先级大于 1 (如果 AGW2已配, 可 以修改 AGW1的优先级低于 AGW2或者修改 AGW2的优先级大于 AGW1 );
3 )将 AGW配置修改同步到 AGW选择模块和保活模块;
4 )因为 AGW2的优先级高于 AGW1 , AGW选择模块选择连接 AGW的 原则为可用且优先级最高。 新终端接入时, 选择 AGW2为连接 AGW, 不对 AGW1下挂的终端做特殊处理。 因此 AGW1的用户业务不受影响, 直到所有 AGW1上的用户都自动脱网时, 可以将 AGW1释放。
AGW替换的实现与 AGW平滑升级一致, 不再具体描述。 示例 2
AGW断链自动选择其他可用 AGW应用场景, 以两个 AGW, AGW1和 AGW2, 当前连接 AGW1断链为例, 进行具体描述, 该场景为图 3的一个特 殊应用:
1 ) AGW保活模块分别与 AGW1和 AGW2进行保活;
2 )检测到 AGW2保活状态为不可用, AGW保活模块将该变更通知到 AGW选择模块;
3 ) AGW选择模块将 AGW1从可用列表删除, 释放该 AGW下的所有终 端 , 选择 AGW2为新的连接 AGW, 有新终端接入时 , 接入 AGW2。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 变和变形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护 范围。
工业实用性
本发明实施方式的一种选择网关的方法和装置, 通过在基站侧增加网关 选择装置, 可以实现网关故障时自动切换到其他可用备份网关, 以及网关的 平滑升级, 尽量避免网关升级或者故障等因素对用户的影响。

Claims

权 利 要 求 书
1、 一种选择网关的方法, 其包括:
对配置列表进行配置, 所述配置列表中包括当前与基站连接的网关; 与所述配置列表中的每个网关分别进行保活交互, 将保活状态为可用的 网关写入可用列表;
在为终端选择网关时, 从所述可用列表中为该终端选择网关。
2、 如权利要求 1所述的方法, 其中:
所述对配置列表进行配置的步骤包括: 将当前与基站连接的网关的信息 写入配置列表。
3、 如权利要求 1所述的方法, 其中:
所述可用列表中还包括网关对应的优先级;
所述从所述可用列表中为该终端选择网关的步骤包括: 从所述可用列表 中为终端选择优先级最高的网关。
4、 如权利要求 1所述的方法, 其中:
所述为终端选择网关时包括终端接入时。
5、如权利要求 3所述的方法,其中,在所述为该终端选择网关的步骤后, 所述方法还包括:
当所述可用列表中的网关的优先级发生变更时, 判断变更之前为终端选 择的网关的当前优先级不是最高, 则在为其他新终端选择网关时, 选择当前 优先级最高的网关。
6、 如权利要求 1-5中任一权利要求所述的方法, 其中:
所述与所述配置列表中的每个网关分别进行保活交互的步骤包括: 向网 关发送保活请求, 在定时时间内接收到网关返回的保活响应, 则确定该网关 的保活状态为可用, 如果在定时时间内没有接收到网关返回的保活响应, 则 确定该网关的保活状态为不可用, 继续发送保活请求。
7、 一种选择网关的装置, 其包括: 配置模块、 选择模块和保活模块, 所述配置模块, 其设置为对配置列表进行配置, 所述配置列表中包括当 前与基站连接的网关;
所述保活模块, 其设置为与所述配置列表中的每个网关分别进行保活交 互;
所述选择模块, 其设置为将保活状态为可用的网关写入可用列表; 以及 在为终端选择网关时, 从所述可用列表中为该终端选择网关。
8、 如权利要求 7所述的装置, 其中:
所述配置模块还设置为在有新网关与基站连接时, 将该新网关的信息写 入配置列表, 以及在与基站连接的网关减少时, 从该配置列表中删除该减少 的网关。
9、 如权利要求 7所述的装置, 其中:
所述配置模块还设置为配置所述配置列表中网关的优先级;
所述选择模块还设置为根据所述配置列表中的网关的优先级配置所述可 用列表中网关的优先级; 所述选择模块是设置为釆用以下方式从所述可用列 表中为该终端选择网关: 从所述可用列表中为终端选择优先级最高的网关。
10、 如权利要求 7-9中任一权利要求所述的装置, 其中:
所述保活模块是设置为釆用以下方式与所述配置列表中的每个网关分别 进行保活交互: 向网关发送保活请求, 在定时时间内接收到网关返回的保活 响应, 则确定该网关的保活状态为可用, 如果在定时时间内没有接收到网关 返回的保活响应, 则确定该网关的保活状态为不可用, 继续发送保活请求。
PCT/CN2012/073183 2011-06-01 2012-03-28 一种选择网关的方法和装置 WO2012163164A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110146038.6 2011-06-01
CN2011101460386A CN102811470A (zh) 2011-06-01 2011-06-01 一种选择网关的方法和装置

Publications (1)

Publication Number Publication Date
WO2012163164A1 true WO2012163164A1 (zh) 2012-12-06

Family

ID=47235018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073183 WO2012163164A1 (zh) 2011-06-01 2012-03-28 一种选择网关的方法和装置

Country Status (2)

Country Link
CN (1) CN102811470A (zh)
WO (1) WO2012163164A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105992137A (zh) * 2015-01-29 2016-10-05 中兴通讯股份有限公司 基于位置的服务lbs平台信令交互的执行方法及装置
EP3062549A1 (en) * 2015-02-27 2016-08-31 Alcatel Lucent Network node and method
JP6507895B2 (ja) * 2015-07-09 2019-05-08 富士通株式会社 更新制御プログラム、方法、及び装置
CN111314984A (zh) * 2020-03-23 2020-06-19 四川华丰企业集团有限公司 一种网关切换方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893394A (zh) * 2005-07-05 2007-01-10 华为技术有限公司 一种穿越网络地址转换的方法
CN101217702A (zh) * 2008-01-09 2008-07-09 中兴通讯股份有限公司 Ip多媒体子系统集中业务呼叫保持业务的实现方法
WO2010102574A1 (en) * 2009-03-11 2010-09-16 Huawei Technologies Co., Ltd. System and method for initial gateway selection

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227748B (zh) * 2008-01-23 2012-05-23 中兴通讯股份有限公司 微波存取全球互通无线通讯系统中选择接入网网关的方法
CN101729327B (zh) * 2008-10-17 2013-06-12 中兴通讯股份有限公司 接入网关的选择方法以及自动配置服务器

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893394A (zh) * 2005-07-05 2007-01-10 华为技术有限公司 一种穿越网络地址转换的方法
CN101217702A (zh) * 2008-01-09 2008-07-09 中兴通讯股份有限公司 Ip多媒体子系统集中业务呼叫保持业务的实现方法
WO2010102574A1 (en) * 2009-03-11 2010-09-16 Huawei Technologies Co., Ltd. System and method for initial gateway selection

Also Published As

Publication number Publication date
CN102811470A (zh) 2012-12-05

Similar Documents

Publication Publication Date Title
WO2021190608A1 (zh) 无线链路失败报告方法以及用户设备
EP2294879A1 (en) System and method for multiple pdn detach
JP6449474B2 (ja) Sctpフェールオーバ時のs1−ap ueコンテキスト保持
WO2011116722A2 (zh) Isr激活场景中移动管理设备故障的处理方法及设备
CN112291819B (zh) 无线链路失败恢复方法以及用户设备
CN104113928A (zh) 一种无线承载控制rbc消息处理方法及装置
WO2020221193A1 (zh) 条件切换方法及对应的用户设备
WO2021057526A1 (zh) 一种网关设备容灾的方法及通信设备
US20230156587A1 (en) Transmission Configuration Method and Device
WO2012163164A1 (zh) 一种选择网关的方法和装置
WO2013152564A1 (zh) 用于gsm终端分组交换域切换的方法和系统
WO2013113159A1 (zh) 无线连接恢复方法、移动通信系统、用户设备和基站
WO2015109724A1 (zh) Lte系统fdd和tdd之间重定向的方法及装置
WO2023093818A1 (zh) 由用户设备执行的方法及用户设备
WO2019214606A1 (zh) 用户设备中的控制方法以及用户设备
WO2013063785A1 (zh) 一种建立Gs关联的方法及装置
WO2013113243A1 (zh) 一种处理数据传输业务的方法及终端
WO2010139215A1 (zh) 一种实现业务释放的方法、系统及演进节点b
WO2011160454A1 (zh) 一种消息的处理方法及系统
WO2015085545A1 (zh) 一种ps业务恢复方法、msc/vlr及mme
CN110677826A (zh) 容灾方法、系统、终端和计算机可读存储介质
TWI704834B (zh) 服務接受訊息之接收強化方法及使用者設備
TWI423712B (zh) 管理行動裝置內行動管理層之方法
TWI408982B (zh) 在無線通訊網路與行動裝置間同步維持封包資料通訊協定上下文狀態的方法及相關之行動裝置
WO2019140560A1 (zh) 一种切换方法及装置、计算机存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1