WO2012174944A1 - Network switching method and system - Google Patents

Network switching method and system Download PDF

Info

Publication number
WO2012174944A1
WO2012174944A1 PCT/CN2012/074678 CN2012074678W WO2012174944A1 WO 2012174944 A1 WO2012174944 A1 WO 2012174944A1 CN 2012074678 W CN2012074678 W CN 2012074678W WO 2012174944 A1 WO2012174944 A1 WO 2012174944A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
access
module
access network
point
Prior art date
Application number
PCT/CN2012/074678
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 WO2012174944A1 publication Critical patent/WO2012174944A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1446Reselecting a network or an air interface over a different radio air interface technology wherein at least one of the networks is unlicensed

Definitions

  • a wireless terminal device for example, a wireless terminal device based on a monitoring system application context
  • performs switching between two networks usually by manual switching, and a wireless local area network (WLAN).
  • WLAN wireless local area network
  • CDMA code division multiple access
  • the switching of the code division multiple access (CDMA) system is performed by manually detecting the network signal of the WLAN after the device is started.
  • the CDMA module is first turned off. The network access is disconnected, and then the WLAN module is enabled to re-initiate the access request to access the WLAN network, thereby completing the handover from the CDMA network to the WLAN network.
  • CDMA code division multiple access
  • the present invention provides a network switching method and system to solve at least the above problems.
  • a network handover method comprising the steps of: binding a point-to-point link established by a wireless terminal through a first access network and a core network to a network of a second access network And acknowledging the binding of the network port of the first access network and the point-to-point link.
  • the wireless terminal before the wireless terminal is bound to the network interface of the second access network by using the first access network and the point-to-point link established by the core network, the wireless terminal The monitored second network satisfies a preset handover condition and initiates a handover from the first access network to the second access network.
  • the switching condition includes: the signal strength of the second access network is greater than a threshold.
  • the wireless terminal switches the point-to-point link in the wireless terminal from a first module to a second module, where the first module is configured to access the first Accessing the network, the second module is configured to access the second access network: acquire an available transmission channel for the network port corresponding to the second module; and use the available transmission channel and the wireless
  • the interface unit in the terminal is connected, wherein the interface unit is configured to provide a point-to-point link interface; disconnecting the first module from the interface unit.
  • the wireless terminal is a wireless monitoring device.
  • a network switching system comprising: a wireless terminal, a first access network, a second access network, and a core network, where the core network includes: a binding module, and a setting Binding a point-to-point link established by the wireless terminal through the first access network and the core network to a network interface of the second access network; and releasing the module, configured to release the network of the first access network Binding of the port to the point-to-point link.
  • the wireless terminal comprises: an initiating module, configured to bind the point-to-point link established by the wireless terminal through the first access network and the core network to the second connection Before entering the network interface of the network, when the monitored second access network meets a preset handover condition, a handover from the first access network to the second access network is initiated.
  • the switching condition includes: the signal strength of the second access network is greater than a threshold.
  • the wireless terminal includes: the first module is configured to be connected to the first access network; the second module is configured to access to the second access network; Set to obtain an available transmission channel for the network port corresponding to the second module; a connection module, configured to connect the available transmission channel with an interface unit in the wireless terminal, and disconnect the first module a connection with the interface unit; the interface unit is configured to provide a point-to-point link interface.
  • the wireless terminal is a wireless monitoring device. With the present invention, a point-to-point link established by the wireless terminal through the first access network and the core network is bound to the network interface of the second access network; then the network port and point of the first access network are released.
  • FIG. 1 is a flowchart of a network switching method according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a network switching system according to an embodiment of the present invention
  • FIG. 3 is a network access of a wireless video monitoring device according to a preferred embodiment of the present invention.
  • FIG. 4 is a schematic diagram of network switching networking according to a preferred embodiment of the present invention.
  • FIG. 5 is a flow chart of network switching of a wireless video monitoring device according to a preferred embodiment of the present invention;
  • FIG. 6 is a schematic diagram of network switching according to a preferred embodiment of the present invention.
  • FIG. 7 is a schematic diagram of dynamic binding of a PPP link network port in accordance with a preferred embodiment of the present invention.
  • the network switching in this embodiment is a terminal device that accesses the communication network through a network access technology. When an accessable signal of another network is detected, the access can be obtained from the current network based on a certain requirement. Switch to another network access method.
  • 1 is a flowchart of a network switching method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102: Pass a wireless terminal (also referred to as a terminal device, for example, a wireless monitoring terminal) through the first The point-to-point link established by the access network and the core network is bound to the network interface of the second access network. Step S104, the binding of the network port of the first access network and the point-to-point link is cancelled.
  • handover conditions eg, handover conditions from the first access network to the second access network, or handovers from the second access network to the first access network
  • the handover from the first access network to the second access network is initiated.
  • the handover condition may include: the signal strength of the second access network is greater than a threshold. It is relatively simple to judge by the signal strength.
  • other conditions can be considered. For example, some operators have relatively favorable expenses in some time periods, and can switch to the preferential network during these periods.
  • the wireless terminal realizes switching the point-to-point link from the first module to the second module in the wireless terminal by using the following steps.
  • a module is configured to access the first access network, and the second module is configured to access the second access network: Step S202, obtaining an available transmission channel for the network port corresponding to the second module; Step S204, The available transmission channel is connected to the interface unit in the wireless terminal, wherein the interface unit is configured to provide a point-to-point link interface; disconnecting the first module from the interface unit.
  • FIG. 2 is a structural block diagram of a network switching system according to an embodiment of the present invention.
  • the system includes: a wireless terminal, a first access network, a second access network, and a core network, where the core network includes The module 20 and the release module 22 are described below, and the respective modules of the system are described below.
  • the binding module 20 is configured to bind the point-to-point link established by the wireless terminal through the first access network and the core network to the network interface of the second access network; and the releasing module 22 is configured to release the first access Binding of network ports and point-to-point links of the network.
  • the wireless terminal comprises: an initiating module, configured to be monitored before the point-to-point link established by the wireless terminal through the first access network and the core network is bound to the network interface of the second access network
  • the handover condition comprises: the signal strength of the second access network is greater than a threshold.
  • the wireless terminal further includes a first module configured to access the first access network; a second module configured to access the second access network; and an acquisition module configured to be a network corresponding to the second module
  • the port acquires an available transmission channel; the connection module is configured to connect the available transmission channel with the interface unit in the wireless terminal, and disconnect the first module from the interface unit, and the interface unit is configured to provide a point-to-point link interface.
  • the wireless terminal is a wireless monitoring device. The following is an example of switching between CDMA and WLAN.
  • the UIM card can be used for unified authentication when the client accesses the network, and then the two-way seamless automatic switching function of the data service between the CDMA and the WLAN network is provided, wherein the seamless network switching is It refers to the switching technology that the user's data service can be uninterrupted when switching between two different network access modes, and the entire switching process can be not perceived by the user.
  • the C+W (bidirectional handover process between CDMA and WLAN) handover refers to the same Packet Data Serving Node (PDSN) and Packet Control Function (Packet Control Function). The process of switching between PCFs is not changed on the network side.
  • PDSN Packet Data Serving Node
  • Packet Control Function Packet Control Function
  • the data link between the user equipment (User Equipment, UE for short) and the PDSN (that is, the point-to-point link) A point-to-point link (referred to as a PPP link) is always maintained.
  • the only switch is the air interface link and the All tunnel between the PCF and the PDSN. Therefore, the PPP link is not re-initiated, and the IP address of the UE is not changed.
  • the terminal service is not interrupted, and the user is not aware of the handover process.
  • the C+W function is used to flexibly implement the end user of the multi-network module holding CDMA and WLAN, and the purpose of using the corresponding service in the WLAN network coverage area through the WLAN network at high speed and fast. .
  • the wireless terminal in the preferred embodiment can be implemented between the two networks under the premise that the user data service is not interrupted and the user is not aware of the switching process according to the actual network condition in the coverage area of the WLAN and the CDMA network.
  • the two-way switching, and the method for implementing seamless handover of the network in a similar application scenario is explained by the device, so as to better meet the user's demand for the service.
  • the following is an example of a wireless video surveillance device.
  • the wireless video surveillance device is a terminal device that has dual wireless network access modules and only allows a PPP link to be established with the PDSN access unit of the core network. In this case, the switching scheme described in this embodiment can be adopted.
  • the device or system unit device involved in FIG. 3 includes: a wireless video monitoring terminal, a base network access unit base station (Base Transceiver Station, BTS for short), a PCF, and a wireless access gateway (WAG). , Access Point (AP) and Packet Data Service Node (PDSN for short).
  • BTS Base Transceiver Station
  • WAG wireless access gateway
  • AP Access Point
  • PDSN Packet Data Service Node
  • the terminal device has two The network access module, for example, is a CDMA module and a Wireless Fidelity (WIFI) module, and the terminal can select any one of the network modules to access the core network according to the actual network condition. After the access is successful,
  • the PPP link port dynamic binding technology in this embodiment can also implement seamless handover of the network.
  • BS refers to the radio signal base station
  • PCF is the packet control function unit
  • WAG is the access gateway of the WLAN network
  • AP is the WLAN network.
  • Access point PDSN refers to the packet data service node.
  • the working principle and access mode of the above-mentioned core network access unit can refer to relevant telecommunication technical specifications. The following description will be made in conjunction with the above devices.
  • the wireless terminal After the power-on is started, the wireless terminal establishes a network connection through the CDMA network and the platform, and simultaneously starts the WIFI module to search for the accessible WLAN AP hotspot, and monitors the WLAN network signal in real time.
  • the terminal and the AP When the signal strength is greater than the cut-in value, the terminal and the AP perform the The association is performed, and the AP is registered and authenticated to the WAG through the AP. After the authentication succeeds, the network transmission unit corresponding to the PPP link is bound to the physical network port corresponding to the WLAN through the PPP link network port fixed binding mode. The service data is transmitted and received through the physical network port of the WIFI, and then the transmission unit of the CDMA network and the PPP link are unbound, and the CDMA network is disconnected, thereby implementing network switching. If the terminal device registers with the WAG gateway or fails to authenticate, it searches for an available AP again and initiates a registration authentication request again. If it has failed, the process is repeated and the CDMA network is kept disconnected.
  • FIG. 4 is a schematic diagram of a network switching network according to a preferred embodiment of the present invention.
  • a dual-mode network terminal when a dual-mode network terminal is in a WLAN coverage area, it can be connected to a WLAN AP and access the core through the WAG.
  • the PCF In the CDMA network coverage area, the PCF can access the core network.
  • the terminal When the network is switched (for example, from CDMA to WLAN), the terminal only needs to complete the registration and authentication to the WAG, and the PSDN stops.
  • the PCF sends the downlink data, and instead sends the downlink data to the WAG, and the terminal network access mode is switched.
  • FIG. 5 is a flowchart of a network switching of a wireless video monitoring device according to a preferred embodiment of the present invention. As shown in FIG.
  • Step S502 Turn on the terminal device, power on, ⁇ , and power on the wireless video monitoring device. start up.
  • Step S504 the wireless video monitoring device turns on the WIFI module.
  • Step S506 accessing the core network through the CDMA wireless module, and establishing a PPP link with the PDSN to meet the data service requirements of the user. It should be noted that the order of execution of step S504 and step S506 is not limited thereto, and may be changed or may be performed at the same time.
  • Step S508 searching for the currently available AP hotspot, and monitoring the signal strength of the AP in real time.
  • Step S510 determining whether the searched AP signal strength satisfies the condition of the network handover, for example, whether the signal strength is greater than the cut-in value. If yes, step S512 is performed, and if the handover condition is not met, step S508 is performed. It should be noted that the determination of the network switching condition may be set according to the comparison result of the current WIFI signal strength and the WLAN network cut-in value and the cut-out value. In order to avoid repeated network switching, the switching from the CDMA network to the WLAN is respectively set. The critical value of the network and the threshold for switching from the WLAN network to the CDMA network are called the cut-in value and the cut-out value.
  • Step S512 When it is detected that the signal strength of an AP is greater than the cut-in value, the terminal device associates with the AP, that is, the terminal device initiates network handover from the CDMA network to the WLAN network. If the association fails, the process returns to step S508 to re-detect the network signal, and if the association is successful, step S514 is performed.
  • Step S514 The wireless video monitoring terminal initiates a registration and authentication request to the WAG of the core network by using the associated AP.
  • step S516 it is determined whether the authentication is successful. If the step S518 is successfully performed, the association between the terminal and the AP is disconnected, and the process returns to step S512 to re-initiate the association request with the AP, or returns to step S508.
  • Step S518, the PPP link established by the terminal through the CDMA network and the PDSN is bound to the network interface of the WLAN network by means of dynamic binding of the PPP link port, and then the network interface and the PPP link of the CDMA network are solved. Bind. Step S520, disconnecting the 3G network.
  • step S522 the heartbeat packet keeps alive and continues to detect the Wifi signal strength.
  • step S524 it is determined whether the network signal of the associated AP is smaller than the cut-out value. If not less, step S522 is performed, and if less, the access network of the wireless video monitoring device is switched from WLAN to CDMA.
  • step S526 after the terminal device is cut out from the WLAN network, the association between the terminal device and the current AP needs to be disconnected, and step S508 is performed to re-detect the WLAN network signal.
  • the device can automatically complete the network switching, the switching process does not require manual user participation, and the user has no perception, and the data service is not Interrupted, enabling seamless network switching.
  • FIG. 6 is a schematic diagram of network switching according to a preferred embodiment of the present invention.
  • the handover process from CDMA to WLAN is taken as an example.
  • the entire handover process includes a preparation process and an execution process.
  • the terminal selects first.
  • the AP can obtain the access IP of the WLAN layer, register and authenticate the WAG gateway, and maintain the CDMA connection and data transmission during the period.
  • the implementation process is that the terminal successfully authenticates the WAG and re-binds the PPP link network port.
  • PSDN does not need to perform PPP renegotiation and PPP authentication.
  • the handover procedure is initiated to the WAG, and then the WAG initiates registration with the PSDN.
  • the PSDN responds to the WAG with a registration message, and the PDSN establishes a new service connection with the target WAG, and the PDSN updates the service of the user. Go to the new connection.
  • the PDSN sends a service update message to the PCF accessed by the CDMA network, informing the PCF to release the original service connection.
  • the PCF responds to the PSDN-ACK message, and then sends a service stop message to the PSDN.
  • FIG. 7 is a schematic diagram of dynamic binding of a PPP link network port according to a preferred embodiment of the present invention.
  • the wireless video monitoring terminal adopts a user space PPP implementation manner, and in the PPP driver, each network interface corresponds to one PPP transmission channel (channel), each core PPP device corresponds to a PPP interface unit (unit).
  • PPP0 kernel PPP device
  • the PPP link can transmit and receive data through another physical network, thereby completing the network.
  • Switching. The process includes: After the terminal is powered on, the PPP link is established through the ttyUsBO device of the CDMA wireless module and the PSDN. When switching to the WLAN network, first obtain an available transmission channel for the wlanO network port corresponding to the WLAN wireless module through the system call.
  • New_ppp_fd open("/dev/ppp", O RDWR); ioctl(new_ppp_fd, PPPIOCATTCHAN, & nNewChann) Unlink the interface unit and the PPP device file, and then connect the device file and interface unit bound to the wlanO network port.
  • a network switching software is also provided, which is used to implement the technical solutions described in the foregoing embodiments and preferred embodiments.
  • a storage medium is provided, in which the above-described transmission delay control software is stored, including but not limited to an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • a mobile communication terminal and method for seamless network switching between a 3G network such as CDMA and a WLAN network can switch from a 3G network to a WLAN or a WLAN network when detecting a WLAN network signal When the signal disappears, it can switch from the WLAN network to the 3G network, ensuring that the data service is not interrupted during the handover process, and the handover process is not perceived by the user as a seamless network handover technology.
  • a general-purpose computing device which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Abstract

