WO2012097610A1 - Method for automatically searching links with multi-uplink-mode and home gateway thereof - Google Patents

Method for automatically searching links with multi-uplink-mode and home gateway thereof Download PDF

Info

Publication number
WO2012097610A1
WO2012097610A1 PCT/CN2011/080628 CN2011080628W WO2012097610A1 WO 2012097610 A1 WO2012097610 A1 WO 2012097610A1 CN 2011080628 W CN2011080628 W CN 2011080628W WO 2012097610 A1 WO2012097610 A1 WO 2012097610A1
Authority
WO
WIPO (PCT)
Prior art keywords
uplink
uplink mode
mode
external network
network connection
Prior art date
Application number
PCT/CN2011/080628
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 WO2012097610A1 publication Critical patent/WO2012097610A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access

Definitions

  • the invention relates to a new multi-uplink mode automatic probe mode, which can enable the home gateway to automatically detect the uplink mode.
  • the invention belongs to the field of broadband network technology. Background technique
  • the user's home wiring is different, or the user's home wiring changes. Therefore, the single-upgrade home gateway product is no longer suitable, and it is necessary to change the home gateway products of different uplink modes.
  • the present invention provides a method for implementing automatic detection of a multi-uplink mode, which is applied to a home gateway supporting multiple uplink modes, and the method includes:
  • the bottom layer link of the multiple uplink modes on the intranet side is monitored; when the bottom layer link of the uplink mode that can be selected for use is successfully established, the selectable uplink mode is enabled.
  • the network connection configuration and application, the application includes a basic application preset by the home gateway;
  • the external network connection of each application in the uplink mode can be dialed on the Internet respectively. If the external network connection of the basic application is successfully dialed, the uplink mode that can be selected for use is determined as the current uplink mode.
  • the external network connection configuration and application of one or more uplink modes that the underlying link has been established are periodically enabled;
  • the external network connection of each application of the one or more uplink modes of the underlying link is respectively dialed on the Internet. If the external network connection of the basic application in the uplink mode is successfully dialed, the uplink that is the first to be successfully dialed is successfully performed. The mode is determined as the currently used uplink mode.
  • the method further includes:
  • the method further includes:
  • the intranet side continues to monitor the underlying link of the currently used uplink mode, and if the underlying link of the currently used uplink mode is detected to be disconnected, the currently used The uplink mode is set to undetermined.
  • the method further includes:
  • the underlying link When the currently used uplink mode is determined, if there is an underlying link that is not established in the uplink mode, the underlying link is closed; if there is a configuration and application that is not currently used in the uplink mode, the system is closed. The configuration and application; if there is an external network connection that is not currently used in the uplink mode, the external network connection is closed.
  • the external network connection of each application of the uplink mode is separately dialed, the external network connection of the basic application is dialed first, for example, the dialing is successful, and the external network connection of other applications is dialed again.
  • the current uplink mode is not determined, if the underlying link of multiple uplink modes that can be selected for use is successfully established, it is processed as follows:
  • the method further includes:
  • the priority order sequentially performs the online dialing of the plurality of uplink mode external network connections.
  • the uplink mode that can be selectively used is the default of all the uplink modes supported by the home gateway, and the uplink network connection configuration and application of the uplink mode are enabled when the uplink link of any uplink mode is successfully established.
  • the optional uplink mode is pre-configured in the product or configured by the user.
  • the uplink link of the uplink mode is successfully established, it is determined whether the uplink mode configured for the uplink mode is selected, and if yes, Enable the external network connection configuration and application of the uplink mode.
  • the invention also provides a home gateway capable of realizing automatic detection of multiple uplink modes, comprising a plurality of underlying link driver modules, an automatic probing policy module, and a wide area network (WAN) configuration module; each of the underlying link driver modules, respectively
  • the device is configured to monitor an underlying link of an uplink mode on the intranet side and report the successfully established or disconnected link to the automatic probing policy module.
  • WAN wide area network
  • the automatic probing policy module includes a message processing unit and an uplink mode determining unit: the message processing unit is configured to: when the currently used uplink mode is not determined, if the uplink mode of the uplink mode that is selectable to be used is successfully established, The message is reported to notify the WAN configuration module to enable the external network connection configuration and application of the uplink mode;
  • the uplink mode determining unit is configured to: when the uplink mode of the basic application in the uplink mode is successfully dialed, the uplink mode is determined to be the currently used uplink mode;
  • the WAN configuration processing module includes:
  • the enabling unit is configured to: enable the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module;
  • Connection unit which is set to: dial the Internet connection of each application of the enabled uplink mode No., and the dialing result is notified to the automatic probing policy module.
  • the automatic profiling policy module further includes: a timing notification unit, configured to: when the currently used uplink mode is not determined, periodically notify the WAN configuration processing module to enable one or more of the following establishments of the underlying link Uplink external network connection configuration and application.
  • a timing notification unit configured to: when the currently used uplink mode is not determined, periodically notify the WAN configuration processing module to enable one or more of the following establishments of the underlying link Uplink external network connection configuration and application.
  • the message processing unit is further configured to: when the currently used uplink mode is determined, if the message of the underlying link disconnection of the currently used uplink mode is received, the currently used uplink mode is set to Not determined.
  • the automatic profiling policy module further includes: a shutting down unit, configured to: notify the corresponding underlying link driving module if there is an underlying link that is not currently used in the uplink mode when the currently used uplink mode is determined Close the underlying link; if there is a configuration and application that is not currently used in the uplink mode, notify the WAN configuration module to close the configuration and application; if there is an external network connection that is not currently used in the uplink mode, notify the WAN The configuration module closes the external network connection; the bottom link driver module is further configured to: close the underlying link of the corresponding uplink mode according to the notification of the automatic probing policy module;
  • the enabling unit is further configured to: close the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module;
  • the connecting unit is further configured to: close the external network connection of the corresponding uplink mode according to the notification of the automatic probing policy module.
  • the message processing unit is further configured to: default all the uplink modes supported by the home gateway to the selectable uplink mode; or: use one or more uplink modes configured in advance as the selectable The way to use the uplink.
  • the above-mentioned home gateway and the multi-uplink automatic probing method are implemented, and a home gateway can be prepared to meet the wiring situation of different home users, and multi-uplink automatic probing can also be realized. It reduces the time loss, reduces the complexity of manual configuration of the home gateway, realizes automatic switching of multiple uplinks in the home gateway, and improves the speed of uplink switching.
  • FIG. 1 is a functional architecture diagram of a home gateway according to an embodiment of the present invention.
  • FIG. 2 is a main flow chart of a method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of state transition of an DSL, ETH uplink automatic probe according to an application example of the present invention. Preferred embodiment of the invention
  • the embodiment provides a home gateway capable of realizing multi-uplink automatic detection.
  • the system includes multiple link driving modules, an automatic probing policy module, and a WAN configuration module, where: each underlying link driving module , respectively, are set to: monitor the underlying link of the uplink mode on the intranet side and report the successfully established or disconnected message to the automatic probe policy module; or may be set to notify according to the automatic probe policy module Close the underlying link of the corresponding uplink mode.
  • the automatic probing strategy module further includes:
  • the message processing unit is configured to: notify the wide area network (WAN) configuration module to enable the uplink when the currently used uplink mode is not determined, if a message reporting that the uplink mode of the uplink mode is successfully selected is received, The external network connection configuration and application of the mode; when the currently used uplink mode is determined, if the message of the underlying link disconnection of the currently used uplink mode is received, the currently used uplink mode is determined to be undetermined. .
  • the message processing unit may default all the uplink modes supported by the home gateway to the selectable uplink mode; or use one or more uplink modes configured in advance as the uplink mode that can be used.
  • the uplink mode determining unit is configured to: when the currently used uplink mode is not determined, if the external network connection of the basic application of the certain uplink mode is successfully dialed, the uplink mode is determined to be the currently used uplink mode; When the currently used uplink mode is not determined, if the external network connection dialing of the basic application of an uplink mode is known to be failed, the uplink mode currently used is not determined.
  • the timing notification unit is configured to: when the currently used uplink mode is not determined, periodically notify the WAN configuration processing module to enable one or more uplink mode external network connection configurations and applications that have been established on the underlying link. This unit is optional.
  • the WAN configuration processing module further includes:
  • the enabling unit is configured to: enable the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module; or be configured to close the external network connection configuration of the corresponding uplink mode according to the notification of the automatic probing policy module application.
  • the connection unit is configured to: dial the Internet connection of the external network connection of each application in the enabled uplink mode, and notify the automatic discovery policy module of the dialing result. It can also be set to close the external network connection according to the notification of the automatic probe policy module.
  • the method for implementing the multi-uplink automatic detection in the home gateway provided in this embodiment is as shown in FIG. 2, and includes:
  • Step 110 When the currently used uplink mode is not determined, monitor the bottom link of multiple uplink modes on the intranet side;
  • Step 120 When the uplink link of the uplink mode is selected to be successfully established, the external network connection configuration and application of the uplink mode are enabled, and the application includes a basic application preset by the home gateway.
  • Step 130 The external network connection of each application in the uplink mode is respectively dialed on the Internet. If the external network connection of the basic application is successfully dialed, the uplink mode is determined as the currently used uplink mode.
  • the external network connection configuration and application of one or more uplink modes that have been established on the underlying link can be enabled periodically, and the external network connection of each application in the uplink mode is respectively dialed on the Internet, and if there is an uplink application,
  • the currently used uplink mode is determined, if there is an underlying link that is not currently used in the uplink mode, the lower layer link is closed; if there is a configuration that is not currently used, the uplink mode is enabled.
  • the application closes the configuration and the application; if there is an external network connection that is not currently used in the uplink mode, the external network connection is closed.
  • a home gateway can access multiple uplink modes at the same time, if the current uplink mode is not determined, if the underlying link of multiple uplink modes that can be selected for use is successfully established, it can be processed as follows:
  • the priority order of the multiple uplink modes that can be selected and used by the user may be pre-configured or configured by the user; if the uplink mode of the currently used uplink mode is not determined, if the underlying link of the multiple uplink modes that can be selected for use is successfully established, Performing online dialing of the plurality of uplink mode external network connections in sequence according to the priority order.
  • This example describes the implementation of multi-uplink automatic probing by taking an example of automatic detection of the uplink mode by the home gateway supporting the Digital Subscriber Line (DSL) and Ethernet (EtherNet, ETH) uplink modes.
  • DSL Digital Subscriber Line
  • EtherNet Ethernet
  • Two uplink modes are configured in the home gateway, DSL uplink and ETH uplink, and the initial state of the uplink is an undetermined (SPOOF UP) state.
  • the home gateway can automatically detect which uplink wiring environment to access. Please refer to the uplink state transition shown in FIG. 3 at the same time.
  • the DSL link driver module reports the link UP message.
  • the WAN configuration module is notified to prepare the WAN connection configuration dial in the DSL uplink. SPOOF UP status;
  • the uplink state is set to the DSL state, and the service in the DSL uplink configuration is run at this time; the basic application may be preset in the home gateway, for example, To browse the web.
  • another application of the DSL such as the voice over Internet Protocol (VoIP) external network connection
  • VoIP voice over Internet Protocol
  • the home gateway When the uplink status is DSL status, if the DSL link is disconnected at this time, the home gateway resets the uplink status to the SPOOF UP state.
  • the ETH link driver module reports the link UP message.
  • the WAN configuration module After receiving the automatic probe policy module, the WAN configuration module notifies the WAN configuration module to prepare the WAN connection configuration dialing in the ETH uplink. For the SPOOF UP status;
  • the uplink state of the product is set to the ETH state, and the service in the ETH uplink configuration is run.
  • the home gateway When the uplink state is set to the ETH state, if the ETH link is disconnected at this time, the home gateway resets the uplink state to the SPOOF UP state.
  • the home gateway uplink state is the SPOOF UP state
  • the home gateway will try to enable these available links to view the basic applications on these links. Whether the connection can be dialed successfully.
  • the link that the basic application first dials successfully will be determined as the currently used uplink mode until the link is disconnected.
  • the automatic probe policy module can notify the WAN configuration module to close all WAN connections and related services in the ETH uplink, and notify the ETH link driver module to close the ETH link.
  • the automatic probing policy module can notify the WAN configuration module to close all WAN connections and related services in the DSL uplink; and notify the DSL link driver module to close the DSL link.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may use software functions.
  • the form of the module is implemented. The invention is not limited to any specific form of combination of hardware and software.
  • the above-mentioned home gateway and the multi-uplink automatic probing method are implemented, and a home gateway can be used to meet the wiring situation of different home users, and multi-uplink automatic probing can be realized, reducing time loss and reducing the home gateway.
  • the complexity of manual configuration enables automatic switching of multiple uplinks in the home gateway, which improves the speed of uplink switching.