Disclosed are a network switching method and a network switching system. The method comprises the following steps: binding a point-to-point link established by a wireless terminal through a first access network and a core network to a network interface of a second access network (S102); and releasing the binding between a network port of the first access network and the point-to-point link (S104). The present invention improves the user experience.

Description

网络切换方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种网络切换方法及系统。 背景技术 目前, 无线终端设备 (例如, 基于监控系统应用情境的无线终端设备) 在两个网 络之间进行的切换, 通常采用手动切换的方式, 以无线局域网 (Wireless Local Area Network,简称为 WLAN)和码分多址(Code Division Multiple Access,简称为 CDMA) 系统的切换为例, 该手动切换的方式为, 设备启动后手动检测 WLAN的网络信号, 当 信号强度满足要求时, 通过先关闭 CDMA模块断开网络接入, 然后, 启用 WLAN模 块重新发起接入请求接入 WLAN网络,从而完成从 CDMA网络到 WLAN网络的切换。 然而, 人工判定是否执行网络切换的方式, 在进行网络切换时, 需要先手动停止 当前所接入的网络模块, 断开网络连接, 然后启用另外一个网络模块重新接入网络, 整个切换过程需要用户手动参与且切换会导致数据业务的中断。 针对相关技术中网络间手动切换时存在的数据业务被中断的问题, 目前尚未提出 有效的解决方案。 发明内容 本发明提供了一种网络切换方法及系统, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种网络切换方法, 该方法包括如下步骤: 将无 线终端通过第一接入网络和核心网建立的点到点链路绑定到第二接入网络的网络接口 上; 解除所述第一接入网络的网络端口和所述点到点链路的绑定。 优选地, 将所述无线终端通过所述第一接入网络和所述核心网建立的所述点到点 链路绑定到所述第二接入网络的网络接口上之前, 所述无线终端监测到的所述第二网 络满足预先设定的切换条件,并发起从所述第一接入网络到所述第二接入网络的切换。 优选地, 所述切换条件包括: 所述第二接入网络的信号强度大于阈值。 优选地, 所述无线终端通过以下步骤将所述无线终端中的所述点到点链路从第一 模块切换至第二模块, 其中, 所述第一模块设置为接入到所述第一接入网络, 所述第 二模块设置为接入到所述第二接入网络: 为所述第二模块对应的网口获取一个可用的 传输通道; 将所述可用的传输通道与所述无线终端中的接口单元连接, 其中, 所述接 口单元设置为提供点对点链路接口; 断开所述第一模块与所述接口单元的连接。 优选地, 所述无线终端为无线监控设备。 根据本发明的另一个方面, 还提供了一种网络切换系统, 该系统包括: 无线终端、 第一接入网络、 第二接入网络和核心网, 所述核心网包括: 绑定模块, 设置为将无线 终端通过第一接入网络和所述核心网建立的点到点链路绑定到第二接入网络的网络接 口上; 解除模块, 设置为解除所述第一接入网络的网络端口和所述点到点链路的绑定。 优选地, 所述无线终端包括: 发起模块, 设置为在将所述无线终端通过所述第一 接入网络和所述核心网建立的所述点到点链路绑定到所述第二接入网络的网络接口上 之前, 在监测到的所述第二接入网络满足预先设定的切换条件时, 发起从第一接入网 络到所述第二接入网络的切换。 优选地, 所述切换条件包括: 所述第二接入网络的信号强度大于阈值。 优选地, 所述无线终端包括: 所述第一模块, 设置为接入到所述第一接入网络; 所述第二模块, 设置为接入到所述第二接入网络; 获取模块, 设置为为所述第二模块 对应的网口获取一个可用的传输通道; 连接模块, 设置为将所述可用的传输通道与所 述无线终端中的接口单元连接, 并断开所述第一模块与所述接口单元的连接; 所述接 口单元, 设置为提供点对点链路接口。 优选地, 所述无线终端为无线监控设备。 通过本发明, 采用将无线终端通过第一接入网络和核心网建立的点到点链路绑定 到第二接入网络的网络接口上; 然后再解除第一接入网络的网络端口和点到点链路的 绑定, 解决了相关技术中网络间手动切换时存在的数据业务被中断的问题, 进而达到 了业务不被中断的自动无缝切换效果, 提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的网络切换方法的流程图; 图 2是根据本发明实施例的网络切换系统的结构框图; 图 3是根据本发明优选实施例的无线视频监控设备的网络接入示意图; 图 4是根据本发明优选实施例的网络切换组网示意图; 图 5是根据本发明优选实施例的无线视频监控设备网络切换流程图; 图 6是根据本发明优选实施例的网络切换示意图; 图 7是根据本发明优选实施例的 PPP链路网络端口动态绑定的示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本实施例中的网络切换是通过一种网络接入技术接入到通信网络的终端设备, 在 检测到另外一种网络的可接入信号时, 基于某种需求, 可以从当前网络的接入方式切 换到另外一种网络接入方式。 图 1是根据本发明实施例的网络切换方法的流程图, 如 图 1所示, 该流程包括如下步骤: 步骤 S102, 将无线终端 (也称为终端设备, 例如, 无线监控终端)通过第一接入 网络和核心网建立的点到点链路绑定到第二接入网络的网络接口上; 步骤 S104, 解除第一接入网络的网络端口和点到点链路的绑定。 通过上述步骤, 将 PPP绑定到第二接入网的网络接口上之后在解除第一接入网络 的网络接口的绑定, 解决了相关技术中网络间手动切换时存在的数据业务被中断的问 题, 进而达到了数据业务不被中断的自动无缝切换效果, 提高了用户体验。 对于切换, 在一个优选的实施例中, 可以预先设置切换条件 (例如, 从第一接入 网络到第二接入网络的切换条件, 或者从第二接入网络到第一接入网络的切换条件), 然后, 无线终端监测到的第二接入网络满足预先设定的切换条件之后, 再发起从第一 接入网络到第二接入网络的切换。 通过该优选实施例, 可以完全实现无线终端的自动 检测并自动执行切换。例如, 切换条件可以包括: 第二接入网络的信号强度大于阈值。 通过信号强度的判断实现比较简单, 除此之外也可以考虑其他的条件, 例如有些运营 商在一些时段的费用比较优惠, 可以在这些时段切换到费用优惠的网络中。 对于无线终端内部的切换, 在本实施例中也提供了一种优选的实施方式: 即无线 终端通过以下步骤实现无线终端中的将点到点链路从第一模块切换至第二模块 (第一 模块设置为接入到第一接入网络, 第二模块设置为接入到第二接入网络): 步骤 S202, 为第二模块对应的网口获取一个可用的传输通道; 步骤 S204, 将可用的传输通道与无线终端中的接口单元连接, 其中, 接口单元设 置为提供点对点链路接口; 断开第一模块与接口单元的连接。 通过上述步骤, 可以在终端中比较可靠地完成切换。 在本实施例中, 还提供了一种网络切换系统, 用于实现上述实施例及其优选实施 方式, 已经进行过说明的不再赘述, 下面对该系统涉及到的模块进行说明。 如以下所 使用的, 术语"模块"可以实现预定功能的软件和 /或硬件的组合。 尽管以下实施例所描 述的系统和方法较佳地以软件来实现, 但是硬件, 或者软件和硬件的组合的实现也是 可能并被构想的。 图 2是根据本发明实施例的网络切换系统的结构框图, 如图 2所示, 该系统包括: 无线终端、 第一接入网络、 第二接入网络和核心网, 其中, 核心网包括绑定模块 20 和解除模块 22, 下面对该系统的各个模块进行说明。 绑定模块 20, 设置为将无线终端通过第一接入网络和核心网建立的点到点链路绑 定到第二接入网络的网络接口上; 解除模块 22, 设置为解除第一接入网络的网络端口和点到点链路的绑定。 优选地, 无线终端包括: 发起模块, 设置为在将无线终端通过第一接入网络和核 心网建立的点到点链路绑定到第二接入网络的网络接口上之前, 在监测到的第二接入 网络满足预先设定的切换条件时, 发起从第一接入网络到第二接入网络的切换。 优选地, 切换条件包括: 第二接入网络的信号强度大于阈值。 优选地, 该无线终端还包括第一模块, 设置为接入到第一接入网络; 第二模块, 设置为接入到第二接入网络; 获取模块, 设置为为第二模块对应的网口获取一个可用 的传输通道; 连接模块, 设置为将可用的传输通道与无线终端中的接口单元连接, 并 断开第一模块与接口单元的连接, 接口单元, 设置为提供点对点链路接口。 优选地, 无线终端为无线监控设备。 以下以 CDMA与 WLAN之间的切换为例进行说明。 在 CDMA与 WLAN之间的网络切换中, 在客户端进行网络接入时可以使用 UIM 卡统一认证, 然后提供 CDMA与 WLAN网络间数据业务的双向无缝自动切换功能, 其中, 无缝网络切换就是指在两种不同的网络接入方式间进行切换时, 用户的数据业 务可以不被中断, 整个切换过程可以不被用户感知的切换技术。 在本优选实施例中, 首先, C+W (CDMA和 WLAN间的双向切换过程) 切换整 体参考同一分组数据服务节点 (Packet Data Serving Node, 简称为 PDSN)、 分组控制 功能 (Packet Control Function, 简称为 PCF) 间的切换流程, 在网络侧不做改动; 其 次, 在整个切换的流程中, 用户设备 (User Equipment, 简称为 UE) 与 PDSN之间的 数据链路(即点到点链路(Point-to-Point链路, 简称为 PPP链路))始终保持, 切换的 只是空口链路以及 PCF与 PDSN之间的 All隧道, 从而达到不重新发起 PPP链路, 不改变 UE的 IP地址、 不中断终端业务, 切换过程用户无感知, 最终通过 C+W功能, 灵活实现持有 CDMA和 WLAN的多网络模块的终端用户,在 WLAN网络覆盖区域通 过 WLAN网络高速、 快捷的使用相应业务的目的。 本优选实施例中的无线终端, 使其在 WLAN及 CDMA网络覆盖区域内, 能根据 实际的网络状况, 在用户数据业务不被中断、 切换过程用户无感知的前提下, 实现两 种网络之间的双向切换, 并通过该设备阐述一种类似应用情景下实现网络无缝切换的 方法, 以更好的满足用户对业务的需求。 下面以无线视频监控设备为例进行说明, 该无线视频监控设备为拥有双无线网络 接入模块以及与核心网 PDSN接入单元只允许建立一条 PPP链路的终端设备, 在实现 无缝网络切换需求时, 均可采用本实施例阐述的切换方案。 图 3是根据本发明优选实施例的无线视频监控设备的网络接入示意图, 如图 3所 示, 该网络设备必须要同时具备 CDMA及 WIFI两种无线网络模块, 可以分别通过这 两种网络模块进行网络接入。 图 3中还涉及到的设备或者系统单元装置包括: 无线视 频监控终端, 核心网接入单元基站 (Base Transceiver Station, 简称为 BTS)、 PCF、 无 线接入网关(Wireless Access Gateway, 简称为 WAG)、 接入点 (Access Point, 简称为 AP) 以及分组数据服务节点 (简称为 PDSN)。 无线视频监控终端, 由其向核心网的各接入单元发起网络连接、 实时监测可接入 WLAN热点的网络信号、 控制网络切换并向用户提供数据业务。 该终端设备拥有两个 网络接入模块,例如,分别是 CDMA模块和无线保真(Wireless Fidelity,简称为 WIFI) 模块, 终端可根据实际网络状况, 选择启用其中的任意一个网络模块接入核心网, 接 入成功后,亦可根据本实施例中的 PPP链路端口动态绑定技术,实现网络的无缝切换。 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a network switching method and system. BACKGROUND OF THE INVENTION Currently, a wireless terminal device (for example, a wireless terminal device based on a monitoring system application context) performs switching between two networks, usually by manual switching, and a wireless local area network (WLAN). For example, the switching of the code division multiple access (CDMA) system is performed by manually detecting the network signal of the WLAN after the device is started. When the signal strength meets the requirements, the CDMA module is first turned off. The network access is disconnected, and then the WLAN module is enabled to re-initiate the access request to access the WLAN network, thereby completing the handover from the CDMA network to the WLAN network. However, manually determining whether to perform the network switching method, when performing network switching, it is necessary to manually stop the currently accessed network module, disconnect the network connection, and then enable another network module to re-access the network, and the entire switching process requires the user. Manual participation and switching can result in disruption of data traffic. In view of the problem that the data service existing in the manual handover between networks is interrupted in the related art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a network switching method and system to solve at least the above problems. According to an aspect of the present invention, a network handover method is provided, the method comprising the steps of: binding a point-to-point link established by a wireless terminal through a first access network and a core network to a network of a second access network And acknowledging the binding of the network port of the first access network and the point-to-point link. Preferably, before the wireless terminal is bound to the network interface of the second access network by using the first access network and the point-to-point link established by the core network, the wireless terminal The monitored second network satisfies a preset handover condition and initiates a handover from the first access network to the second access network. Preferably, the switching condition includes: the signal strength of the second access network is greater than a threshold. Preferably, the wireless terminal switches the point-to-point link in the wireless terminal from a first module to a second module, where the first module is configured to access the first Accessing the network, the second module is configured to access the second access network: acquire an available transmission channel for the network port corresponding to the second module; and use the available transmission channel and the wireless The interface unit in the terminal is connected, wherein the interface unit is configured to provide a point-to-point link interface; disconnecting the first module from the interface unit. Preferably, the wireless terminal is a wireless monitoring device. According to another aspect of the present invention, a network switching system is further provided, the system comprising: a wireless terminal, a first access network, a second access network, and a core network, where the core network includes: a binding module, and a setting Binding a point-to-point link established by the wireless terminal through the first access network and the core network to a network interface of the second access network; and releasing the module, configured to release the network of the first access network Binding of the port to the point-to-point link. Preferably, the wireless terminal comprises: an initiating module, configured to bind the point-to-point link established by the wireless terminal through the first access network and the core network to the second connection Before entering the network interface of the network, when the monitored second access network meets a preset handover condition, a handover from the first access network to the second access network is initiated. Preferably, the switching condition includes: the signal strength of the second access network is greater than a threshold. Preferably, the wireless terminal includes: the first module is configured to be connected to the first access network; the second module is configured to access to the second access network; Set to obtain an available transmission channel for the network port corresponding to the second module; a connection module, configured to connect the available transmission channel with an interface unit in the wireless terminal, and disconnect the first module a connection with the interface unit; the interface unit is configured to provide a point-to-point link interface. Preferably, the wireless terminal is a wireless monitoring device. With the present invention, a point-to-point link established by the wireless terminal through the first access network and the core network is bound to the network interface of the second access network; then the network port and point of the first access network are released. The binding of the link to the point solves the problem that the data service that is interrupted during the manual handover between the networks in the related art is interrupted, thereby achieving the automatic seamless switching effect of the service being interrupted, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawing: 1 is a flowchart of a network switching method according to an embodiment of the present invention; FIG. 2 is a structural block diagram of a network switching system according to an embodiment of the present invention; and FIG. 3 is a network access of a wireless video monitoring device according to a preferred embodiment of the present invention. FIG. 4 is a schematic diagram of network switching networking according to a preferred embodiment of the present invention; FIG. 5 is a flow chart of network switching of a wireless video monitoring device according to a preferred embodiment of the present invention; FIG. 6 is a schematic diagram of network switching according to a preferred embodiment of the present invention. FIG. 7 is a schematic diagram of dynamic binding of a PPP link network port in accordance with a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The network switching in this embodiment is a terminal device that accesses the communication network through a network access technology. When an accessable signal of another network is detected, the access can be obtained from the current network based on a certain requirement. Switch to another network access method. 1 is a flowchart of a network switching method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102: Pass a wireless terminal (also referred to as a terminal device, for example, a wireless monitoring terminal) through the first The point-to-point link established by the access network and the core network is bound to the network interface of the second access network. Step S104, the binding of the network port of the first access network and the point-to-point link is cancelled. After the PPP is bound to the network interface of the second access network, the binding of the network interface of the first access network is cancelled, and the data service that is interrupted during manual handover between the networks in the related art is interrupted. The problem, in turn, achieves an automatic seamless switching effect in which data services are not interrupted, improving the user experience. For handover, in a preferred embodiment, handover conditions (eg, handover conditions from the first access network to the second access network, or handovers from the second access network to the first access network) may be set in advance Condition), then, after the second access network monitored by the wireless terminal meets the preset handover condition, the handover from the first access network to the second access network is initiated. With the preferred embodiment, automatic detection of the wireless terminal and automatic switching can be fully implemented. For example, the handover condition may include: the signal strength of the second access network is greater than a threshold. It is relatively simple to judge by the signal strength. In addition, other conditions can be considered. For example, some operators have relatively favorable expenses in some time periods, and can switch to the preferential network during these periods. For the internal handover of the wireless terminal, a preferred embodiment is also provided in the embodiment: the wireless terminal realizes switching the point-to-point link from the first module to the second module in the wireless terminal by using the following steps. a module is configured to access the first access network, and the second module is configured to access the second access network: Step S202, obtaining an available transmission channel for the network port corresponding to the second module; Step S204, The available transmission channel is connected to the interface unit in the wireless terminal, wherein the interface unit is configured to provide a point-to-point link interface; disconnecting the first module from the interface unit. Through the above steps, the handover can be completed relatively reliably in the terminal. In this embodiment, a network switching system is further provided to implement the foregoing embodiments and preferred embodiments thereof. The descriptions of the modules involved in the system are described below. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the systems and methods described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. 2 is a structural block diagram of a network switching system according to an embodiment of the present invention. As shown in FIG. 2, the system includes: a wireless terminal, a first access network, a second access network, and a core network, where the core network includes The module 20 and the release module 22 are described below, and the respective modules of the system are described below. The binding module 20 is configured to bind the point-to-point link established by the wireless terminal through the first access network and the core network to the network interface of the second access network; and the releasing module 22 is configured to release the first access Binding of network ports and point-to-point links of the network. Preferably, the wireless terminal comprises: an initiating module, configured to be monitored before the point-to-point link established by the wireless terminal through the first access network and the core network is bound to the network interface of the second access network When the second access network satisfies a preset handover condition, a handover from the first access network to the second access network is initiated. Preferably, the handover condition comprises: the signal strength of the second access network is greater than a threshold. Preferably, the wireless terminal further includes a first module configured to access the first access network; a second module configured to access the second access network; and an acquisition module configured to be a network corresponding to the second module The port acquires an available transmission channel; the connection module is configured to connect the available transmission channel with the interface unit in the wireless terminal, and disconnect the first module from the interface unit, and the interface unit is configured to provide a point-to-point link interface. Preferably, the wireless terminal is a wireless monitoring device. The following is an example of switching between CDMA and WLAN. In the network switching between CDMA and WLAN, the UIM card can be used for unified authentication when the client accesses the network, and then the two-way seamless automatic switching function of the data service between the CDMA and the WLAN network is provided, wherein the seamless network switching is It refers to the switching technology that the user's data service can be uninterrupted when switching between two different network access modes, and the entire switching process can be not perceived by the user. In the preferred embodiment, first, the C+W (bidirectional handover process between CDMA and WLAN) handover refers to the same Packet Data Serving Node (PDSN) and Packet Control Function (Packet Control Function). The process of switching between PCFs is not changed on the network side. Secondly, in the entire handover process, the data link between the user equipment (User Equipment, UE for short) and the PDSN (that is, the point-to-point link) A point-to-point link (referred to as a PPP link) is always maintained. The only switch is the air interface link and the All tunnel between the PCF and the PDSN. Therefore, the PPP link is not re-initiated, and the IP address of the UE is not changed. The terminal service is not interrupted, and the user is not aware of the handover process. Finally, the C+W function is used to flexibly implement the end user of the multi-network module holding CDMA and WLAN, and the purpose of using the corresponding service in the WLAN network coverage area through the WLAN network at high speed and fast. . The wireless terminal in the preferred embodiment can be implemented between the two networks under the premise that the user data service is not interrupted and the user is not aware of the switching process according to the actual network condition in the coverage area of the WLAN and the CDMA network. The two-way switching, and the method for implementing seamless handover of the network in a similar application scenario is explained by the device, so as to better meet the user's demand for the service. The following is an example of a wireless video surveillance device. The wireless video surveillance device is a terminal device that has dual wireless network access modules and only allows a PPP link to be established with the PDSN access unit of the core network. In this case, the switching scheme described in this embodiment can be adopted. 3 is a schematic diagram of network access of a wireless video monitoring device according to a preferred embodiment of the present invention. As shown in FIG. 3, the network device must have both CDMA and WIFI wireless network modules, and can respectively pass the two network modules. Network access. The device or system unit device involved in FIG. 3 includes: a wireless video monitoring terminal, a base network access unit base station (Base Transceiver Station, BTS for short), a PCF, and a wireless access gateway (WAG). , Access Point (AP) and Packet Data Service Node (PDSN for short). The wireless video monitoring terminal initiates a network connection to each access unit of the core network, monitors network signals that can access the WLAN hotspot in real time, controls network switching, and provides data services to users. The terminal device has two The network access module, for example, is a CDMA module and a Wireless Fidelity (WIFI) module, and the terminal can select any one of the network modules to access the core network according to the actual network condition. After the access is successful, The PPP link port dynamic binding technology in this embodiment can also implement seamless handover of the network.
BS、 PCF、 WAG、 AP以及 PSDN等都是电信现网的网络接入设备单元, 其中 BS 是指无线信号基站, PCF是分组控制功能单元, WAG是 WLAN网络的接入网关, AP 是 WLAN网络接入点, PDSN是指分组数据服务节点。 上述核心网网络接入单元的工 作原理和接入方式可以参考相关的电信技术规范。 下面结合上述设备进行说明。 无线终端在上电启动后,通过 CDMA网络和平台建立网络连接,并同时启动 WIFI 模块搜索可接入的 WLAN AP热点, 并实时监测 WLAN网络信号, 当信号强度大于切 入值时, 终端和 AP进行关联, 并通过 AP向 WAG进行注册、 鉴权, 鉴权成功后, 通 过 PPP链路网络端口固定绑定的方式,将 PPP链路对应于终端端的网络传输单元绑定 到 WLAN对应的物理网口上, 通过 WIFI 的物理网口实现业务数据的收发, 然后将 CDMA网络的传输单元和 PPP链路解绑定, 断开 CDMA网络接入, 由此实现网络的 切换。 如果终端设备向 WAG网关注册或者鉴权失败, 则重新搜索可用的 AP, 并再次 发起注册鉴权请求, 如果一直失败, 则一直重复该过程, 并维持 CDMA网络不断开。 图 4是根据本发明优选实施例的网络切换组网示意图, 如图 4所示, 该网络切换 组网中, 双模网络终端在 WLAN覆盖区域时, 可以连接到 WLAN AP, 通过 WAG接 入核心网, 而在 CDMA网络覆盖区域, 可以通过 PCF接入核心网, 在进行网络切换 (例如, 从 CDMA切换到 WLAN网络) 时, 只需要终端在完成向 WAG的注册、 鉴 权后, PSDN停止向 PCF发送下行数据, 改为向 WAG发送下行数据, 即可完成终端 网络接入方式的切换。 图 5是根据本发明优选实施例的无线视频监控设备网络切换流程图,如图 5所示, 该流程包括如下步骤: 步骤 S502, 开启终端设备, 并上电, δΡ, 无线视频监控设备上电启动。 步骤 S504, 无线视频监控设备开启 WIFI模块。 步骤 S506, 通过 CDMA无线模块接入核心网, 并和 PDSN建立 PPP链路, 满足 用户的数据业务需求。 需要说明的是, 步骤 S504和步骤 S506的执行顺序并不限于此, 在实施时, 可以 进行改变, 也可以同时执行。 步骤 S508, 搜索当前可用的 AP热点, 并实时监测 AP的信号强度。 步骤 S510, 判断搜索到的 AP信号强度是否满足网络切换的条件, 例如, 信号强 度是否大于切入值,如果满足,执行步骤 S512,如果不满足切换条件,执行步骤 S508。 需要说明的是, 网络切换条件的判定可以是根据当前 WIFI信号强度和 WLAN网 络切入值及切出值的比较结果设定的, 为了避免反复进行网络切换, 分别设定了从 CDMA网络切换到 WLAN网络的临界值及从 WLAN网络切换到 CDMA网络的临界 值, 称之为切入值和切出值, 当 WIFI信号强度大于切入值时, 判定满足从 CDMA切 换到 WLAN的网络切换条件, 反之, 当信号强度小于切出值时, 判定满足从 WLAN 网络切换到 CDMA网络的切换条件。 一般情况下, 切入之总是大于切出值。 步骤 S512, 当检测到某个 AP的信号强度大于切入值, 则该终端设备与 AP进行 关联, 即, 终端设备发起从 CDMA网络到 WLAN网络的网络切换。 如果关联失败, 则返回到步骤 S508, 重新检测网络信号, 关联成功则执行步骤 S514。 步骤 S514, 无线视频监控终端通过所关联的 AP, 向核心网的 WAG发起注册、 鉴权请求。 步骤 S516, 判断鉴权是否成功, 如果成功执行步骤 S518, 失败则断开终端和 AP 之间的关联, 返回步骤 S512, 重新发起和 AP的关联请求, 或者返回步骤 S508。 步骤 S518,通过 PPP链路端口动态绑定的方式,将终端通过 CDMA网络和 PDSN 建立的 PPP链路, 绑定到 WLAN网络的网络接口上, 然后将 CDMA网络的网络接口 和 PPP链路进行解绑定。 步骤 S520, 断开 3G网络。 通过上述步骤, 在不重新发起 PPP链路协商的前提下, 实现了 PPP链路终端所对 应的传输单元的更换, 从而后续的业务数据均通过 WLAN对应的网络接口进行收发, 完成网络的切换, 而切换过程完全由终端设备触发, 不被用户感知, 并且不需要重新 协商 PPP链路, 从而实现了网络间的无缝网络切换。 步骤 S522, 心跳包保活, 继续检测 Wifi信号强度。 步骤 S524, 判断关联的 AP的网络信号是否小于切出值, 如果不小于, 则执行步 骤 S522, 如果小于, 则将无线视频监控设备的接入网络从 WLAN切换到 CDMA。 需 要说明的是, 切换流程和前面描述的从 CDMA切换到 WLAN网络的流程类似, 已经 进行过说明的不再赘述。 步骤 S526, 完成终端设备从 WLAN网络的切出后, 需要断开终端设备和当前 AP 的关联, 执行步骤 S508, 重新检测 WLAN网络信号。 通过上述的实施方式,与现有的双网络无线视频监控设备及其网络切换方式相比, 该设备可以自动完成网络的切换, 切换过程不需要用户手动参与, 且用户无感知, 而 且数据业务不被中断, 实现了无缝网络切换。 因此, 本实施例中的无线视频监控设备 和网络切换方法可以在很大程度上提高用户对无线视频监控的应用观感, 促进无线视 频监控技术的发展。 图 6是根据本发明优选实施例的网络切换示意图, 如图 6所示, 以从 CDMA切换 到 WLAN的切换过程为例, 整个切换过程包括准备过程以及执行过程, 准备过程中, 终端先选定可用 AP, 获取 WLAN层的接入 IP, 向 WAG网关进行注册、 鉴权, 此期 间保持 CDMA连接和数据传输;执行过程是指终端向 WAG鉴权成功并重新绑定了 PPP 链路网络端口后, 断开 CDMA连接, PSDN不需要执行 PPP重协商和 PPP鉴权。 切 换步骤为终端和 AP关联后,向 WAG发起注册过程,然后经 WAG想 PSDN发起注册, 成功后 PSDN向 WAG响应注册消息, 且 PDSN与目标 WAG间建立新的业务连接, PDSN将用户的业务更新到新的连接上。 PDSN发送业务更新消息给 CDMA网络接入 的 PCF,通知 PCF释放原来的业务连接。 PCF收到更新消息后, 回应 PSDN—个 ACK 消息, 紧接着发送一个业务停止消息到 PSDN。 PSDN响应 PCF的停止消息, CDMA 的网络连接被释放, 网络切换流程完成。 图 7是根据本发明优选实施例的 PPP链路网络端口动态绑定的示意图, 如图 7所 示, 无线视频监控终端采用用户空间 PPP实现方式, 在 PPP驱动程序中, 每一个网络 接口对应一条 PPP传输通道 ( channel ), 每一个内核 PPP设备对应一个 PPP接口单元 (unit), 建立 PPP链路时, 将网口对应的传输通道和内核 PPP设备(PPP0)对应的接 口单元连接在一起进行数据的收发。 而如果在建立 PPP链路后, 将另一个网口对应的 传输通道和接口单元进行连接, 解除原先传输通道的连接, 则该 PPP链路就可以通过 另外一个物理网络进行数据收发, 从而完成网络的切换。 该过程包括: 终端上电后,通过 CDMA无线模块的 ttyUsBO设备和 PSDN建立 PPP链路。当切 换到 WLAN网络时, 先通过系统调用为 WLAN无线模块对应的 wlanO网口获取一个 可用的传输通道, 接口调用可以采用下面的方式, 但不限于此: nNewFd = open( dev/ttyAMAl", O NO BLOCK | O RDWR, 0); ioctl(nNewFd, PPPIOCGCHAN, &nNewChann) == -1) 打开内核 PPP模块的设备文件 /dev/ppp, 将其和 wlanO对应的传输通道绑定。 new_ppp_fd = open("/dev/ppp", O RDWR); ioctl(new_ppp_fd, PPPIOCATTCHAN, & nNewChann) 解除接口单元和 PPP设备文件的连接, 然后将 wlanO网口绑定的设备文件和接口 单元连接起来。 通过以上操作, 就完成了由 CDMA网络切换到 WLAN网络时的端口动态绑定。 在另外一个实施例中, 还提供了一种网络切换软件, 该软件用于执行上述实施例 及优选实施例中描述的技术方案。 在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上述传输时 延控制软件, 该存储介质包括但不限于光盘、 软盘、 硬盘、 可擦写存储器等。 通过上述实施例及其优选实施例, 通过 CDMA等 3G网络与 WLAN网络之间进 行无缝网络切换的移动通信终端及方法, 在检测到 WLAN网络信号时能够从 3G网络 切换到 WLAN, 或者 WLAN网络信号消失时能够从 WLAN网络切换到 3G网络, 保 证切换过程中数据业务不被中断, 切换过程不被用户感知的无缝网络切换技术。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而可以将 它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限 制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 BS, PCF, WAG, AP, and PSDN are all network access equipment units of the telecom network. BS refers to the radio signal base station, PCF is the packet control function unit, WAG is the access gateway of the WLAN network, and the AP is the WLAN network. Access point, PDSN refers to the packet data service node. The working principle and access mode of the above-mentioned core network access unit can refer to relevant telecommunication technical specifications. The following description will be made in conjunction with the above devices. After the power-on is started, the wireless terminal establishes a network connection through the CDMA network and the platform, and simultaneously starts the WIFI module to search for the accessible WLAN AP hotspot, and monitors the WLAN network signal in real time. When the signal strength is greater than the cut-in value, the terminal and the AP perform the The association is performed, and the AP is registered and authenticated to the WAG through the AP. After the authentication succeeds, the network transmission unit corresponding to the PPP link is bound to the physical network port corresponding to the WLAN through the PPP link network port fixed binding mode. The service data is transmitted and received through the physical network port of the WIFI, and then the transmission unit of the CDMA network and the PPP link are unbound, and the CDMA network is disconnected, thereby implementing network switching. If the terminal device registers with the WAG gateway or fails to authenticate, it searches for an available AP again and initiates a registration authentication request again. If it has failed, the process is repeated and the CDMA network is kept disconnected. 4 is a schematic diagram of a network switching network according to a preferred embodiment of the present invention. As shown in FIG. 4, in the network switching network, when a dual-mode network terminal is in a WLAN coverage area, it can be connected to a WLAN AP and access the core through the WAG. In the CDMA network coverage area, the PCF can access the core network. When the network is switched (for example, from CDMA to WLAN), the terminal only needs to complete the registration and authentication to the WAG, and the PSDN stops. The PCF sends the downlink data, and instead sends the downlink data to the WAG, and the terminal network access mode is switched. FIG. 5 is a flowchart of a network switching of a wireless video monitoring device according to a preferred embodiment of the present invention. As shown in FIG. 5, the process includes the following steps: Step S502: Turn on the terminal device, power on, δΡ, and power on the wireless video monitoring device. start up. Step S504, the wireless video monitoring device turns on the WIFI module. Step S506, accessing the core network through the CDMA wireless module, and establishing a PPP link with the PDSN to meet the data service requirements of the user. It should be noted that the order of execution of step S504 and step S506 is not limited thereto, and may be changed or may be performed at the same time. Step S508, searching for the currently available AP hotspot, and monitoring the signal strength of the AP in real time. Step S510, determining whether the searched AP signal strength satisfies the condition of the network handover, for example, whether the signal strength is greater than the cut-in value. If yes, step S512 is performed, and if the handover condition is not met, step S508 is performed. It should be noted that the determination of the network switching condition may be set according to the comparison result of the current WIFI signal strength and the WLAN network cut-in value and the cut-out value. In order to avoid repeated network switching, the switching from the CDMA network to the WLAN is respectively set. The critical value of the network and the threshold for switching from the WLAN network to the CDMA network are called the cut-in value and the cut-out value. When the WIFI signal strength is greater than the cut-in value, it is determined that the network switching condition from CDMA to WLAN is satisfied, and vice versa. When the signal strength is less than the cut-out value, it is determined that the handover condition from the WLAN network to the CDMA network is satisfied. In general, the cut-in is always greater than the cut-out value. Step S512: When it is detected that the signal strength of an AP is greater than the cut-in value, the terminal device associates with the AP, that is, the terminal device initiates network handover from the CDMA network to the WLAN network. If the association fails, the process returns to step S508 to re-detect the network signal, and if the association is successful, step S514 is performed. Step S514: The wireless video monitoring terminal initiates a registration and authentication request to the WAG of the core network by using the associated AP. In step S516, it is determined whether the authentication is successful. If the step S518 is successfully performed, the association between the terminal and the AP is disconnected, and the process returns to step S512 to re-initiate the association request with the AP, or returns to step S508. Step S518, the PPP link established by the terminal through the CDMA network and the PDSN is bound to the network interface of the WLAN network by means of dynamic binding of the PPP link port, and then the network interface and the PPP link of the CDMA network are solved. Bind. Step S520, disconnecting the 3G network. Through the above steps, the replacement of the transmission unit corresponding to the PPP link terminal is implemented without re-initiating the PPP link negotiation, so that the subsequent service data is transmitted and received through the network interface corresponding to the WLAN, and the network is switched. The handover process is completely triggered by the terminal device, is not perceived by the user, and does not need to renegotiate the PPP link, thereby implementing seamless network switching between networks. In step S522, the heartbeat packet keeps alive and continues to detect the Wifi signal strength. In step S524, it is determined whether the network signal of the associated AP is smaller than the cut-out value. If not less, step S522 is performed, and if less, the access network of the wireless video monitoring device is switched from WLAN to CDMA. Need It should be noted that the handover procedure is similar to the previously described procedure for switching from CDMA to WLAN network, and has not been described again. In step S526, after the terminal device is cut out from the WLAN network, the association between the terminal device and the current AP needs to be disconnected, and step S508 is performed to re-detect the WLAN network signal. According to the foregoing implementation manner, compared with the existing dual-network wireless video monitoring device and the network switching mode thereof, the device can automatically complete the network switching, the switching process does not require manual user participation, and the user has no perception, and the data service is not Interrupted, enabling seamless network switching. Therefore, the wireless video monitoring device and the network switching method in this embodiment can greatly improve the user's perception of the application of the wireless video surveillance and promote the development of the wireless video surveillance technology. 6 is a schematic diagram of network switching according to a preferred embodiment of the present invention. As shown in FIG. 6, the handover process from CDMA to WLAN is taken as an example. The entire handover process includes a preparation process and an execution process. In the preparation process, the terminal selects first. The AP can obtain the access IP of the WLAN layer, register and authenticate the WAG gateway, and maintain the CDMA connection and data transmission during the period. The implementation process is that the terminal successfully authenticates the WAG and re-binds the PPP link network port. , disconnect the CDMA connection, PSDN does not need to perform PPP renegotiation and PPP authentication. After the terminal is associated with the AP, the handover procedure is initiated to the WAG, and then the WAG initiates registration with the PSDN. After the success, the PSDN responds to the WAG with a registration message, and the PDSN establishes a new service connection with the target WAG, and the PDSN updates the service of the user. Go to the new connection. The PDSN sends a service update message to the PCF accessed by the CDMA network, informing the PCF to release the original service connection. After receiving the update message, the PCF responds to the PSDN-ACK message, and then sends a service stop message to the PSDN. The PSDN responds to the PCF stop message, the CDMA network connection is released, and the network handover procedure is completed. FIG. 7 is a schematic diagram of dynamic binding of a PPP link network port according to a preferred embodiment of the present invention. As shown in FIG. 7, the wireless video monitoring terminal adopts a user space PPP implementation manner, and in the PPP driver, each network interface corresponds to one PPP transmission channel (channel), each core PPP device corresponds to a PPP interface unit (unit). When a PPP link is established, the corresponding transmission channel of the network port and the interface unit corresponding to the kernel PPP device (PPP0) are connected together for data. Send and receive. If, after the PPP link is established, the transmission channel corresponding to the other network port is connected to the interface unit to disconnect the original transmission channel, the PPP link can transmit and receive data through another physical network, thereby completing the network. Switching. The process includes: After the terminal is powered on, the PPP link is established through the ttyUsBO device of the CDMA wireless module and the PSDN. When switching to the WLAN network, first obtain an available transmission channel for the wlanO network port corresponding to the WLAN wireless module through the system call. The interface call can be as follows: but not limited to: nNewFd = open( dev/ttyAMAl", O NO BLOCK | O RDWR, 0); Ioctl(nNewFd, PPPIOCGCHAN, &nNewChann) == -1) Open the device file /dev/ppp of the kernel PPP module and bind it to the transmission channel corresponding to wlanO. New_ppp_fd = open("/dev/ppp", O RDWR); ioctl(new_ppp_fd, PPPIOCATTCHAN, & nNewChann) Unlink the interface unit and the PPP device file, and then connect the device file and interface unit bound to the wlanO network port. Through the above operations, the port dynamic binding when switching from the CDMA network to the WLAN network is completed. In another embodiment, a network switching software is also provided, which is used to implement the technical solutions described in the foregoing embodiments and preferred embodiments. In another embodiment, a storage medium is provided, in which the above-described transmission delay control software is stored, including but not limited to an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like. Through the above embodiments and preferred embodiments thereof, a mobile communication terminal and method for seamless network switching between a 3G network such as CDMA and a WLAN network can switch from a 3G network to a WLAN or a WLAN network when detecting a WLAN network signal When the signal disappears, it can switch from the WLAN network to the 3G network, ensuring that the data service is not interrupted during the handover process, and the handover process is not perceived by the user as a seamless network handover technology. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种网络切换方法, 包括: A network switching method, comprising:
将无线终端通过第一接入网络和核心网建立的点到点链路绑定到第二接入 网络的网络接口上; 解除所述第一接入网络的网络端口和所述点到点链路的绑定。  Binding a point-to-point link established by the wireless terminal through the first access network and the core network to a network interface of the second access network; releasing the network port of the first access network and the point-to-point chain The binding of the road.
2. 根据权利要求 1所述的方法, 其中, 将所述无线终端通过所述第一接入网络和 所述核心网建立的所述点到点链路绑定到所述第二接入网络的网络接口上之 前, 所述无线终端监测到的所述第二网络满足预先设定的切换条件, 并发起从 所述第一接入网络到所述第二接入网络的切换。 2. The method according to claim 1, wherein the point-to-point link established by the wireless terminal through the first access network and the core network is bound to the second access network Before the network interface, the second network monitored by the wireless terminal satisfies a preset handover condition, and initiates a handover from the first access network to the second access network.
3. 根据权利要求 2所述的方法, 其中, 所述切换条件包括: 所述第二接入网络的 信号强度大于阈值。 The method according to claim 2, wherein the handover condition comprises: a signal strength of the second access network is greater than a threshold.
4. 根据权利要求 1所述的方法, 其中, 所述无线终端通过以下步骤将所述无线终 端中的所述点到点链路从第一模块切换至第二模块, 其中, 所述第一模块设置 为接入到所述第一接入网络, 所述第二模块设置为接入到所述第二接入网络: 为所述第二模块对应的网口获取一个可用的传输通道; 4. The method according to claim 1, wherein the wireless terminal switches the point-to-point link in the wireless terminal from a first module to a second module, where the first The module is configured to access the first access network, and the second module is configured to access the second access network: obtain an available transmission channel for the network port corresponding to the second module;
将所述可用的传输通道与所述无线终端中的接口单元连接, 其中, 所述接 口单元设置为提供点对点链路接口;  Connecting the available transmission channel to an interface unit in the wireless terminal, wherein the interface unit is configured to provide a point-to-point link interface;
断开所述第一模块与所述接口单元的连接。  Disconnecting the first module from the interface unit.
5. 根据权利要求 1至 4中任一项所述的方法, 其中, 所述无线终端为无线监控设 备。 The method according to any one of claims 1 to 4, wherein the wireless terminal is a wireless monitoring device.
6. 一种网络切换系统, 包括: 无线终端、第一接入网络、第二接入网络和核心网, 所述核心网包括: A network switching system, comprising: a wireless terminal, a first access network, a second access network, and a core network, where the core network includes:
绑定模块, 设置为将无线终端通过第一接入网络和所述核心网建立的点到 点链路绑定到第二接入网络的网络接口上;  a binding module, configured to bind a point-to-point link established by the wireless terminal through the first access network and the core network to a network interface of the second access network;
解除模块, 设置为解除所述第一接入网络的网络端口和所述点到点链路的 绑定。 根据权利要求 6所述的系统, 其中, 所述无线终端包括: 发起模块, 设置为在 将所述无线终端通过所述第一接入网络和所述核心网建立的所述点到点链路绑 定到所述第二接入网络的网络接口上之前, 在监测到的所述第二接入网络满足 预先设定的切换条件时, 发起从第一接入网络到所述第二接入网络的切换。 根据权利要求 7所述的系统, 其中, 所述切换条件包括: 所述第二接入网络的 信号强度大于阈值。 根据权利要求 6所述的系统, 其中, 所述无线终端包括: 所述第一模块, 设置为接入到所述第一接入网络; And releasing the module, configured to release the binding of the network port of the first access network and the point-to-point link. The system according to claim 6, wherein the wireless terminal comprises: an initiating module, configured to set the point-to-point link established by the wireless terminal through the first access network and the core network Before being bound to the network interface of the second access network, initiating from the first access network to the second access when the monitored second access network meets a preset handover condition Network switching. The system according to claim 7, wherein the switching condition comprises: a signal strength of the second access network is greater than a threshold. The system according to claim 6, wherein the wireless terminal comprises: the first module, configured to access the first access network;
所述第二模块, 设置为接入到所述第二接入网络;  The second module is configured to access to the second access network;
获取模块, 设置为为所述第二模块对应的网口获取一个可用的传输通道; 连接模块, 设置为将所述可用的传输通道与所述无线终端中的接口单元连 接, 并断开所述第一模块与所述接口单元的连接;  An obtaining module, configured to acquire an available transmission channel for the network port corresponding to the second module; and a connection module, configured to connect the available transmission channel with an interface unit in the wireless terminal, and disconnect the a connection of the first module to the interface unit;
所述接口单元, 设置为提供点对点链路接口。 根据权利要求 6至 9中任一项所述的系统, 其中, 所述无线终端为无线监控设 备。  The interface unit is configured to provide a point-to-point link interface. The system according to any one of claims 6 to 9, wherein the wireless terminal is a wireless monitoring device.
PCT/CN2012/074678 2011-06-24 2012-04-25 Network switching method and system WO2012174944A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110173578.3 2011-06-24
CN201110173578.3A CN102244912A (en) 2011-06-24 2011-06-24 Method and system for switching networks

Publications (1)

Publication Number Publication Date
WO2012174944A1 true WO2012174944A1 (en) 2012-12-27

Family

ID=44962655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074678 WO2012174944A1 (en) 2011-06-24 2012-04-25 Network switching method and system

Country Status (2)

Country Link
CN (1) CN102244912A (en)
WO (1) WO2012174944A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244912A (en) * 2011-06-24 2011-11-16 中兴通讯股份有限公司 Method and system for switching networks
CN102497659B (en) * 2011-12-05 2014-08-13 中国电信股份有限公司 Method and system for network selection under dual-network coverage, and dual-mode terminal
CN103313319B (en) * 2012-03-09 2015-11-25 中国电信股份有限公司 Realize method and the terminal of rete mirabile switching based on AP in android system
CN105472678B (en) * 2014-07-31 2020-06-26 腾讯科技(深圳)有限公司 Wireless network switching method and device and terminal equipment
EP3065469B1 (en) * 2015-03-04 2017-10-11 Alcatel Lucent Peer-to-peer network connectivity in a mobile environment
CN106162598B (en) * 2015-04-10 2019-09-17 电信科学技术研究院 A kind of user equipment is to the communication means and device under network relay scene
CN105828395A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Method and device of WiFi adaptive selection and connection
CN106028410A (en) * 2016-06-28 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal network switching method and apparatus
CN106374968A (en) * 2016-11-11 2017-02-01 中车大连电力牵引研发中心有限公司 Wireless communication device and method
CN106658588A (en) * 2016-12-21 2017-05-10 广东欧珀移动通信有限公司 Network quality detection method and device and computer equipment
WO2019037011A1 (en) * 2017-08-24 2019-02-28 深圳双创科技发展有限公司 Method for switching terminal from wifi network to cellular network, and terminal
CN110710306B (en) * 2018-04-10 2023-02-07 Oppo广东移动通信有限公司 Communication method, terminal and network equipment
CN110958159B (en) * 2019-11-22 2021-05-11 英业达科技有限公司 Configuration method, system, readable storage medium and device for adaptive network pressure measurement
CN113364639B (en) * 2020-03-03 2023-09-08 成都鼎桥通信技术有限公司 Method, system and device for switching transmission links of small station

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656741A (en) * 2002-05-28 2005-08-17 北方电讯网络有限公司 Efficient handoffs between cellular and wireless local area networks
CN101453766A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Method for switching from UMB system to DO system
CN101562853A (en) * 2008-04-17 2009-10-21 中兴通讯股份有限公司 Method for switching from microwave access worldwide interoperability system to high-speed packet data system
CN101808378A (en) * 2010-04-01 2010-08-18 上海交通大学 Fast vertical handoff method of mobile terminal in heterogeneous network
CN102244912A (en) * 2011-06-24 2011-11-16 中兴通讯股份有限公司 Method and system for switching networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656741A (en) * 2002-05-28 2005-08-17 北方电讯网络有限公司 Efficient handoffs between cellular and wireless local area networks
CN101453766A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Method for switching from UMB system to DO system
CN101562853A (en) * 2008-04-17 2009-10-21 中兴通讯股份有限公司 Method for switching from microwave access worldwide interoperability system to high-speed packet data system
CN101808378A (en) * 2010-04-01 2010-08-18 上海交通大学 Fast vertical handoff method of mobile terminal in heterogeneous network
CN102244912A (en) * 2011-06-24 2011-11-16 中兴通讯股份有限公司 Method and system for switching networks