Abstract

The present invention discloses a method for automatically searching links with multi-uplink-mode and a home gateway thereof. The method comprises: monitoring lower layer links with multi-uplink-mode on the internal network side when a current uplink-mode is not determined; initiating external network connection configuration and application of said uplink-mode when it is monitored that a lower layer link with optional uplink-mode is successfully set up, wherein said application comprises the pre-set essential application for the home gateway; dialing-up said external network connections of applications with uplink-mode respectively and determiningsaid uplink-mode as the current uplink-mode if the external network connection of said essential application is successfully dialed.

Description

一种家庭网关及其实现多上行方式链路自动探查的方法  Home gateway and method for realizing automatic detection of multiple uplink mode links
技术领域 Technical field
本发明涉及一种新的多上行方式链路自动探查方式, 该方法可以使家庭 网关实现自动探测上行方式。 本发明属于宽带网络技术领域。 背景技术  The invention relates to a new multi-uplink mode automatic probe mode, which can enable the home gateway to automatically detect the uplink mode. The invention belongs to the field of broadband network technology. Background technique
目前很多地区用户家庭布线情况不一样, 或是用户家庭布线情况发生变 化, 那么以前单上行方式的家庭网关产品就不再适合, 需要换不同上行方式 的家庭网关产品。  At present, in many areas, the user's home wiring is different, or the user's home wiring changes. Therefore, the single-upgrade home gateway product is no longer suitable, and it is necessary to change the home gateway products of different uplink modes.
目前很多电信运营商都会有需求,要求一种家庭网关产品能支持多种上行 方式。 此场景能够降低运营商成本, 对常见的一些上行方式的设备统一备货。 为了方便电信运营商备货, 备一种货可满足不同家庭用户的布线情况, 特提 出一种实现多上行方式链路自动探查的方法。 发明内容  At present, many telecom operators have demand, and a home gateway product is required to support multiple uplink modes. This scenario can reduce the cost of operators and unconditionally stock up the equipment of some common uplink methods. In order to facilitate the telecommunication operators to stock up, a cargo can meet the wiring situation of different home users, and a method for realizing automatic detection of multiple uplink links is proposed. Summary of the invention
本发明要解决的技术问题是提供一种在家庭网关中实现多上行链路自动 探查的系统与方法。  The technical problem to be solved by the present invention is to provide a system and method for implementing multi-uplink automatic probing in a home gateway.
为解决上述技术问题, 本发明提供了一种实现多上行方式链路自动探查 的方法, 应用于支持多种上行方式的家庭网关中, 所述方法包括:  In order to solve the above technical problem, the present invention provides a method for implementing automatic detection of a multi-uplink mode, which is applied to a home gateway supporting multiple uplink modes, and the method includes:
在当前使用的上行方式未确定时,监测内网侧多种上行方式的底层链路; 监测到可选择使用的上行方式的底层链路建立成功时, 启用所述可选择 使用的上行方式的外网连接配置及应用, 所述应用包含本家庭网关预设的基 本应用;  When the currently used uplink mode is not determined, the bottom layer link of the multiple uplink modes on the intranet side is monitored; when the bottom layer link of the uplink mode that can be selected for use is successfully established, the selectable uplink mode is enabled. The network connection configuration and application, the application includes a basic application preset by the home gateway;
所述可选择使用的上行方式各应用的外网连接分别上网拨号, 若其中的 所述基本应用的外网连接拨号成功, 将所述可选择使用的上行方式确定为当 前使用的上行方式。  The external network connection of each application in the uplink mode can be dialed on the Internet respectively. If the external network connection of the basic application is successfully dialed, the uplink mode that can be selected for use is determined as the current uplink mode.
优选的, 在当前使用的上行方式未确定时, 定时启用底层链路已建立的一种或多 种上行方式的外网连接配置及应用; Preferably, When the currently used uplink mode is not determined, the external network connection configuration and application of one or more uplink modes that the underlying link has been established are periodically enabled;
所述底层链路已建立的一种或多种上行方式各应用的外网连接分别上网 拨号, 若有上行方式的所述基本应用的外网连接拨号成功, 将最先拨号成功 的一种上行方式确定为当前使用的上行方式。  The external network connection of each application of the one or more uplink modes of the underlying link is respectively dialed on the Internet. If the external network connection of the basic application in the uplink mode is successfully dialed, the uplink that is the first to be successfully dialed is successfully performed. The mode is determined as the currently used uplink mode.
优选的, 所述方法还包括:  Preferably, the method further includes:
所述可选择使用的上行方式各应用的外网连接分别上网拨号时, 若其中 的所述基本应用的外网连接拨号失败, 维持当前使用的上行方式为未确定。  When the external network connection of each application in the uplink mode can be dialed, if the external network connection of the basic application fails to be dialed, the current uplink mode is not determined.
优选的, 所述方法还包括:  Preferably, the method further includes:
在当前使用的上行方式已确定时, 在内网侧继续监测所述当前使用的上 行方式的底层链路, 如监测到所述当前使用的上行方式的底层链路断开, 则 将当前使用的上行方式置为未确定。  When the currently used uplink mode has been determined, the intranet side continues to monitor the underlying link of the currently used uplink mode, and if the underlying link of the currently used uplink mode is detected to be disconnected, the currently used The uplink mode is set to undetermined.
优选的, 所述方法还包括:  Preferably, the method further includes:
在当前使用的上行方式已确定时, 若存在非当前使用的上行方式已建立 的底层链路, 则关闭所述底层链路; 若存在非当前使用的上行方式已启用的 配置和应用, 则关闭所述配置和应用; 若存在非当前使用的上行方式的外网 连接, 则关闭所述外网连接。  When the currently used uplink mode is determined, if there is an underlying link that is not established in the uplink mode, the underlying link is closed; if there is a configuration and application that is not currently used in the uplink mode, the system is closed. The configuration and application; if there is an external network connection that is not currently used in the uplink mode, the external network connection is closed.
优选的,所述可选择使用的上行方式各应用的外网连接分别上网拨号时, 所述基本应用的外网连接先进行拨号, 如拨号成功, 其他应用的外网连接再 上网拨号。  Preferably, when the external network connection of each application of the uplink mode is separately dialed, the external network connection of the basic application is dialed first, for example, the dialing is successful, and the external network connection of other applications is dialed again.
优选的,  Preferably,
在当前使用的上行方式未确定时, 若监测到可选择使用的多种上行方式 的底层链路建立成功, 按以下方式处理:  If the current uplink mode is not determined, if the underlying link of multiple uplink modes that can be selected for use is successfully established, it is processed as follows:
依次进行或者交叉进行所述多种上行方式外网连接的上网拨号, 在一种 上行方式外网连接上网拨号之前, 启用该上行方式的外网连接配置及应用; 若一种上行方式基本应用的外网连接首先拨号成功, 将首先拨号成功的 所述上行方式确定为当前使用的上行方式。 优选的, 所述方法还包括: Performing the online dialing of the plurality of uplink mode external network connections in sequence, or enabling the external network connection configuration and application of the uplink mode before connecting the uplink mode to the external network connection; if an uplink mode is basically applied The external network connection is successfully dialed first, and the uplink mode in which the first dialing is successful is determined as the currently used uplink mode. Preferably, the method further includes:
预先配置或由用户配置可选择使用的多种上行方式的优先顺序; 其中, 在当前使用的上行方式未确定时, 若监测到可选择使用的多种上 行方式的底层链路建立成功, 按照所述优先顺序依次进行所述多种上行方式 外网连接的上网拨号。  Pre-configured or configured by the user to select a plurality of uplink mode priorities; wherein, when the currently used uplink mode is not determined, if the underlying link of the multiple uplink modes that can be selected for use is successfully established, The priority order sequentially performs the online dialing of the plurality of uplink mode external network connections.
优选的,  Preferably,
所述可选择使用的上行方式默认为本家庭网关支持的所有上行方式, 监 测到任何一种上行方式的底层链路建立成功时, 均启用所述上行方式的外网 连接配置及应用; 或者  The uplink mode that can be selectively used is the default of all the uplink modes supported by the home gateway, and the uplink network connection configuration and application of the uplink mode are enabled when the uplink link of any uplink mode is successfully established.
所述可选择使用的上行方式预先配置在产品中或由用户配置, 监测到一 种上行方式的底层链路建立成功时, 先判断该上行方式是否配置的可选择使 用的上行方式, 如是, 才启用所述上行方式的外网连接配置及应用。  The optional uplink mode is pre-configured in the product or configured by the user. When the uplink link of the uplink mode is successfully established, it is determined whether the uplink mode configured for the uplink mode is selected, and if yes, Enable the external network connection configuration and application of the uplink mode.
本发明还提供一种可实现多上行方式链路自动探查的家庭网关, 其包括 多个底层链路驱动模块, 自动探查策略模块, 以及广域网 (WAN)配置模块; 各个底层链路驱动模块, 分别设置为监测内网侧一种上行方式的底层链 路并将监测到的链路建立成功或断开的消息上报自动探查策略模块;  The invention also provides a home gateway capable of realizing automatic detection of multiple uplink modes, comprising a plurality of underlying link driver modules, an automatic probing policy module, and a wide area network (WAN) configuration module; each of the underlying link driver modules, respectively The device is configured to monitor an underlying link of an uplink mode on the intranet side and report the successfully established or disconnected link to the automatic probing policy module.
所述自动探查策略模块, 包括消息处理单元和上行方式确定单元: 所述消息处理单元设置为: 在当前使用的上行方式未确定时, 如收到可 选择使用的上行方式的底层链路建立成功的消息上报, 则通知所述 WAN配置 模块启用所述上行方式的外网连接配置及应用;  The automatic probing policy module includes a message processing unit and an uplink mode determining unit: the message processing unit is configured to: when the currently used uplink mode is not determined, if the uplink mode of the uplink mode that is selectable to be used is successfully established, The message is reported to notify the WAN configuration module to enable the external network connection configuration and application of the uplink mode;
所述上行方式确定单元设置为: 在当前使用的上行方式未确定时, 如获 知上行方式的基本应用的外网连接拨号成功, 则将该上行方式确定为当前使 用的上行方式;  The uplink mode determining unit is configured to: when the uplink mode of the basic application in the uplink mode is successfully dialed, the uplink mode is determined to be the currently used uplink mode;
所述 WAN配置处理模块, 包括:  The WAN configuration processing module includes:
启用单元, 其设置为: 根据所述自动探查策略模块的通知启用相应上行 方式的外网连接配置及应用; 以及  The enabling unit is configured to: enable the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module;
连接单元, 其设置为: 对启用的上行方式各应用的外网连接进行上网拨 号, 并将拨号结果通知所述自动探查策略模块。 Connection unit, which is set to: dial the Internet connection of each application of the enabled uplink mode No., and the dialing result is notified to the automatic probing policy module.
优选的, 所述自动探查策略模块还包括: 定时通知单元, 其设置为: 在 当前使用的上行方式未确定时, 定时通知所述 WAN配置处理模块启用底层链 路已建立的一种或多种上行方式的外网连接配置及应用。  Preferably, the automatic profiling policy module further includes: a timing notification unit, configured to: when the currently used uplink mode is not determined, periodically notify the WAN configuration processing module to enable one or more of the following establishments of the underlying link Uplink external network connection configuration and application.
优选的, 所述上行方式确定单元, 还设置为: 在当前使用的上行方式未 确定时, 如获知可选择使用的上行方式的基本应用的外网连接拨号失败, 则 维持当前使用的上行方式为未确定。  Preferably, the uplink mode determining unit is further configured to: when the currently used uplink mode is not determined, if the external network connection dialing of the basic application of the uplink mode that is selectable to be used is failed, the current uplink mode is maintained as Not determined.
优选的, 所述消息处理单元, 还设置为: 在当前使用的上行方式已确定 时, 如收到当前使用的上行方式的底层链路断开的消息上报, 则将当前使用 的上行方式置为未确定。  Preferably, the message processing unit is further configured to: when the currently used uplink mode is determined, if the message of the underlying link disconnection of the currently used uplink mode is received, the currently used uplink mode is set to Not determined.
优选的,  Preferably,
所述自动探查策略模块还包括: 关闭单元, 其设置为: 在当前使用的上 行方式已确定时, 若存在非当前使用的上行方式已建立的底层链路, 则通知 相应的底层链路驱动模块关闭所述底层链路; 若存在非当前使用的上行方式 已启用的配置和应用, 则通知 WAN配置模块关闭所述配置和应用; 若存在非 当前使用的上行方式的外网连接, 则通知 WAN配置模块关闭所述外网连接; 所述底层链路驱动模块还设置为: 根据所述自动探查策略模块的通知关 闭相应上行方式的底层链路;  The automatic profiling policy module further includes: a shutting down unit, configured to: notify the corresponding underlying link driving module if there is an underlying link that is not currently used in the uplink mode when the currently used uplink mode is determined Close the underlying link; if there is a configuration and application that is not currently used in the uplink mode, notify the WAN configuration module to close the configuration and application; if there is an external network connection that is not currently used in the uplink mode, notify the WAN The configuration module closes the external network connection; the bottom link driver module is further configured to: close the underlying link of the corresponding uplink mode according to the notification of the automatic probing policy module;
所述启用单元还设置为: 根据所述自动探查策略模块的通知关闭相应上 行方式的外网连接配置及应用;  The enabling unit is further configured to: close the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module;
所述连接单元还设置为: 根据所述自动探查策略模块的通知关闭相应上 行方式的外网连接。  The connecting unit is further configured to: close the external network connection of the corresponding uplink mode according to the notification of the automatic probing policy module.
优选的, 所述消息处理单元还设置为: 将本家庭网关支持的所有上行方 式默认为所述可选择使用的上行方式; 或者, 将预先配置的一种或多种上行 方式作为所述可选择使用的上行方式。  Preferably, the message processing unit is further configured to: default all the uplink modes supported by the home gateway to the selectable uplink mode; or: use one or more uplink modes configured in advance as the selectable The way to use the uplink.
釆用上述家庭网关及其实现多上行链路自动探查方法, 备一种家庭网关 即可满足不同家庭用户的布线情况, 并且, 还可以实现多上行链路自动探查, 减少时间损耗, 降低家庭网关手动配置的繁杂性, 在家庭网关中实现多上行 链路的自动切换, 提高了上行切换的速度。 附图概述 The above-mentioned home gateway and the multi-uplink automatic probing method are implemented, and a home gateway can be prepared to meet the wiring situation of different home users, and multi-uplink automatic probing can also be realized. It reduces the time loss, reduces the complexity of manual configuration of the home gateway, realizes automatic switching of multiple uplinks in the home gateway, and improves the speed of uplink switching. BRIEF abstract
图 1是本发明实施例家庭网关的功能架构图;  1 is a functional architecture diagram of a home gateway according to an embodiment of the present invention;
图 2是本发明实施例方法的主要流程图;  2 is a main flow chart of a method according to an embodiment of the present invention;
图 3是本发明应用示例 DSL、 ETH上行链路自动探查的状态转换示意图。 本发明的较佳实施方式  FIG. 3 is a schematic diagram of state transition of an DSL, ETH uplink automatic probe according to an application example of the present invention. Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本实施例提供了一种可实现多上行链路自动探查的家庭网关, 如图 1所 示, 包括多个链路驱动模块, 自动探查策略模块和 WAN配置模块, 其中: 各个底层链路驱动模块, 分别设置为: 监测内网侧一种上行方式的底层 链路并将监测到的链路建立成功或断开的消息上报自动探查策略模块; 还可 设置为根据所述自动探查策略模块的通知关闭相应上行方式的底层链路。  The embodiment provides a home gateway capable of realizing multi-uplink automatic detection. As shown in FIG. 1 , the system includes multiple link driving modules, an automatic probing policy module, and a WAN configuration module, where: each underlying link driving module , respectively, are set to: monitor the underlying link of the uplink mode on the intranet side and report the successfully established or disconnected message to the automatic probe policy module; or may be set to notify according to the automatic probe policy module Close the underlying link of the corresponding uplink mode.
所述自动探查策略模块, 又包括:  The automatic probing strategy module further includes:
消息处理单元, 设置为: 在当前使用的上行方式未确定时, 如收到某种 可选择使用的上行方式的底层链路建立成功的消息上报, 则通知广域网 (WAN)配置模块启用所述上行方式的外网连接配置及应用; 还可在当前使用 的上行方式已确定时, 如收到当前使用的上行方式的底层链路断开的消息上 报, 则将当前使用的上行方式置为未确定。 其中, 消息处理单元可以将本家 庭网关支持的所有上行方式默认为所述可选择使用的上行方式; 或者, 将预 先配置的一种或多种上行方式作为所述可选择使用的上行方式。  The message processing unit is configured to: notify the wide area network (WAN) configuration module to enable the uplink when the currently used uplink mode is not determined, if a message reporting that the uplink mode of the uplink mode is successfully selected is received, The external network connection configuration and application of the mode; when the currently used uplink mode is determined, if the message of the underlying link disconnection of the currently used uplink mode is received, the currently used uplink mode is determined to be undetermined. . The message processing unit may default all the uplink modes supported by the home gateway to the selectable uplink mode; or use one or more uplink modes configured in advance as the uplink mode that can be used.
上行方式确定单元, 设置为: 在当前使用的上行方式未确定时, 如获知 某种上行方式的基本应用的外网连接拨号成功, 则将所述上行方式确定为当 前使用的上行方式; 还可在当前使用的上行方式未确定时, 如获知某种上行 方式的基本应用的外网连接拨号失败,则维持当前使用的上行方式为未确定。 定时通知单元, 设置为: 在当前使用的上行方式未确定时, 定时通知所 述 WAN配置处理模块启用底层链路已建立的一种或多种上行方式的外网连 接配置及应用。 该单元可选。 The uplink mode determining unit is configured to: when the currently used uplink mode is not determined, if the external network connection of the basic application of the certain uplink mode is successfully dialed, the uplink mode is determined to be the currently used uplink mode; When the currently used uplink mode is not determined, if the external network connection dialing of the basic application of an uplink mode is known to be failed, the uplink mode currently used is not determined. The timing notification unit is configured to: when the currently used uplink mode is not determined, periodically notify the WAN configuration processing module to enable one or more uplink mode external network connection configurations and applications that have been established on the underlying link. This unit is optional.
关闭单元, 设置为: 在当前使用的上行方式已确定时, 若存在非当前使 用的上行方式已建立的底层链路, 则通知相应的底层链路驱动模块关闭所述 底层链路; 若存在非当前使用的上行方式已启用的配置和应用, 则通知 WAN 配置模块关闭所述配置和应用; 若存在非当前使用的上行方式的外网连接, 则通知 WAN配置模块关闭所述外网连接。 该单元可选。  The unit is closed, and is set to: when the currently used uplink mode is determined, if there is an underlying link that is not established in the uplink mode, the corresponding underlying link driver module is notified to close the underlying link; If the currently configured uplink mode enabled configuration and application, the WAN configuration module is notified to close the configuration and application; if there is an external network connection that is not currently used, the WAN configuration module is notified to close the external network connection. This unit is optional.
所述 WAN配置处理模块, 又包括:  The WAN configuration processing module further includes:
启用单元, 设置为: 根据所述自动探查策略模块的通知启用相应上行方 式的外网连接配置及应用; 还可设置为根据所述自动探查策略模块的通知关 闭相应上行方式的外网连接配置及应用。  The enabling unit is configured to: enable the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module; or be configured to close the external network connection configuration of the corresponding uplink mode according to the notification of the automatic probing policy module application.
连接单元,设置为: 对启用的上行方式各应用的外网连接进行上网拨号, 并将拨号结果通知所述自动探查策略模块。 还可设置为根据所述自动探查策 略模块的通知关闭外网连接。  The connection unit is configured to: dial the Internet connection of the external network connection of each application in the enabled uplink mode, and notify the automatic discovery policy module of the dialing result. It can also be set to close the external network connection according to the notification of the automatic probe policy module.
本实施例提供的在家庭网关中实现多上行链路自动探查的方法如图 2所 示, 包括: The method for implementing the multi-uplink automatic detection in the home gateway provided in this embodiment is as shown in FIG. 2, and includes:
步骤 110, 在当前使用的上行方式未确定时, 监测内网侧多种上行方式 的底层链路;  Step 110: When the currently used uplink mode is not determined, monitor the bottom link of multiple uplink modes on the intranet side;
步骤 120, 监测到某种可选择使用的上行方式的底层链路建立成功时, 启用所述上行方式的外网连接配置及应用, 所述应用包含本家庭网关预设的 基本应用;  Step 120: When the uplink link of the uplink mode is selected to be successfully established, the external network connection configuration and application of the uplink mode are enabled, and the application includes a basic application preset by the home gateway.
步骤 130, 所述上行方式各应用的外网连接分别上网拨号, 若其中的所 述基本应用的外网连接拨号成功, 将所述上行方式确定为当前使用的上行方 式。  Step 130: The external network connection of each application in the uplink mode is respectively dialed on the Internet. If the external network connection of the basic application is successfully dialed, the uplink mode is determined as the currently used uplink mode.
本步骤中, 各应用的外网连接分别上网拨号时, 基本应用的外网连接先 进行拨号, 如拨号成功, 其他应用的外网连接再上网拨号。 In this step, when the external network connection of each application is dialed on the Internet respectively, the external network connection of the basic application is first. Dial the dialing, if the dialing is successful, the external network connection of other applications is dialed on the Internet.
如果上述上行方式各应用的外网连接分别上网拨号时, 其中的基本应用 的外网连接拨号失败, 则维持当前使用的上行方式为未确定。 此时, 可以定 时启用底层链路已建立的一种或多种上行方式的外网连接配置及应用, 所述 上行方式各应用的外网连接分别上网拨号, 若有上行方式的基本应用的外网 较佳地, 在当前使用的上行方式已确定时, 若存在非当前使用的上行方 式已建立的底层链路, 则关闭所述底层链路; 若存在非当前使用的上行方式 已启用的配置和应用, 则关闭所述配置和应用; 若存在非当前使用的上行方 式的外网连接, 则关闭所述外网连接。  If the external network connection of each application in the uplink mode is dial-up, and the external network connection of the basic application fails to be dialed, the current uplink mode is not determined. In this case, the external network connection configuration and application of one or more uplink modes that have been established on the underlying link can be enabled periodically, and the external network connection of each application in the uplink mode is respectively dialed on the Internet, and if there is an uplink application, Preferably, when the currently used uplink mode is determined, if there is an underlying link that is not currently used in the uplink mode, the lower layer link is closed; if there is a configuration that is not currently used, the uplink mode is enabled. And the application closes the configuration and the application; if there is an external network connection that is not currently used in the uplink mode, the external network connection is closed.
在一个家庭网关同时可以接入多种上行方式的场景下, 在当前使用的上 行方式未确定时,若监测到可选择使用的多种上行方式的底层链路建立成功, 可以按以下方式处理:  In a scenario where a home gateway can access multiple uplink modes at the same time, if the current uplink mode is not determined, if the underlying link of multiple uplink modes that can be selected for use is successfully established, it can be processed as follows:
依次进行或者交叉进行所述多种上行方式外网连接的上网拨号, 某种上 行方式外网连接上网拨号之前, 启用所述上行方式的外网连接配置及应用; 若某种上行方式基本应用的外网连接首先拨号成功, 将所述上行方式确 定为当前使用的上行方式。  Performing the online dialing of the plurality of uplink mode external network connections in sequence, or performing an uplink network connection configuration and application of the uplink mode before the uplink mode is connected to the external network; if a certain uplink mode is basically applied The external network connection is successfully dialed first, and the uplink mode is determined as the currently used uplink mode.
优选的, 可以预先配置或由用户配置可选择使用的多种上行方式的优先 顺序; 在当前使用的上行方式未确定时, 若监测到可选择使用的多种上行方 式的底层链路建立成功, 按照所述优先顺序依次进行所述多种上行方式外网 连接的上网拨号。  Preferably, the priority order of the multiple uplink modes that can be selected and used by the user may be pre-configured or configured by the user; if the uplink mode of the currently used uplink mode is not determined, if the underlying link of the multiple uplink modes that can be selected for use is successfully established, Performing online dialing of the plurality of uplink mode external network connections in sequence according to the priority order.
下面用应用示例对本发明的实施方式进行更详细地说明。 Embodiments of the present invention will be described in more detail below with application examples.
应用示例一  Application example one
本示例以支持数字用户线路(Digital Subscriber Line , DSL ) , 以太网 ( EtherNet, ETH ) 两种上行方式的家庭网关自动探查上行方式为例, 描述 多上行链路自动探查的实现。 家庭网关中配置两种上行方式, DSL上行和 ETH上行, 上行链路初始状 态为未确定 (SPOOF UP)状态。 家庭网关可以自动探查接入何种上行布线环 境。 请同时参照图 3所示的上行链路状态转换。 This example describes the implementation of multi-uplink automatic probing by taking an example of automatic detection of the uplink mode by the home gateway supporting the Digital Subscriber Line (DSL) and Ethernet (EtherNet, ETH) uplink modes. Two uplink modes are configured in the home gateway, DSL uplink and ETH uplink, and the initial state of the uplink is an undetermined (SPOOF UP) state. The home gateway can automatically detect which uplink wiring environment to access. Please refer to the uplink state transition shown in FIG. 3 at the same time.
如果家庭网关接入 DSL布线环境:  If the home gateway is connected to the DSL cabling environment:
家庭网关接入 DSL布线环境时, DSL链路驱动模块会上报链路 UP消息, 自动探查策略模块收到后通知 WAN配置模块准备 DSL上行中的 WAN连接 配置拨号, 此时产品链路状态置为 SPOOF UP状态;  When the home gateway is connected to the DSL cabling environment, the DSL link driver module reports the link UP message. After the automatic probe policy module receives the notification, the WAN configuration module is notified to prepare the WAN connection configuration dial in the DSL uplink. SPOOF UP status;
如果家庭网关通过 DSL上行 WAN连接的基本应用上网拨号成功, 则把 上行链路状态置为 DSL状态,此时运行 DSL上行配置中的业务; 上述基本应 用可以预设在家庭网关中, 如可以设置为浏览网页。 此时, 如果 DSL的另一 应用如网络电话 ( Voice over Internet Protocol, VoIP ) 的外网连接拨号成功, 而浏览网页的外网连接拨号不成功, 也不能将上行链路状态置为 DSL状态。  If the home gateway successfully dials the Internet through the basic application of the DSL uplink WAN connection, the uplink state is set to the DSL state, and the service in the DSL uplink configuration is run at this time; the basic application may be preset in the home gateway, for example, To browse the web. At this time, if another application of the DSL, such as the voice over Internet Protocol (VoIP) external network connection, is successfully dialed, and the external network connection for browsing the webpage is unsuccessful, the uplink state cannot be set to the DSL state.
上行链路状态为 DSL状态时, 如果此时 DSL链路断开, 则家庭网关将 上行链路状态重新置为 SPOOF UP状态。  When the uplink status is DSL status, if the DSL link is disconnected at this time, the home gateway resets the uplink status to the SPOOF UP state.
如果家庭网关接入 ETH布线环境:  If the home gateway is connected to the ETH cabling environment:
家庭网关接入 ETH布线环境时, ETH链路驱动模块会上报链路 UP消息, 自动探查策略模块收到后通知 WAN配置模块准备 ETH上行中的 WAN连接 配置拨号, 此时产品上行链路状态置为 SPOOF UP状态;  When the home gateway accesses the ETH cabling environment, the ETH link driver module reports the link UP message. After receiving the automatic probe policy module, the WAN configuration module notifies the WAN configuration module to prepare the WAN connection configuration dialing in the ETH uplink. For the SPOOF UP status;
如果产品通过 ETH上行 WAN的基本应用连接上网拨号成功, 则把产品 上行链路状态置为 ETH状态, 此时运行 ETH上行配置中的业务;  If the product is successfully dialed through the basic application of the ETH uplink WAN, the uplink state of the product is set to the ETH state, and the service in the ETH uplink configuration is run.
上行链路状态置为 ETH状态时,如果此时 ETH链路断开, 则家庭网关将 上行链路状态重新置为 SPOOF UP状态。  When the uplink state is set to the ETH state, if the ETH link is disconnected at this time, the home gateway resets the uplink state to the SPOOF UP state.
如果家庭网关接入 DSL布线和 ETH布线同时存在的环境:  If the home gateway accesses both the DSL cabling and the ETH cabling:
当家庭网关上行链路状态为 SPOOF UP状态时, 如果此时探查到多种上 行链路同时接入, 那么家庭网关将尝试启用这几种可用链路, 查看这几种链 路上的基本应用的连接是否能拨号成功。 基本应用最先拨号成功的链路, 将 确定为当前使用的上行方式, 直至此链路断开为止。  When the home gateway uplink state is the SPOOF UP state, if multiple uplinks are simultaneously accessed, the home gateway will try to enable these available links to view the basic applications on these links. Whether the connection can be dialed successfully. The link that the basic application first dials successfully will be determined as the currently used uplink mode until the link is disconnected.
在该场景下, 当家庭网关的上行链路状态置为 DSL状态时, 如果 ETH 链路和 ETH上行中的 WAN连接及相关应用没有关闭, 则自动探查策略模块 可以通知 WAN配置模块关闭 ETH上行中所有 WAN连接及相关业务, 通知 ETH链路驱动模块关闭 ETH链路。 同理, 当上行链路状态置为 ETH状态时, 自动探查策略模块可以通知 WAN配置模块关闭 DSL上行中所有 WAN连接 及相关业务; 通知 DSL链路驱动模块关闭 DSL链路。 In this scenario, when the uplink status of the home gateway is set to the DSL state, if ETH If the WAN connection and the related application in the ETH uplink are not closed, the automatic probe policy module can notify the WAN configuration module to close all WAN connections and related services in the ETH uplink, and notify the ETH link driver module to close the ETH link. Similarly, when the uplink state is set to the ETH state, the automatic probing policy module can notify the WAN configuration module to close all WAN connections and related services in the DSL uplink; and notify the DSL link driver module to close the DSL link.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现, 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may use software functions. The form of the module is implemented. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。  The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性 Industrial applicability
釆用上述家庭网关及其实现多上行链路自动探查方法, 备一种家庭网关 即可满足不同家庭用户的布线情况, 并且, 还可以实现多上行链路自动探查, 减少时间损耗, 降低家庭网关手动配置的繁杂性, 在家庭网关中实现多上行 链路的自动切换, 提高了上行切换的速度。  The above-mentioned home gateway and the multi-uplink automatic probing method are implemented, and a home gateway can be used to meet the wiring situation of different home users, and multi-uplink automatic probing can be realized, reducing time loss and reducing the home gateway. The complexity of manual configuration enables automatic switching of multiple uplinks in the home gateway, which improves the speed of uplink switching.