Also Published As

Publication number Publication date
CN102244912A (en) 2011-11-16

Similar Documents

Publication Publication Date Title
WO2012174944A1 (en) Network switching method and system
US9516569B2 (en) Handover method, system, and device
US8199719B2 (en) Methods and apparatus for performing handover between a long term evolution (LTE) network and another type of radio access network
WO2019192417A1 (en) Service diversion indication method and device
US11582656B2 (en) 5GSM handling on invalid PDU session
US20140349579A1 (en) Method, Device, and System for Establishing Device-To-Device Connection
KR20120047943A (en) Method and device for switching
US20160119347A1 (en) Method for Updating Identity Information about Packet Gateway, AAA Server and Packet Gateway
WO2011088787A1 (en) Method and device for handover in access point network
WO2013139242A1 (en) Information recording method, information obtaining method, device and system
WO2010075729A1 (en) Method and system for controlling data transmission path, mobility management network element and terminal
WO2012130065A1 (en) Network selection method and device
WO2012171403A1 (en) Method and system supporting multi-interface multi-connection communication
WO2013127326A1 (en) Multi-mode wireless communication system control method, control server and terminal
WO2010078725A1 (en) Method for network handover, user equipment, gateway and network system thereof
WO2014029065A1 (en) Method and device for displaying network name
WO2014101042A1 (en) Communication method and device based on redirected circuit switched fallback
WO2014029060A1 (en) Method and device for displaying network name
WO2012162976A1 (en) Method and device for acquiring wifi access point information
WO2015096133A1 (en) Method for switchover, user equipment, base station, and access point
JP2018527838A (en) Network instruction processing apparatus, method, and communication system
US20090005047A1 (en) Media independent vertical handovers
WO2012126383A1 (en) Service establishment method, device and system
WO2010099741A1 (en) Network selection method, device and terminal
WO2016149911A1 (en) Access point automatic switching method and wireless routing device

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

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

Country of ref document: EP

Kind code of ref document: A1