Claims

权 利 要 求 书 Claim
1、 一种实现多上行方式链路自动探查的方法, 应用于支持多种上行方 式的家庭网关中, 所述方法包括: A method for implementing automatic detection of a multi-uplink link is applied to a home gateway supporting multiple uplinks, and the method includes:
在当前使用的上行方式未确定时,监测内网侧多种上行方式的底层链路; 监测到可选择使用的上行方式的底层链路建立成功时, 启用所述可选择 使用的上行方式的外网连接配置及应用, 所述应用包含本家庭网关预设的基 本应用;  When the currently used uplink mode is not determined, the bottom layer link of the multiple uplink modes on the intranet side is monitored; when the bottom layer link of the uplink mode that can be selected for use is successfully established, the selectable uplink mode is enabled. The network connection configuration and application, the application includes a basic application preset by the home gateway;
所述可选择使用的上行方式各应用的外网连接分别上网拨号, 若其中的 所述基本应用的外网连接拨号成功, 将所述可选择使用的上行方式确定为当 前使用的上行方式。  The external network connection of each application in the uplink mode can be dialed on the Internet respectively. If the external network connection of the basic application is successfully dialed, the uplink mode that can be selected for use is determined as the current uplink mode.
2、 如权利要求 1所述的方法, 其中: 2. The method of claim 1 wherein:
在当前使用的上行方式未确定时, 定时启用底层链路已建立的一种或多 种上行方式的外网连接配置及应用;  When the currently used uplink mode is not determined, the external network connection configuration and application of one or more uplink modes that the underlying link has been established are periodically enabled;
所述底层链路已建立的一种或多种上行方式各应用的外网连接分别上网 拨号, 若有上行方式的所述基本应用的外网连接拨号成功, 将最先拨号成功 的一种上行方式确定为当前使用的上行方式。  The external network connection of each application of the one or more uplink modes of the underlying link is respectively dialed on the Internet. If the external network connection of the basic application in the uplink mode is successfully dialed, the uplink that is the first to be successfully dialed is successfully performed. The mode is determined as the currently used uplink mode.
3、 如权利要求 1或 2所述的方法, 所述方法还包括: 3. The method of claim 1 or 2, the method further comprising:
所述可选择使用的上行方式各应用的外网连接分别上网拨号时, 若其中 的所述基本应用的外网连接拨号失败, 维持当前使用的上行方式为未确定。  When the external network connection of each application in the uplink mode can be dialed, if the external network connection of the basic application fails to be dialed, the current uplink mode is not determined.
4、 如权利要求 1所述的方法, 所述方法还包括: 4. The method of claim 1, the method further comprising:
在当前使用的上行方式已确定时, 在内网侧继续监测所述当前使用的上 行方式的底层链路, 如监测到所述当前使用的上行方式的底层链路断开, 则 将当前使用的上行方式置为未确定。  When the currently used uplink mode has been determined, the intranet side continues to monitor the underlying link of the currently used uplink mode, and if the underlying link of the currently used uplink mode is detected to be disconnected, the currently used The uplink mode is set to undetermined.
5、 如权利要求 1或 4所述的方法, 所述方法还包括: 5. The method of claim 1 or 4, the method further comprising:
在当前使用的上行方式已确定时, 若存在非当前使用的上行方式已建立 的底层链路, 则关闭所述底层链路; 若存在非当前使用的上行方式已启用的 配置和应用, 则关闭所述配置和应用; 若存在非当前使用的上行方式的外网 连接, 则关闭所述外网连接。 When the currently used uplink mode has been determined, if there is a non-currently used uplink mode established The underlying link is closed, and the underlying link is closed; if there is a configuration and an application that is not currently used in the uplink mode, the configuration and application are closed; if there is an external network connection that is not currently used in the uplink mode, Close the external network connection.
6、 如权利要求 1或 2或 4所述的方法, 其中: 6. The method of claim 1 or 2 or 4, wherein:
所述可选择使用的上行方式各应用的外网连接分别上网拨号时, 所述基 本应用的外网连接先进行拨号, 如拨号成功, 其他应用的外网连接再上网拨 号。  When the external network connection of each application in the uplink mode is separately dialed, the external network connection of the basic application is dialed first, for example, the dialing is successful, and the external network connection of other applications is dialed.
7、 如权利要求 1或 2或 4所述的方法, 其中: 7. The method of claim 1 or 2 or 4, wherein:
在当前使用的上行方式未确定时, 若监测到可选择使用的多种上行方式 的底层链路建立成功, 按以下方式处理:  If the current uplink mode is not determined, if the underlying link of multiple uplink modes that can be selected for use is successfully established, it is processed as follows:
依次进行或者交叉进行所述多种上行方式外网连接的上网拨号, 在一种 上行方式外网连接上网拨号之前, 启用该上行方式的外网连接配置及应用; 若一种上行方式基本应用的外网连接首先拨号成功, 将首先拨号成功的 所述上行方式确定为当前使用的上行方式。  Performing the online dialing of the plurality of uplink mode external network connections in sequence, or enabling the external network connection configuration and application of the uplink mode before connecting the uplink mode to the external network connection; if an uplink mode is basically applied The external network connection is successfully dialed first, and the uplink mode in which the first dialing is successful is determined as the currently used uplink mode.
8、 如权利要求 7所述的方法, 所述方法还包括: 8. The method of claim 7, the method further comprising:
预先配置或由用户配置可选择使用的多种上行方式的优先顺序; 其中, 在当前使用的上行方式未确定时, 若监测到可选择使用的多种上 行方式的底层链路建立成功, 按照所述优先顺序依次进行所述多种上行方式 外网连接的上网拨号。  Pre-configured or configured by the user to select a plurality of uplink mode priorities; wherein, when the currently used uplink mode is not determined, if the underlying link of the multiple uplink modes that can be selected for use is successfully established, The priority order sequentially performs the online dialing of the plurality of uplink mode external network connections.
9、 如权利要求 1所述的方法, 其中: 9. The method of claim 1 wherein:
所述可选择使用的上行方式默认为本家庭网关支持的所有上行方式, 监 测到任何一种上行方式的底层链路建立成功时, 均启用所述上行方式的外网 连接配置及应用; 或者  The uplink mode that can be selectively used is the default of all the uplink modes supported by the home gateway, and the uplink network connection configuration and application of the uplink mode are enabled when the uplink link of any uplink mode is successfully established.
所述可选择使用的上行方式预先配置在产品中或由用户配置, 监测到一 种上行方式的底层链路建立成功时, 先判断该上行方式是否配置的可选择使 用的上行方式, 如是, 才启用所述上行方式的外网连接配置及应用。 The optional uplink mode is pre-configured in the product or configured by the user. When the uplink link of the uplink mode is successfully established, it is determined whether the uplink mode configured for the uplink mode is selected, and if yes, Enable the external network connection configuration and application of the uplink mode.
10、 一种可实现多上行方式链路自动探查的家庭网关,其包括多个底层 链路驱动模块, 自动探查策略模块, 以及广域网 (WAN)配置模块; 10. A home gateway capable of automatically detecting multiple uplink links, comprising a plurality of underlying link driver modules, an automatic probing policy module, and a wide area network (WAN) configuration module;
各个底层链路驱动模块, 分别设置为监测内网侧一种上行方式的底层链 路并将监测到的链路建立成功或断开的消息上报自动探查策略模块;  Each of the underlying link driver modules is configured to monitor an underlying link of an uplink mode on the intranet side and report the successfully established or disconnected link to the automatic probe policy module;
所述自动探查策略模块, 包括消息处理单元和上行方式确定单元: 所述消息处理单元设置为: 在当前使用的上行方式未确定时, 如收到可 选择使用的上行方式的底层链路建立成功的消息上报, 则通知所述 WAN配 置模块启用所述上行方式的外网连接配置及应用;  The automatic probing policy module includes a message processing unit and an uplink mode determining unit: the message processing unit is configured to: when the currently used uplink mode is not determined, if the uplink mode of the uplink mode that is selectable to be used is successfully established, The message is reported to notify the WAN configuration module to enable the external network connection configuration and application of the uplink mode;
所述上行方式确定单元设置为: 在当前使用的上行方式未确定时, 如获 知上行方式的基本应用的外网连接拨号成功, 则将该上行方式确定为当前使 用的上行方式;  The uplink mode determining unit is configured to: when the uplink mode of the basic application in the uplink mode is successfully dialed, the uplink mode is determined to be the currently used uplink mode;
所述 WAN配置处理模块, 包括:  The WAN configuration processing module includes:
启用单元, 其设置为: 根据所述自动探查策略模块的通知启用相应上行 方式的外网连接配置及应用; 以及  The enabling unit is configured to: enable the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module;
连接单元, 其设置为: 对启用的上行方式各应用的外网连接进行上网拨 号, 并将拨号结果通知所述自动探查策略模块。  The connection unit is configured to: perform an Internet dialing on the external network connection of each application in the enabled uplink mode, and notify the automatic discovery policy module of the dialing result.
11、 如权利要求 10所述的家庭网关, 其中: 11. The home gateway of claim 10, wherein:
所述自动探查策略模块还包括: 定时通知单元, 其设置为: 在当前使用 的上行方式未确定时, 定时通知所述 WAN配置处理模块启用底层链路已建 立的一种或多种上行方式的外网连接配置及应用。  The automatic profiling policy module further includes: a timing notification unit, configured to: when the currently used uplink mode is not determined, periodically notify the WAN configuration processing module to enable one or more uplink modes that have been established by the underlying link External network connection configuration and application.
12、 如权利要求 10或 11所述的家庭网关, 其中: 12. The home gateway of claim 10 or 11, wherein:
所述上行方式确定单元, 还设置为: 在当前使用的上行方式未确定时, 如获知可选择使用的上行方式的基本应用的外网连接拨号失败, 则维持当前 使用的上行方式为未确定。  The uplink mode determining unit is further configured to: when the currently used uplink mode is not determined, if the external network connection dialing of the basic application of the uplink mode that is selectable is obtained, the uplink mode that is currently used is maintained as undetermined.
13、 如权利要求 10所述的家庭网关, 其中: 13. The home gateway of claim 10, wherein:
所述消息处理单元, 还设置为: 在当前使用的上行方式已确定时, 如收 到当前使用的上行方式的底层链路断开的消息上报, 则将当前使用的上行方 式置为未确定。 The message processing unit is further configured to: when the currently used uplink mode has been determined, If the message of the underlying link disconnection of the currently used uplink mode is reported, the currently used uplink mode is set to be undetermined.
14、 如权利要求 10或 13所述的家庭网关, 其中: 14. The home gateway of claim 10 or 13, wherein:
所述自动探查策略模块还包括: 关闭单元, 其设置为: 在当前使用的上 行方式已确定时, 若存在非当前使用的上行方式已建立的底层链路, 则通知 相应的底层链路驱动模块关闭所述底层链路; 若存在非当前使用的上行方式 已启用的配置和应用, 则通知 WAN配置模块关闭所述配置和应用; 若存在 非当前使用的上行方式的外网连接, 则通知 WAN配置模块关闭所述外网连 接;  The automatic profiling policy module further includes: a shutting down unit, configured to: notify the corresponding underlying link driving module if there is an underlying link that is not currently used in the uplink mode when the currently used uplink mode is determined Close the underlying link; if there is a configuration and application that is not currently used in the uplink mode, notify the WAN configuration module to close the configuration and application; if there is an external network connection that is not currently used in the uplink mode, notify the WAN The configuration module closes the external network connection;
所述底层链路驱动模块还设置为: 根据所述自动探查策略模块的通知关 闭相应上行方式的底层链路;  The underlying link driver module is further configured to: close the underlying link of the corresponding uplink mode according to the notification of the automatic profiling policy module;
所述启用单元还设置为: 根据所述自动探查策略模块的通知关闭相应上 行方式的外网连接配置及应用;  The enabling unit is further configured to: close the external network connection configuration and application of the corresponding uplink mode according to the notification of the automatic probing policy module;
所述连接单元还设置为: 根据所述自动探查策略模块的通知关闭相应上 行方式的外网连接。  The connecting unit is further configured to: close the external network connection of the corresponding uplink mode according to the notification of the automatic probing policy module.
15、 如权利要求 10所述的家庭网关, 其中, 15. The home gateway according to claim 10, wherein
所述消息处理单元还设置为: 将本家庭网关支持的所有上行方式默认为 所述可选择使用的上行方式; 或者, 将预先配置的一种或多种上行方式作为 所述可选择使用的上行方式。  The message processing unit is further configured to: default all the uplink modes supported by the home gateway to the uplink mode that can be selected to be used; or use one or more uplink modes that are pre-configured as the selectable uplink. the way.
PCT/CN2011/080628 2011-01-17 2011-10-11 Method for automatically searching links with multi-uplink-mode and home gateway thereof WO2012097610A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110009493.1A CN102594735B (en) 2011-01-17 2011-01-17 A kind of home gateway and realize the method that many uplink modes link detects automatically
CN201110009493.1 2011-01-17

Publications (1)

Publication Number Publication Date
WO2012097610A1 true WO2012097610A1 (en) 2012-07-26

Family

ID=46482950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080628 WO2012097610A1 (en) 2011-01-17 2011-10-11 Method for automatically searching links with multi-uplink-mode and home gateway thereof

Country Status (2)

Country Link
CN (1) CN102594735B (en)
WO (1) WO2012097610A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801563B (en) * 2012-08-15 2015-10-21 中国联合网络通信集团有限公司 gateway uplink mode switching method, gateway device and communication system
CN107172227B (en) * 2017-05-19 2020-01-31 福建星网智慧科技股份有限公司 method and system based on multi-uplink equipment access
CN107396183B (en) * 2017-07-20 2020-04-28 烽火通信科技股份有限公司 Starting-up network detection method and system for converged terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848826A (en) * 2006-04-30 2006-10-18 中国移动通信集团公司 Family gateway equipment
CN101146064A (en) * 2007-10-31 2008-03-19 广州市聚晖电子科技有限公司 A CDMA/GPRS/ADSL self-selected communication method for gateway routing device
CN201298852Y (en) * 2008-11-14 2009-08-26 深圳华为通信技术有限公司 Digital photo frame

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102189B (en) * 2006-07-05 2011-06-22 华为技术有限公司 A gateway system and method for implementing multi-media access
US20080074993A1 (en) * 2006-09-27 2008-03-27 Kati Vainola UMA classmark information
CN101453395A (en) * 2007-11-29 2009-06-10 华为技术有限公司 Switching method, system and device for uplink mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848826A (en) * 2006-04-30 2006-10-18 中国移动通信集团公司 Family gateway equipment
CN101146064A (en) * 2007-10-31 2008-03-19 广州市聚晖电子科技有限公司 A CDMA/GPRS/ADSL self-selected communication method for gateway routing device
CN201298852Y (en) * 2008-11-14 2009-08-26 深圳华为通信技术有限公司 Digital photo frame

Also Published As

Publication number Publication date
CN102594735B (en) 2015-09-16
CN102594735A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
US8611906B2 (en) Mobile communications system, general base station apparatus, base station apparatus, and base station status control method
US8861507B2 (en) Systems and methods for automatic public switched telephone network backup of voice over internet protocol services
US7231210B1 (en) Method and apparatus for automatically generating call flow test scripts
EP3665865A1 (en) Method and system of a high availability enhancements to a computer network
US9210646B2 (en) Back-up path for in-home diagnostics and other communications
US20070121593A1 (en) Method and apparatus for ensuring accessibility to emergency service via VoIP or via PSTN
CN102006189B (en) Primary access server determination method and device for dual-machine redundancy backup
TW201006272A (en) Method and apparatus for maintaining communications connections over a distributed wireless network
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
CN103596290A (en) Wireless multi-network integration method
US8107619B2 (en) Method, system and apparatus for controlling a network interface device
US20110292163A1 (en) Call control for conferencing calls
CN103227725A (en) Method and device for dual-server backup of firewall
CN105191339A (en) Software redundancy in a non-homogenous virtual chassis
RU2616880C1 (en) Method and device for switching interface
WO2014146541A1 (en) Cdn and network convergence system, scheduling module selection method and computer storage medium
WO2012097610A1 (en) Method for automatically searching links with multi-uplink-mode and home gateway thereof
CN105636086A (en) Network mode switching processing method, network mode switching processing device and terminal comprising network mode switching processing device
WO2011137766A2 (en) Method and relevant device and system for determining network element running state
WO2013029507A1 (en) Management session establishment method, customer premises equipment and auto configuration server
JP2007529806A (en) Fault management in a management system using Ethernet
US7746949B2 (en) Communications apparatus, system and method of creating a sub-channel
WO2013102353A1 (en) Internet protocol(ip) private branch exchange(pbx) registration method, device and system
WO2016065925A1 (en) Controller replacing method and device
WO2015085801A1 (en) Fault processing method and apparatus for edge route bridge in trill network

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

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

Country of ref document: EP

Kind code of ref document: A1