WO2016165235A1 - Wireless network connection method, device and terminal - Google Patents

Wireless network connection method, device and terminal Download PDF

Info

Publication number
WO2016165235A1
WO2016165235A1 PCT/CN2015/085069 CN2015085069W WO2016165235A1 WO 2016165235 A1 WO2016165235 A1 WO 2016165235A1 CN 2015085069 W CN2015085069 W CN 2015085069W WO 2016165235 A1 WO2016165235 A1 WO 2016165235A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless access
access point
network
wireless
detecting
Prior art date
Application number
PCT/CN2015/085069
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 WO2016165235A1 publication Critical patent/WO2016165235A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • This document relates to the field of mobile communications, and in particular, to a WLAN (wireless LAN) wireless network connection method, device and terminal.
  • WLAN wireless LAN
  • WLAN APs wireless access points
  • Data cards and CPE (High Speed Wireless Gateway) devices are a portable communication terminal that can provide network access for one or more users. Users can access the network simply and quickly through such devices, so they are getting more and more widely used.
  • CPE terminal devices in the related art can support the access of 3G/4G, WLAN and wired network interfaces.
  • a corresponding switching page is provided for the user to manually select the corresponding interface to switch; a slightly better one will add some simple priority processing, such as WLAN priority, when the device detects that the preset WLAN AP signal exists, it will automatically try to connect.
  • Wi-Fi network The real WLAN environment is complex. There may be multiple WLAN APs or multiple APs in the same WLAN AP. At the same time, users may also be moving fast. Therefore, how to quickly and stably access the WLAN AP and provide convenient Internet services has become a major technical difficulty for MIFI and CPE terminal devices.
  • the related art only uses the priority of the WLAN AP and the AP signal strength to select the connected AP.
  • the AP cannot be connected to the Internet or the networking speed is slow. In this case, the user cannot manually detect the abnormal situation and the user cannot perform normal network access. Go to other network interfaces. The complexity of the use of the WLAN AP is increased, which has a large negative impact on the normal use of the user and the user experience.
  • the embodiment of the invention provides a method, a device and a terminal for connecting a wireless access point, and detecting the network connection rate of the wireless access point in real time before connecting to the wireless access point, ensuring the connected The reachability and stability of the WLAN network.
  • An embodiment of the present invention provides a method for connecting a wireless network, where the method includes: detecting whether a scanned wireless access point is connectable; and detecting that the wireless access point is connectable, detecting the wireless access The network performance of the point; determining, according to the network performance of the wireless access point, whether the wireless access point is selected for wireless network connection.
  • determining, according to the network performance of the wireless access point, whether the wireless access point is selected to perform the wireless network connection includes: determining whether the network performance of the wireless access point meets a preset condition; If the network performance of the access point can meet the preset condition, connect to the wireless access point to perform a wireless network connection; and if the network performance of the wireless access point cannot meet the preset condition, switch Re-wire the wireless network to other networks.
  • switching to another network to perform the wireless network connection includes: the network performance of the wireless access point cannot meet the foregoing
  • it is determined whether there are other wireless access points connectable if the other wireless access points are present, the other wireless access points are switched according to the priority and signal strength of the other wireless access points.
  • a wireless access point if the other wireless access point does not exist, switch to another network to re-connect the network.
  • the method further includes: acquiring a preset wireless access point list; and scanning the wireless access point in the wireless access point list, Detect the signal strength of the scanned wireless access point to determine if it can be connected.
  • the method further includes: switching to another network after determining that the preset wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable Make a network connection.
  • the network performance includes a network connection rate; and the preset condition includes a preset network connection rate.
  • detecting network performance of the wireless access point includes: detecting that the wireless access point is connectable, detecting the terminal WLAN side The traffic of the sending packet port and the receiving packet port is based on the traffic, and the network connection rate of the wireless access point is detected in real time.
  • the embodiment of the invention further provides a device for connecting a wireless access point, the device comprising: a detecting module, configured to detect whether a scanned wireless access point is connectable; and determining that the wireless access point can be connected And detecting, by the connection module, a connection module, configured to determine whether to connect the wireless access point according to the network performance of the detected wireless access point.
  • the connection module includes a determining unit and a processing unit: the determining unit is configured to determine whether a network performance of the wireless access point meets a preset condition; and the processing unit is configured to determine, at the determining unit, Connecting to the wireless access point if the network performance of the wireless access point can meet a preset condition; and switching to another if the network performance of the wireless access point cannot meet the preset condition The network reconnects to the network.
  • the processing unit switches to another network to re-connect the network if the network performance of the wireless access point cannot meet the preset condition, including: network performance at the wireless access point. If the preset condition is not met, the processing unit determines whether there is another connectable wireless access point; if the other wireless access point exists, according to the priority of the other wireless access point and The signal strength switch reconnects the other wireless access points; if the other wireless access points are not present, then switches to another network to re-connect the network.
  • the device further includes a scanning module, the scanning module is configured to: obtain a preset wireless access point list; scan the wireless access point in the wireless access point list, and detect the wireless access The signal strength of the point to determine if it can be connected.
  • the scanning module is configured to: obtain a preset wireless access point list; scan the wireless access point in the wireless access point list, and detect the wireless access The signal strength of the point to determine if it can be connected.
  • connection module is further configured to: switch to another when determining that the preset wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable The network reconnects to the network.
  • the device further includes a recording module, the recording module is configured to save a preset wireless access point list, and the recording module provides the setting of the wireless access point in the form of a touch interface or a webpage page.
  • the network performance includes a network connection rate; and the preset condition includes a preset network connection rate.
  • the detecting module detects that the wireless access point is connectable
  • the network performance of the wireless access point includes: the detecting module, when determining that the wireless access point is connectable, detecting traffic of a packet port and a receiving packet port of the terminal WLAN, based on the traffic And detecting the network connection rate of the wireless access point in real time.
  • An embodiment of the present invention further provides a terminal, where the terminal includes a processor, where the processor is configured to detect whether a scanned wireless access point is connectable; and when determining that the wireless access point can be connected, detecting a network connection rate of the wireless access point; performing a wireless network connection according to the detected network connection rate of the wireless access point.
  • the performing, by the processor, the wireless network connection according to the detected network connection rate of the wireless access point the determining, by the processor, whether the network performance of the wireless access point meets a preset condition; When the network performance of the wireless access point can meet the preset condition, connecting to the wireless access point for wireless network connection; if the network performance of the wireless access point cannot meet the preset condition , switch to another network to re-wire the wireless network.
  • switching to another network to perform wireless network connection includes: network performance of the processor at the wireless access point If the preset condition is not met, it is determined whether there are other wireless access points connectable; if the other wireless access point exists, switching according to the priority of the other wireless access points and the signal strength Connecting the other wireless access points; if the other wireless access points are not present, switching to another network to re-connect the network.
  • the processor is further configured to: before detecting whether the scanned wireless access point is connectable, acquire a wireless access point list, scan a wireless access point in the wireless access point list, and detect The signal strength of the scanned wireless access point to determine if it can be connected.
  • the processor is further configured to: switch to another network to perform re-operation when determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable Internet connection.
  • the determining, by the processor, that the wireless access point is connectable, detecting a network connection rate of the wireless access point includes: determining, by the processor, that the wireless access point is connectable In this case, the traffic of the packet port and the receiving packet port of the terminal WLAN is detected, and the network connection rate of the wireless access point is detected in real time based on the traffic.
  • An embodiment of the present invention further provides a computer readable storage medium, where program instructions are stored, when The above method can be implemented when program instructions are executed.
  • the wireless access method and device provided by the embodiments of the present invention can detect whether the network to be connected is unstable or the network speed is slow before connecting to the WLAN AP, and determine that the network performance is qualified before accessing.
  • WLAN AP Therefore, it is ensured that the network after the connection does not have network instability or slow network speed, thereby improving the user experience.
  • FIG. 1 is a flowchart of a wireless network connection method in an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for connecting a wireless access point according to an embodiment of the present invention
  • FIG. 3 is a schematic block diagram of a wireless network connection device in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another module of a wireless network connection device in an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for ping in an embodiment of the present invention.
  • a method for wireless network connection includes:
  • Step 10 Detect whether the scanned wireless access point can be connected
  • Step 20 In case determining that the wireless access point is connectable, detecting network performance of the wireless access point;
  • Step 30 Determine, according to network performance of the wireless access point, whether the wireless access point is selected to perform a wireless network connection.
  • Determining whether the wireless access point is selected for the wireless network connection includes: determining whether the network performance of the wireless access point meets a preset condition; and if the network performance of the wireless access point can meet a preset condition, Connecting to the wireless access point for wireless network connection; if the network performance of the wireless access point cannot meet the preset condition, switching to another network to re-establish a wireless network connection.
  • switching to another network to perform the wireless network connection includes: the network performance of the wireless access point cannot meet the preset condition.
  • the network performance of the wireless access point cannot meet the preset condition. In the case of determining whether there are other wireless access points connectable; if the other wireless access points are present, reconnecting the other wireless access points according to the priorities of the other wireless access points and the signal strength switching If the other wireless access points do not exist, switch to another network to re-connect the network.
  • the method may further include: acquiring a wireless access point list; scanning the wireless access point in the wireless access point list, and detecting the scanned wireless connection The signal strength of the in point to determine if it can be connected.
  • the method may further include: after determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable, switching to another network to re-connect the network.
  • the network performance includes a network connection rate; the preset condition includes a preset network connection rate.
  • detecting network performance of the wireless access point includes: detecting that the WLAN side sends a message port when the wireless access point is connectable And receiving traffic of the packet port, and detecting, according to the traffic, a network connection rate of the wireless access point in real time.
  • FIG. 2 is a flowchart of a method for connecting a wireless network access point according to an embodiment of the present invention, and mainly describes a main process of state detection and intelligent handover of multiple wireless access points (hereinafter referred to as WLAN APs). The following is a detailed description and description of the steps in the process according to the identification:
  • Step 101 Read the WLAN AP list; the WLAN AP list is preset to the terminal or manually added by the user, and the preset WLAN AP list is kept in the database of the terminal device before leaving the factory; after booting, the user can also pass the WEB.
  • UI network user interface
  • Step 102 it is determined whether the current WLAN AP list is empty; if it is empty, step 108 is performed, if not empty, step 103 is performed;
  • Step 103 Enable the WLAN function of the device, and scan the surrounding WLAN AP.
  • Step 104 detecting whether the signal strength of the preset WLAN AP can be connected; if there is currently no WLAN AP that can be connected, step 108 is performed, if there is currently a connectable WLAN AP, step 105 is performed;
  • Step 105 connecting to the WLAN AP
  • the WLAN AP is connected according to the priority of the preset WLAN AP list; if there are multiple APs (access points), the AP with the strongest signal strength is selected.
  • Step 106 it is determined whether the current WLAN AP connection is successful; if the Wi-Fi connection fails or the IP acquisition fails, step 107 is performed; if the Wi-Fi connection is successful and the IP acquisition is successful, step 109 is performed;
  • Step 107 Switching other connectable WLAN APs, if not, executing step 108, if yes, executing step 105;
  • Step 108 If the current WLAN AP list is empty or has no connectable WLAN AP, switch to another network, such as a 2G, 3G or 4G Internet access or a wired network interface of the SIM card;
  • another network such as a 2G, 3G or 4G Internet access or a wired network interface of the SIM card;
  • Step 109 detecting the current network connectivity state of the WLAN AP, determining whether the network is reachable by the connectivity detection technology, if not, executing step 107; if yes, executing step 110;
  • step 109 can detect the network connectivity status of the current AP by using a ping method flow, a trace route command, or a direct access page.
  • a ping method flow uses the following example:
  • the connectivity detection technology can send ping packets to the external network server to check whether the current network is reachable.
  • the external server is a server deployed on the Internet, for example: a free DNS server provided by Google. This is a fast, secure and completely free DNS resolution server (the primary server IP address is 8.8.8.8, and the standby server IP address is 8.8.4.4).
  • the communication is initiated by the device.
  • the external network server receives the ping request packet sent by the terminal, it constructs a corresponding ping response packet and sends it.
  • the device responds by pinging the ping response.
  • the text determines whether the network is connected, wherein the current network speed is determined by comparing the preset response time threshold with the ping message response time.
  • Step 110 Real-time detection of network connection performance parameters of the current AP; wherein, real-time network performance parameters can be detected by various technical means; and data of the currently connected network interface is analyzed to detect whether there is communication with high real-time requirements. If the performance requirements are met, step 111 is performed; if the performance requirements are not met, step 107 is performed;
  • step 111 the current BSSID connection is maintained, and the process returns to step 110.
  • the network performance in this embodiment is obtained by calculating the total traffic rate of the unidirectional data packet of the port for a long time.
  • the traffic of the interface that sends or receives the packet on the WLAN side (TX: the port traffic sent by the transmit; RX: the received port traffic) is calculated based on the traffic, and the current rate is obtained according to the formula: the traffic difference/time difference.
  • the download rate detection can be performed by means of FTP (File Transfer Protocol) or HTTP (HyperText Transfer Protocol) to obtain the download rate comparison information of the current AP.
  • FTP File Transfer Protocol
  • HTTP HyperText Transfer Protocol
  • a method of starting multiple threads simultaneously for a certain time of downloading may be adopted; in addition, in different interface situations, different speed measuring services may be selected to ensure the accuracy of the speed measuring data. Since the FTP or HTTP protocol is a standard protocol, it will not be described in more detail here.
  • APs should not be switched when detecting such applications. Wait for these. Switch after the business is stopped.
  • the sample library can support the continuous addition of new protocol samples.
  • the detection is implemented by bypassing the packet monitoring technology, such as tcpdump and original sockets. Bypassing and analyzing all network packets flowing through the MIFI and CPE, and determining the packet. Whether the feature matches the feature sample library, if it matches, it is considered that there is currently an application with high real-time requirements.
  • the WLAN AP is distinguished by a BSSID (Basic Service Set Identifier).
  • BSSID Basic Service Set Identifier
  • a wireless access point connecting device includes: a detecting module 31 configured to detect whether a scanned wireless access point is connectable; and determining the wireless access point The network performance of the wireless access point is detected in the case of being connectable; and the connection module 32 is configured to determine whether to connect the wireless access point according to the network performance of the detected wireless access point.
  • the connection module 32 includes a determining unit 321 and a processing unit 322: the determining unit 321 is configured to determine whether the network performance of the wireless access point meets a preset condition; and the processing unit 322 is configured to determine at the determining unit If the network performance of the wireless access point can meet the preset condition, connect to the wireless access point; if the network performance of the wireless access point cannot meet the preset condition, switch to The other network reconnects the network.
  • the processing unit 322 switches to another network to re-connect the network if the network performance of the wireless access point cannot meet the preset condition, including: the network performance of the wireless access point cannot meet the requirements.
  • the processing unit 322 determines whether there are other wireless access points connectable; if the other wireless access points are present, according to the priority and signal strength of the other wireless access points Switching to reconnect the other wireless access points; if the other wireless access points are not present, switching to another network to re-connect the network.
  • the device further includes a scanning module 33, the scanning module 33 is configured to: obtain a wireless access point list; scan a wireless access point in the wireless access point list, and detect a signal strength of the wireless access point, Determine if you can connect.
  • connection module 32 is further configured to: switch to another network to re-connect the network after determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable.
  • the apparatus also includes a recording module 34 configured to save a pre-set list of wireless access points, the recording module 34 providing settings for the wireless access point in the form of a touch interface or web page.
  • the detecting module 31 when determining that the wireless access point is connectable, detecting network performance of the wireless access point, including: the detecting module 31 determines that the wireless access point can be connected And detecting, by the terminal, the WLAN side to send the packet port and the received packet port, and detecting the network connection rate of the wireless access point in real time based on the traffic.
  • FIG. 4 is a schematic diagram of an apparatus according to an embodiment of the present invention.
  • the device comprises a recording module, a scanning module, a connection module and a detection module, wherein:
  • the recording module 401 is configured to save a preset or a WLAN AP list manually added by the user, and save the currently connectable WLAN AP information.
  • the module provides the user with the WLAN AP priority and rule setting function in the form of a TOUCH UI or a WEB page.
  • the user can configure the WLAN AP priority order, SSID name, and password, and other related configuration rules.
  • the device provides a default set of WLAN AP configurations at the factory.
  • the scanning module 402 is configured to scan the current surrounding WLAN AP information; the module detects the surrounding WLAN AP by sending a probe request message or passively accessing the beacon message of the external WLAN AP through the Wi-Fi chip.
  • the detecting module 404 is configured to detect a network connectivity state of the AP, and detect real-time network performance parameters by using various technical means; and simultaneously analyze data of the currently connected network interface to detect whether there is a high requirement for real-time performance. Communication exists; implementation details refer to the above.
  • the detection module 404 includes a calculation unit that is configured to:
  • WLAN side Calculate the current accumulated traffic by the WLAN sending or receiving packet interface using the following formula: traffic difference/time difference;
  • the connection module 403 is configured to obtain the currently connectable WLAN AP information from the recording module, select an optimal AP according to the priority and the signal strength, and initiate a connection;
  • the network connection of the current wireless access point is switched.
  • the terminal includes a processor, the processor is configured to detect whether a scanned wireless access point is connectable; and determining that the wireless access point can In the case of connection, detecting a network connection rate of the wireless access point; performing a wireless network connection according to the detected network connection rate of the wireless access point.
  • the processor may also be configured to perform other steps of the wireless connection method described above.
  • the method, the device and the terminal provided by the embodiments of the present invention can detect the network connection rate of the wireless access point in real time before connecting to the wireless access point, and ensure the reachability and stability of the connected WLAN network.

Landscapes

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

Abstract

A wireless network connection method, device and terminal. The method comprises: detecting whether scanned wireless access point is connectable; if the wireless access point is determined to be connectable, performing detection on network performance of the wireless access point; and according to the network performance of the wireless access point, selecting the wireless access point to establish a wireless network connection.

Description

一种无线网络连接的方法、装置及终端Method, device and terminal for wireless network connection 技术领域Technical field
本文涉及移动通讯领域,尤其涉及WLAN(wireless LAN,无线局域网)无线网络连接方法、装置及终端。This document relates to the field of mobile communications, and in particular, to a WLAN (wireless LAN) wireless network connection method, device and terminal.
背景技术Background technique
随着互联网的快速发展,公共场所、办公场所和家庭网络设备越来越多地使用无线接入点(WLAN AP)进行互联网服务。由于移动网络资费过高,用户希望使用WLAN AP接入来降低资费,数据卡以及CPE(高速无线网关)设备作为一种便携式的通讯终端,能够为一个或多个用户提供网络接入的功能,用户通过此类设备可以实现简单快速地接入网络,因此得到越来越多的广泛应用。相关技术中很多MIFI(便携式宽带无线装置)、CPE终端设备已经可以支持3G/4G、WLAN和有线三种网络接口的接入。提供了相应的切换页面让用户手动选择相应的接口进行切换;做的稍好些的会增加一些简单的优先级处理,如WLAN优先,当设备检测到预置WLAN AP信号存在时,会自动尝试连接WLAN网络。而真实的WLAN环境较为复杂,可能存在多个WLAN AP或同一WLAN AP存在多个AP。同时,用户也可能在快速移动中。所以如何快速、稳定地接入WLAN AP并提供便捷的Internet服务成为了MIFI、CPE终端设备的一大技术难点。With the rapid development of the Internet, public places, office places, and home network devices are increasingly using wireless access points (WLAN APs) for Internet services. Due to the high mobile network tariff, users want to use WLAN AP access to reduce tariffs. Data cards and CPE (High Speed Wireless Gateway) devices are a portable communication terminal that can provide network access for one or more users. Users can access the network simply and quickly through such devices, so they are getting more and more widely used. Many MIFI (portable broadband wireless devices) and CPE terminal devices in the related art can support the access of 3G/4G, WLAN and wired network interfaces. A corresponding switching page is provided for the user to manually select the corresponding interface to switch; a slightly better one will add some simple priority processing, such as WLAN priority, when the device detects that the preset WLAN AP signal exists, it will automatically try to connect. Wi-Fi network. The real WLAN environment is complex. There may be multiple WLAN APs or multiple APs in the same WLAN AP. At the same time, users may also be moving fast. Therefore, how to quickly and stably access the WLAN AP and provide convenient Internet services has become a major technical difficulty for MIFI and CPE terminal devices.
相关技术仅采用WLAN AP的优先级及AP信号强度来选择连接的AP。但存在以下问题:AP连通后无法联网或联网速度较慢,在这种情况下,此时用户手动切换AP无法检测并排除以上异常情况,从而导致用户无法正常进行网络访问,只能手动再次切换到其他网络接口上。提高了WLAN AP的使用复杂度,对用户正常使用和用户体验带来较大的负面影响。The related art only uses the priority of the WLAN AP and the AP signal strength to select the connected AP. However, the following problems exist: the AP cannot be connected to the Internet or the networking speed is slow. In this case, the user cannot manually detect the abnormal situation and the user cannot perform normal network access. Go to other network interfaces. The complexity of the use of the WLAN AP is increased, which has a large negative impact on the normal use of the user and the user experience.
发明内容Summary of the invention
本发明实施例提出了一种无线接入点连接的方法、装置及终端,在连接到无线接入点之前,实时检测无线接入点的网络连接速率,确保了连接后的 WLAN网络的可达及稳定。The embodiment of the invention provides a method, a device and a terminal for connecting a wireless access point, and detecting the network connection rate of the wireless access point in real time before connecting to the wireless access point, ensuring the connected The reachability and stability of the WLAN network.
本发明实施例提供一种无线网络连接的方法,所述方法包括:检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能;根据所述无线接入点的网络性能,判断是否选择所述无线接入点进行无线网络连接。An embodiment of the present invention provides a method for connecting a wireless network, where the method includes: detecting whether a scanned wireless access point is connectable; and detecting that the wireless access point is connectable, detecting the wireless access The network performance of the point; determining, according to the network performance of the wireless access point, whether the wireless access point is selected for wireless network connection.
可选地,根据所述无线接入点的网络性能,判断是否选择所述无线接入点进行无线网络连接包括:判断所述无线接入点的网络性能是否满足预设条件;在所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点进行无线网络连接;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接。Optionally, determining, according to the network performance of the wireless access point, whether the wireless access point is selected to perform the wireless network connection includes: determining whether the network performance of the wireless access point meets a preset condition; If the network performance of the access point can meet the preset condition, connect to the wireless access point to perform a wireless network connection; and if the network performance of the wireless access point cannot meet the preset condition, switch Re-wire the wireless network to other networks.
可选地,在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接包括:在所述无线接入点的网络性能不能满足所述预设条件的情况下,判断是否存在可连接的其他无线接入点;若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。Optionally, if the network performance of the wireless access point cannot meet the preset condition, switching to another network to perform the wireless network connection includes: the network performance of the wireless access point cannot meet the foregoing In the case of a preset condition, it is determined whether there are other wireless access points connectable; if the other wireless access points are present, the other wireless access points are switched according to the priority and signal strength of the other wireless access points. a wireless access point; if the other wireless access point does not exist, switch to another network to re-connect the network.
可选地,所述检测扫描到的无线接入点是否可以连接之前,所述方法还包括:获取预先设置的无线接入点列表;扫描所述无线接入点列表中的无线接入点,检测扫描到的无线接入点的信号强度,确定是否可以连接。Optionally, before the detecting whether the scanned wireless access point is connectable, the method further includes: acquiring a preset wireless access point list; and scanning the wireless access point in the wireless access point list, Detect the signal strength of the scanned wireless access point to determine if it can be connected.
可选地,所述方法还包括:在确定所述预先设置的无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。Optionally, the method further includes: switching to another network after determining that the preset wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable Make a network connection.
可选地,所述网络性能包括网络连接速率;所述预设条件包括预置的网络连接速率。Optionally, the network performance includes a network connection rate; and the preset condition includes a preset network connection rate.
可选地,所述在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能包括:在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。 Optionally, in the case that determining that the wireless access point is connectable, detecting network performance of the wireless access point includes: detecting that the wireless access point is connectable, detecting the terminal WLAN side The traffic of the sending packet port and the receiving packet port is based on the traffic, and the network connection rate of the wireless access point is detected in real time.
本发明实施例还提供一种无线接入点连接的装置,所述装置包括:检测模块,设置为检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能;以及连接模块,设置为根据所述检测的无线接入点的网络性能,判断是否连接所述无线接入点。The embodiment of the invention further provides a device for connecting a wireless access point, the device comprising: a detecting module, configured to detect whether a scanned wireless access point is connectable; and determining that the wireless access point can be connected And detecting, by the connection module, a connection module, configured to determine whether to connect the wireless access point according to the network performance of the detected wireless access point.
可选地,所述连接模块包括判断单元及处理单元:所述判断单元设置为判断所述无线接入点的网络性能是否满足预设条件;所述处理单元设置为在所述判断单元判断所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行网络连接。Optionally, the connection module includes a determining unit and a processing unit: the determining unit is configured to determine whether a network performance of the wireless access point meets a preset condition; and the processing unit is configured to determine, at the determining unit, Connecting to the wireless access point if the network performance of the wireless access point can meet a preset condition; and switching to another if the network performance of the wireless access point cannot meet the preset condition The network reconnects to the network.
可选地,所述处理单元在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行网络连接,包括:在所述无线接入点的网络性能不能满足所述预设条件的情况下,所述处理单元判断是否存在可连接的其他无线接入点;若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。Optionally, the processing unit switches to another network to re-connect the network if the network performance of the wireless access point cannot meet the preset condition, including: network performance at the wireless access point. If the preset condition is not met, the processing unit determines whether there is another connectable wireless access point; if the other wireless access point exists, according to the priority of the other wireless access point and The signal strength switch reconnects the other wireless access points; if the other wireless access points are not present, then switches to another network to re-connect the network.
可选地,所述装置还包括扫描模块,所述扫描模块设置为:获取预先设置的无线接入点列表;扫描所述无线接入点列表中的无线接入点,检测所述无线接入点的信号强度,确定是否可以连接。Optionally, the device further includes a scanning module, the scanning module is configured to: obtain a preset wireless access point list; scan the wireless access point in the wireless access point list, and detect the wireless access The signal strength of the point to determine if it can be connected.
可选地,所述连接模块还设置为:在确定所述预先设置的无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。Optionally, the connection module is further configured to: switch to another when determining that the preset wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable The network reconnects to the network.
可选地,所述装置还包括记录模块,所述记录模块设置为保存预先设置的无线接入点列表,所述记录模块以触摸界面或者网页页面的形式提供无线接入点的设置。Optionally, the device further includes a recording module, the recording module is configured to save a preset wireless access point list, and the recording module provides the setting of the wireless access point in the form of a touch interface or a webpage page.
可选地,所述网络性能包括网络连接速率;所述预设条件包括预置的网络连接速率。Optionally, the network performance includes a network connection rate; and the preset condition includes a preset network connection rate.
可选地,所述检测模块在确定所述无线接入点可以连接的情况下,检测 所述无线接入点的网络性能,包括:所述检测模块在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。Optionally, the detecting module detects that the wireless access point is connectable The network performance of the wireless access point includes: the detecting module, when determining that the wireless access point is connectable, detecting traffic of a packet port and a receiving packet port of the terminal WLAN, based on the traffic And detecting the network connection rate of the wireless access point in real time.
本发明实施例还提供一种终端,所述终端包括处理器,所述处理器设置为检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络连接速率;根据所述检测的无线接入点的网络连接速率,进行无线网络连接。An embodiment of the present invention further provides a terminal, where the terminal includes a processor, where the processor is configured to detect whether a scanned wireless access point is connectable; and when determining that the wireless access point can be connected, detecting a network connection rate of the wireless access point; performing a wireless network connection according to the detected network connection rate of the wireless access point.
可选地,所述处理器根据所述检测的无线接入点的网络连接速率,进行无线网络连接包括:所述处理器判断所述无线接入点的网络性能是否满足预设条件;在所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点进行无线网络连接;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接。Optionally, the performing, by the processor, the wireless network connection according to the detected network connection rate of the wireless access point, the determining, by the processor, whether the network performance of the wireless access point meets a preset condition; When the network performance of the wireless access point can meet the preset condition, connecting to the wireless access point for wireless network connection; if the network performance of the wireless access point cannot meet the preset condition , switch to another network to re-wire the wireless network.
可选地,在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接包括:所述处理器在所述无线接入点的网络性能不能满足所述预设条件的情况下,判断是否存在可连接的其他无线接入点;若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。Optionally, if the network performance of the wireless access point cannot meet the preset condition, switching to another network to perform wireless network connection includes: network performance of the processor at the wireless access point If the preset condition is not met, it is determined whether there are other wireless access points connectable; if the other wireless access point exists, switching according to the priority of the other wireless access points and the signal strength Connecting the other wireless access points; if the other wireless access points are not present, switching to another network to re-connect the network.
可选地,所述处理器还设置为在所述检测扫描到的无线接入点是否可以连接之前,获取无线接入点列表,扫描所述无线接入点列表中的无线接入点,检测扫描到的无线接入点的信号强度,确定是否可以连接。Optionally, the processor is further configured to: before detecting whether the scanned wireless access point is connectable, acquire a wireless access point list, scan a wireless access point in the wireless access point list, and detect The signal strength of the scanned wireless access point to determine if it can be connected.
可选地,所述处理器还设置为:在确定所述无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。Optionally, the processor is further configured to: switch to another network to perform re-operation when determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable Internet connection.
可选地,所述处理器在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络连接速率包括:所述处理器在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。Optionally, the determining, by the processor, that the wireless access point is connectable, detecting a network connection rate of the wireless access point includes: determining, by the processor, that the wireless access point is connectable In this case, the traffic of the packet port and the receiving packet port of the terminal WLAN is detected, and the network connection rate of the wireless access point is detected in real time based on the traffic.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该 程序指令被执行时可实现上述方法。An embodiment of the present invention further provides a computer readable storage medium, where program instructions are stored, when The above method can be implemented when program instructions are executed.
根据本发明实施例提供的方案,可在复杂的网络环境下保证多个WLAN AP之间的自动切换,极大提高多个WLAN AP切换和使用过程中的稳定性。而相关技术只根据优先级和信号强度连接WLAN AP,连接后的网络不稳定或网速缓慢时,用户需要手动切换,但手动切换也不能提前预知连接后的网络状况。相较于相关技术,本发明实施例提供的无线接入方法和装置,可以在连接WLAN AP之前就能检测出欲连接的网络是否不稳定或网速缓慢,确定网络性能合格后,才接入WLAN AP。从而保证在连接后的网络不会出现网络不稳定或网速缓慢,提升用户使用体验。According to the solution provided by the embodiment of the present invention, automatic switching between multiple WLAN APs can be ensured in a complex network environment, which greatly improves stability during handover and use of multiple WLAN APs. The related technology only connects the WLAN AP according to the priority and the signal strength. When the connected network is unstable or the network speed is slow, the user needs to manually switch, but the manual switching cannot predict the network status after the connection in advance. Compared with the related art, the wireless access method and device provided by the embodiments of the present invention can detect whether the network to be connected is unstable or the network speed is slow before connecting to the WLAN AP, and determine that the network performance is qualified before accessing. WLAN AP. Therefore, it is ensured that the network after the connection does not have network instability or slow network speed, thereby improving the user experience.
附图概述BRIEF abstract
图1是本发明实施例中的无线网络连接方法的流程图;1 is a flowchart of a wireless network connection method in an embodiment of the present invention;
图2是本发明实施例中一无线接入点的连接方法流程图;2 is a flowchart of a method for connecting a wireless access point according to an embodiment of the present invention;
图3是本发明实施例中的无线网络连接装置的模块示意图;3 is a schematic block diagram of a wireless network connection device in an embodiment of the present invention;
图4是本发明实施例中的无线网络连接装置的另一模块示意图;4 is a schematic diagram of another module of a wireless network connection device in an embodiment of the present invention;
图5是本发明实施例中的ping的方法流程图。FIG. 5 is a flowchart of a method for ping in an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下结合附图来说明本发明实施例。需要说明的是,在不冲突的情况下,本文中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the embodiments and the features in the embodiments may be combined with each other.
请参阅图1,本发明实施例的无线网络连接的方法包括:Referring to FIG. 1, a method for wireless network connection according to an embodiment of the present invention includes:
步骤10,检测扫描到的无线接入点是否可以连接;Step 10: Detect whether the scanned wireless access point can be connected;
步骤20,在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能;Step 20: In case determining that the wireless access point is connectable, detecting network performance of the wireless access point;
步骤30,根据所述无线接入点的网络性能,判断是否选择所述无线接入点进行无线网络连接。 Step 30: Determine, according to network performance of the wireless access point, whether the wireless access point is selected to perform a wireless network connection.
判断是否选择所述无线接入点进行无线网络连接包括:判断所述无线接入点的网络性能是否满足预设条件;在所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点进行无线网络连接;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接。Determining whether the wireless access point is selected for the wireless network connection includes: determining whether the network performance of the wireless access point meets a preset condition; and if the network performance of the wireless access point can meet a preset condition, Connecting to the wireless access point for wireless network connection; if the network performance of the wireless access point cannot meet the preset condition, switching to another network to re-establish a wireless network connection.
在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接包括:在所述无线接入点的网络性能不能满足所述预设条件的情况下,判断是否存在可连接的其他无线接入点;若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。If the network performance of the wireless access point cannot meet the preset condition, switching to another network to perform the wireless network connection includes: the network performance of the wireless access point cannot meet the preset condition. In the case of determining whether there are other wireless access points connectable; if the other wireless access points are present, reconnecting the other wireless access points according to the priorities of the other wireless access points and the signal strength switching If the other wireless access points do not exist, switch to another network to re-connect the network.
所述检测扫描到的无线接入点是否可以连接之前,所述方法还可包括:获取无线接入点列表;扫描所述无线接入点列表中的无线接入点,检测扫描到的无线接入点的信号强度,确定是否可以连接。Before the detecting whether the scanned wireless access point can be connected, the method may further include: acquiring a wireless access point list; scanning the wireless access point in the wireless access point list, and detecting the scanned wireless connection The signal strength of the in point to determine if it can be connected.
所述方法还可包括:在确定所述无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。The method may further include: after determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable, switching to another network to re-connect the network.
所述网络性能包括网络连接速率;所述预设条件包括预置的网络连接速率。The network performance includes a network connection rate; the preset condition includes a preset network connection rate.
所述在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能包括:在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。In the case that it is determined that the wireless access point is connectable, detecting network performance of the wireless access point includes: detecting that the WLAN side sends a message port when the wireless access point is connectable And receiving traffic of the packet port, and detecting, according to the traffic, a network connection rate of the wireless access point in real time.
请参阅图2,图2为本发明一个实施例的无线网络接入点的连接方法流程图,主要描述了多个无线接入点(以下称WLAN AP)状态检测以及智能化切换的主要过程,以下按照标识对流程中的步骤进行较详细的描述与说明:Referring to FIG. 2, FIG. 2 is a flowchart of a method for connecting a wireless network access point according to an embodiment of the present invention, and mainly describes a main process of state detection and intelligent handover of multiple wireless access points (hereinafter referred to as WLAN APs). The following is a detailed description and description of the steps in the process according to the identification:
步骤101,读取WLAN AP列表;所述WLAN AP列表是预先设置到终端或者用户手动添加生成,预置的WLAN AP列表在出厂前保持在终端设备的数据库里;开机后,用户也可以通过WEB UI(网络用户界面)连接设备 后手动添加WLAN AP;Step 101: Read the WLAN AP list; the WLAN AP list is preset to the terminal or manually added by the user, and the preset WLAN AP list is kept in the database of the terminal device before leaving the factory; after booting, the user can also pass the WEB. UI (network user interface) connection device Manually add a WLAN AP;
步骤102,判断当前WLAN AP列表是否为空;如果为空则执行步骤108,如果不为空则执行步骤103; Step 102, it is determined whether the current WLAN AP list is empty; if it is empty, step 108 is performed, if not empty, step 103 is performed;
步骤103,开启设备的WLAN功能,扫描周围的WLAN AP;Step 103: Enable the WLAN function of the device, and scan the surrounding WLAN AP.
步骤104,检测预先设置的WLAN AP的信号强度是否可以连接;如果当前没有可连接的WLAN AP,则执行步骤108,如果当前有可连接的WLAN AP,则执行步骤105; Step 104, detecting whether the signal strength of the preset WLAN AP can be connected; if there is currently no WLAN AP that can be connected, step 108 is performed, if there is currently a connectable WLAN AP, step 105 is performed;
步骤105,连接WLAN AP; Step 105, connecting to the WLAN AP;
其中,根据预先设置的WLAN AP列表的优先级进行连接WLAN AP;如果存在多个AP(接入点),则选择信号强度最强的AP连接。The WLAN AP is connected according to the priority of the preset WLAN AP list; if there are multiple APs (access points), the AP with the strongest signal strength is selected.
步骤106,判断当前WLAN AP连接是否成功;如果Wi-Fi连接失败或获取IP失败,则执行步骤107;如果Wi-Fi连接成功且获取IP成功,则执行步骤109; Step 106, it is determined whether the current WLAN AP connection is successful; if the Wi-Fi connection fails or the IP acquisition fails, step 107 is performed; if the Wi-Fi connection is successful and the IP acquisition is successful, step 109 is performed;
步骤107:切换其他可连接的WLAN AP,如果没有则执行步骤108,如果有,则执行步骤105;Step 107: Switching other connectable WLAN APs, if not, executing step 108, if yes, executing step 105;
步骤108,当前WLAN AP列表为空或没有可连接的WLAN AP时,则切换到其他网络,如SIM卡的2G、3G或4G上网或者有线网络接口;Step 108: If the current WLAN AP list is empty or has no connectable WLAN AP, switch to another network, such as a 2G, 3G or 4G Internet access or a wired network interface of the SIM card;
步骤109,检测当前WLAN AP的网络连通性状态,通过连通性检测技术判断网络是否可达,如果否,则执行步骤107;如果可达,执行步骤110; Step 109, detecting the current network connectivity state of the WLAN AP, determining whether the network is reachable by the connectivity detection technology, if not, executing step 107; if yes, executing step 110;
其中,请结合参照图5,步骤109可采用ping的方法流程、trace route命令检测或者直接访问页面等方式检测当前AP的网络连通性状态。以下举例采用ping的方法流程:For example, referring to FIG. 5, step 109 can detect the network connectivity status of the current AP by using a ping method flow, a trace route command, or a direct access page. The following example uses the ping method flow:
连通性检测技术可以通过设备向外网服务器发送ping报文来检测当前网络是否连通可达。外网服务器是部署在互联网上的一服务器,例如:Google提供的免费DNS服务器,这是一组快速,安全并且完全免费的DNS解析服务器(主服务器IP地址为8.8.8.8,备用服务器IP地址为8.8.4.4)。通讯采用一问一答的方式,由设备主动发起,当外网服务器收到终端所发送的ping请求报文后,构造相应的ping回应报文并发送,设备通过解析ping回应报 文判断网络是否连通,其中,通过预置响应时间阈值对比ping报文响应时间判断当前网络速度。The connectivity detection technology can send ping packets to the external network server to check whether the current network is reachable. The external server is a server deployed on the Internet, for example: a free DNS server provided by Google. This is a fast, secure and completely free DNS resolution server (the primary server IP address is 8.8.8.8, and the standby server IP address is 8.8.4.4). The communication is initiated by the device. When the external network server receives the ping request packet sent by the terminal, it constructs a corresponding ping response packet and sends it. The device responds by pinging the ping response. The text determines whether the network is connected, wherein the current network speed is determined by comparing the preset response time threshold with the ping message response time.
步骤110,实时检测当前AP的网络连接性能参数;其中,可通过多种技术手段检测实时网络性能参数;同时对当前连接网络接口的数据进行分析,检测是否存在对实时性要求很高的通讯存在;如果满足性能要求,则执行步骤111;如果无法满足性能要求,则执行步骤107;Step 110: Real-time detection of network connection performance parameters of the current AP; wherein, real-time network performance parameters can be detected by various technical means; and data of the currently connected network interface is analyzed to detect whether there is communication with high real-time requirements. If the performance requirements are met, step 111 is performed; if the performance requirements are not met, step 107 is performed;
步骤111,保持当前BSSID连接,返回步骤110。In step 111, the current BSSID connection is maintained, and the process returns to step 110.
其中,本实施例中网络性能通过计算定长时间内端口单向的数据包总流量获得速率。速率常用统计单位是比特/秒(bps),1Mbps=1024kbps,1kbps=1024bps。其中,分别计算WLAN侧发送或接收报文接口的流量(TX:transmit发送的端口流量;RX:receive接收到的端口流量),基于流量,根据算式:流量差/时间差获取当前速率。The network performance in this embodiment is obtained by calculating the total traffic rate of the unidirectional data packet of the port for a long time. The common statistical unit of rate is bit/second (bps), 1Mbps=1024kbps, and 1kbps=1024bps. The traffic of the interface that sends or receives the packet on the WLAN side (TX: the port traffic sent by the transmit; RX: the received port traffic) is calculated based on the traffic, and the current rate is obtained according to the formula: the traffic difference/time difference.
例如,可以通过FTP(File Transfer Protocol,文件传输协议)或HTTP(HyperText Transfer Protocol,超文本传输协议)的方式进行下载速率检测,获得连接当前AP的下载速率对比信息。为了能够较准确的获得速率信息,可以采用启动多个线程同时进行一定时间下载的方式;另外在不同接口的情况下,可以选择不同的测速服务以保证测速数据的准确性。由于FTP或HTTP协议属于标准协议,因此此处不做更详细的描述。For example, the download rate detection can be performed by means of FTP (File Transfer Protocol) or HTTP (HyperText Transfer Protocol) to obtain the download rate comparison information of the current AP. In order to obtain rate information more accurately, a method of starting multiple threads simultaneously for a certain time of downloading may be adopted; in addition, in different interface situations, different speed measuring services may be selected to ensure the accuracy of the speed measuring data. Since the FTP or HTTP protocol is a standard protocol, it will not be described in more detail here.
由于存在很多对实时性要求很高的应用,如电话会议、VOIP(Voice over Internet Protocol,网络电话)等,为保证用户正常使用,在检测到此类应用时不应该进行AP的切换,等待这些业务停止之后方再进行切换。首先需要形成此类应用的报文特征样本库,包括协议的端口、协议报文中的特征信息等,为了后续扩展,此样本库可以支持不断添加新协议的样本。出于性能考虑,检测的实现主要借助旁路方式的报文监听技术,如tcpdump、原始套接字等,对流经MIFI、CPE的所有网络报文进行旁路式的采集并分析,判断报文特征是否与特征样本库匹配,如若匹配则认为当前存在对实时性要求较高的应用。Because there are many applications that require high real-time performance, such as teleconferencing, VOIP (Voice over Internet Protocol), etc., in order to ensure the normal use of users, APs should not be switched when detecting such applications. Wait for these. Switch after the business is stopped. First, it is necessary to form a message sample database of such applications, including the protocol port, the feature information in the protocol message, etc., for subsequent expansion, the sample library can support the continuous addition of new protocol samples. For performance reasons, the detection is implemented by bypassing the packet monitoring technology, such as tcpdump and original sockets. Bypassing and analyzing all network packets flowing through the MIFI and CPE, and determining the packet. Whether the feature matches the feature sample library, if it matches, it is considered that there is currently an application with high real-time requirements.
符合本发明实施例所述的方法,其中WLAN AP通过BSSID(Basic Service Set Identifier,基本服务组识别号)来区分。 The method according to the embodiment of the present invention, wherein the WLAN AP is distinguished by a BSSID (Basic Service Set Identifier).
请参阅图3,本发明实施例的一种无线接入点连接装置,所述装置包括:检测模块31,设置为检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能;以及连接模块32,设置为根据所述检测的无线接入点的网络性能,判断是否连接所述无线接入点。Referring to FIG. 3, a wireless access point connecting device according to an embodiment of the present invention includes: a detecting module 31 configured to detect whether a scanned wireless access point is connectable; and determining the wireless access point The network performance of the wireless access point is detected in the case of being connectable; and the connection module 32 is configured to determine whether to connect the wireless access point according to the network performance of the detected wireless access point.
所述连接模块32包括判断单元321及处理单元322:所述判断单元321设置为判断所述无线接入点的网络性能是否满足预设条件;所述处理单元322设置为在所述判断单元判断所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行网络连接。The connection module 32 includes a determining unit 321 and a processing unit 322: the determining unit 321 is configured to determine whether the network performance of the wireless access point meets a preset condition; and the processing unit 322 is configured to determine at the determining unit If the network performance of the wireless access point can meet the preset condition, connect to the wireless access point; if the network performance of the wireless access point cannot meet the preset condition, switch to The other network reconnects the network.
所述处理单元322在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行网络连接,包括:在所述无线接入点的网络性能不能满足所述预设条件的情况下,所述处理单元322判断是否存在可连接的其他无线接入点;若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。The processing unit 322 switches to another network to re-connect the network if the network performance of the wireless access point cannot meet the preset condition, including: the network performance of the wireless access point cannot meet the requirements. In the case of the preset condition, the processing unit 322 determines whether there are other wireless access points connectable; if the other wireless access points are present, according to the priority and signal strength of the other wireless access points Switching to reconnect the other wireless access points; if the other wireless access points are not present, switching to another network to re-connect the network.
所述装置还包括扫描模块33,所述扫描模块33设置为:获取无线接入点列表;扫描所述无线接入点列表中的无线接入点,检测所述无线接入点的信号强度,确定是否可以连接。The device further includes a scanning module 33, the scanning module 33 is configured to: obtain a wireless access point list; scan a wireless access point in the wireless access point list, and detect a signal strength of the wireless access point, Determine if you can connect.
所述连接模块32还设置为:在确定所述无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。The connection module 32 is further configured to: switch to another network to re-connect the network after determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable.
所述装置还包括记录模块34,所述记录模块34设置为保存预先设置的无线接入点列表,所述记录模块34以触摸界面或者网页页面的形式提供无线接入点的设置。The apparatus also includes a recording module 34 configured to save a pre-set list of wireless access points, the recording module 34 providing settings for the wireless access point in the form of a touch interface or web page.
所述检测模块31在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能,包括:所述检测模块31在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。 The detecting module 31, when determining that the wireless access point is connectable, detecting network performance of the wireless access point, including: the detecting module 31 determines that the wireless access point can be connected And detecting, by the terminal, the WLAN side to send the packet port and the received packet port, and detecting the network connection rate of the wireless access point in real time based on the traffic.
请参阅图4,图4为本发明一个实施例的装置示意图。所述装置包括记录模块,扫描模块,连接模块及检测模块,其中:Please refer to FIG. 4. FIG. 4 is a schematic diagram of an apparatus according to an embodiment of the present invention. The device comprises a recording module, a scanning module, a connection module and a detection module, wherein:
所述记录模块401,设置为保存预置或用户手动添加的WLAN AP列表,以及保存当前可连接的WLAN AP信息。所述模块以TOUCH UI或WEB页面的形式向用户提供WLAN AP的优先级和规则设置功能,用户通过该模块可以自行配置多个WLAN AP的优先级顺序、SSID名称和密码等相关配置规则。当AP的信号强度在什么范围之内或下载速率在什么范围之内等条件下才进行切换,保证用户在接口切换之后可以获得更快更稳定的速率。设备在出厂时会提供一组默认WLAN AP配置。The recording module 401 is configured to save a preset or a WLAN AP list manually added by the user, and save the currently connectable WLAN AP information. The module provides the user with the WLAN AP priority and rule setting function in the form of a TOUCH UI or a WEB page. The user can configure the WLAN AP priority order, SSID name, and password, and other related configuration rules. When the AP's signal strength is within the range or within the range of the download rate, it is guaranteed that the user can obtain a faster and more stable rate after the interface is switched. The device provides a default set of WLAN AP configurations at the factory.
所述扫描模块402,设置为扫描当前周围的WLAN AP信息;所述模块通过Wi-Fi芯片主动发送probe request报文或被动接入外部WLAN AP的beacon报文检测周围存在的WLAN AP。The scanning module 402 is configured to scan the current surrounding WLAN AP information; the module detects the surrounding WLAN AP by sending a probe request message or passively accessing the beacon message of the external WLAN AP through the Wi-Fi chip.
所述检测模块404,设置为检测该AP的网络连通性状态,以及通过多种技术手段检测实时网络性能参数;同时对当前连接网络接口的数据进行分析,检测是否存在对实时性要求很高的通讯存在;实现细节参考以上所述。The detecting module 404 is configured to detect a network connectivity state of the AP, and detect real-time network performance parameters by using various technical means; and simultaneously analyze data of the currently connected network interface to detect whether there is a high requirement for real-time performance. Communication exists; implementation details refer to the above.
检测模块404包括计算单元,所述计算单元设置为:The detection module 404 includes a calculation unit that is configured to:
计算定长时间内端口单向的数据包总流量与时间的比值;Calculate the ratio of the total traffic of the unidirectional data packet to the time in a long period of time;
Modern侧:采用以下算式分别计算高通无线接口获取当前累计的流量:流量差/时间差;Modern side: Calculate the current accumulated traffic by the Qualcomm wireless interface using the following formula: traffic difference/time difference;
WLAN侧:采用以下算式分别计算WLAN发送或接收报文接口获取当前累计的流量:流量差/时间差;WLAN side: Calculate the current accumulated traffic by the WLAN sending or receiving packet interface using the following formula: traffic difference/time difference;
所述连接模块403,设置为从所述记录模块获取当前可连接的WLAN AP信息,根据优先级和信号强度选择最优的AP并发起连接;The connection module 403 is configured to obtain the currently connectable WLAN AP information from the recording module, select an optimal AP according to the priority and the signal strength, and initiate a connection;
并且,设置为在当前无线接入点的网络性能够满足所述预设条件的情况下,保持所述当前无线接入点的网络连接;在当前无线接入点的网络性能不能满足所述预设条件的情况下,切换所述当前无线接入点的网络连接。And, configured to maintain a network connection of the current wireless access point if the network capability of the current wireless access point can satisfy the preset condition; and the network performance of the current wireless access point cannot satisfy the preset In the case of a condition, the network connection of the current wireless access point is switched.
符合本发明一个实施例的一种终端,所述终端包括处理器,所述处理器设置为检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以 连接的情况下,检测所述无线接入点的网络连接速率;根据所述检测的无线接入点的网络连接速率,进行无线网络连接。A terminal according to an embodiment of the present invention, the terminal includes a processor, the processor is configured to detect whether a scanned wireless access point is connectable; and determining that the wireless access point can In the case of connection, detecting a network connection rate of the wireless access point; performing a wireless network connection according to the detected network connection rate of the wireless access point.
其中,所述处理器还可以设置为执行上述无线连接方法的其他步骤。The processor may also be configured to perform other steps of the wireless connection method described above.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
工业实用性Industrial applicability
本发明实施例提供的方法、装置及终端能够在连接到无线接入点之前,实时检测无线接入点的网络连接速率,确保了连接后的WLAN网络的可达及稳定。 The method, the device and the terminal provided by the embodiments of the present invention can detect the network connection rate of the wireless access point in real time before connecting to the wireless access point, and ensure the reachability and stability of the connected WLAN network.

Claims (26)

  1. 一种无线网络连接的方法,所述方法包括:A method of wireless network connection, the method comprising:
    检测扫描到的无线接入点是否可以连接;Detecting whether the scanned wireless access point can be connected;
    在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能;Detecting network performance of the wireless access point if it is determined that the wireless access point is connectable;
    根据所述无线接入点的网络性能,判断是否选择所述无线接入点进行无线网络连接。Determining whether to select the wireless access point for wireless network connection according to network performance of the wireless access point.
  2. 如权利要求1所述的方法,其中,根据所述无线接入点的网络性能,判断是否选择所述无线接入点进行无线网络连接包括:The method of claim 1, wherein determining whether to select the wireless access point for wireless network connection according to network performance of the wireless access point comprises:
    判断所述无线接入点的网络性能是否满足预设条件;Determining whether the network performance of the wireless access point meets a preset condition;
    在所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点进行无线网络连接;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接。Connecting to the wireless access point to perform wireless network connection if the network performance of the wireless access point can meet a preset condition; and the network performance of the wireless access point cannot meet the preset condition In this case, switch to another network to re-wire the wireless network.
  3. 如权利要求2所述的方法,其中,所述预设条件包括预置的网络连接速率。The method of claim 2 wherein said predetermined condition comprises a preset network connection rate.
  4. 如权利要求2所述的方法,其中,在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接包括:The method of claim 2, wherein, if the network performance of the wireless access point fails to meet the preset condition, switching to another network to re-wire the wireless network includes:
    在所述无线接入点的网络性能不能满足所述预设条件的情况下,判断是否存在可连接的其他无线接入点;If the network performance of the wireless access point cannot meet the preset condition, determine whether there are other wireless access points connectable;
    若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;If the other wireless access point exists, reconnect the other wireless access point according to the priority of the other wireless access point and the signal strength switch;
    若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。If the other wireless access point does not exist, switch to another network to re-connect the network.
  5. 如权利要求1所述的方法,所述检测扫描到的无线接入点是否可以连接之前,所述方法还包括:The method of claim 1, before the detecting whether the scanned wireless access point is connectable, the method further comprises:
    获取无线接入点列表;Obtain a list of wireless access points;
    扫描所述无线接入点列表中的无线接入点,检测扫描到的无线接入点的信号强度,确定是否可以连接。 Scanning the wireless access point in the wireless access point list, detecting the signal strength of the scanned wireless access point, and determining whether it is connectable.
  6. 如权利要求5所述的方法,所述方法还包括:The method of claim 5, the method further comprising:
    在确定所述无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。After determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable, switching to another network to re-connect the network.
  7. 如权利要求1-6任意一项所述的方法,其中,所述网络性能包括网络连接速率。The method of any of claims 1-6, wherein the network performance comprises a network connection rate.
  8. 如权利要求7所述的方法,其中,所述在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能包括:The method of claim 7, wherein in the case of determining that the wireless access point is connectable, detecting network performance of the wireless access point comprises:
    在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。In the case that it is determined that the wireless access point can be connected, detecting the traffic of the packet port and the receiving packet port on the WLAN side of the terminal, and detecting the network connection rate of the wireless access point in real time based on the traffic.
  9. 一种无线接入点连接的装置,所述装置包括:A device for connecting a wireless access point, the device comprising:
    检测模块,设置为检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能;以及a detecting module, configured to detect whether the scanned wireless access point is connectable; and detecting network performance of the wireless access point when determining that the wireless access point is connectable;
    连接模块,设置为根据所述检测的无线接入点的网络性能,判断是否连接所述无线接入点。The connection module is configured to determine whether to connect the wireless access point according to the network performance of the detected wireless access point.
  10. 如权利要求9所述的装置,所述连接模块包括判断单元及处理单元,其中:The apparatus according to claim 9, wherein said connection module comprises a judging unit and a processing unit, wherein:
    所述判断单元设置为:判断所述无线接入点的网络性能是否满足预设条件;The determining unit is configured to: determine whether the network performance of the wireless access point meets a preset condition;
    所述处理单元设置为:在所述判断单元判断所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行网络连接。The processing unit is configured to: when the determining unit determines that the network performance of the wireless access point can meet a preset condition, connect to the wireless access point; network performance at the wireless access point If the preset condition cannot be met, switch to another network to re-connect the network.
  11. 如权利要求10所述的装置,其中,所述预设条件包括预置的网络连接速率。The apparatus of claim 10 wherein said predetermined condition comprises a preset network connection rate.
  12. 如权利要求9所述的装置,所述处理单元在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行网络连接,包括: The apparatus according to claim 9, wherein the processing unit switches to another network to re-connect the network if the network performance of the wireless access point cannot meet the preset condition, including:
    在所述无线接入点的网络性能不能满足所述预设条件的情况下,所述处理单元判断是否存在可连接的其他无线接入点;In a case that the network performance of the wireless access point cannot meet the preset condition, the processing unit determines whether there are other wireless access points connectable;
    若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;If the other wireless access point exists, reconnect the other wireless access point according to the priority of the other wireless access point and the signal strength switch;
    若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。If the other wireless access point does not exist, switch to another network to re-connect the network.
  13. 如权利要求9所述的装置,所述装置还包括扫描模块,所述扫描模块设置为:The apparatus of claim 9, the apparatus further comprising a scanning module, the scanning module being configured to:
    获取无线接入点列表;Obtain a list of wireless access points;
    扫描所述无线接入点列表中的无线接入点,检测所述无线接入点的信号强度,确定是否可以连接。Scanning the wireless access point in the wireless access point list, detecting the signal strength of the wireless access point, and determining whether it is connectable.
  14. 如权利要求13所述的方法,所述连接模块还设置为:The method of claim 13 wherein said connection module is further configured to:
    在确定所述无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。After determining that the wireless access point list is empty, or detecting that the wireless access point in the wireless access point list is not connectable, switching to another network to re-connect the network.
  15. 如权利要求13所述的装置,所述装置还包括记录模块,所述记录模块设置为保存预先设置的无线接入点列表,所述记录模块以触摸界面或者网页页面的形式提供无线接入点的设置。The apparatus of claim 13, the apparatus further comprising a recording module configured to save a pre-set list of wireless access points, the recording module providing a wireless access point in the form of a touch interface or a web page setting.
  16. 如权利要求9-15任意一项所述的装置,其中,所述网络性能包括网络连接速率。The apparatus of any of claims 9-15, wherein the network performance comprises a network connection rate.
  17. 如权利要求16所述的装置,所述检测模块在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络性能,包括:The apparatus of claim 16, the detecting module, when determining that the wireless access point is connectable, detecting network performance of the wireless access point, including:
    所述检测模块在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线接入点的网络连接速率。And detecting, by the detecting module, that the wireless access point is connectable, detecting, by the terminal, the traffic of the packet port and the receiving packet port, and detecting the network connection of the wireless access point in real time based on the traffic. rate.
  18. 一种终端,所述终端包括处理器,所述处理器设置为检测扫描到的无线接入点是否可以连接;在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络连接速率;根据所述检测的无线接入点的网络连接速率,进行无线网络连接。 A terminal, the terminal comprising a processor, the processor configured to detect whether a scanned wireless access point is connectable; and detecting the wireless access point if the wireless access point is connectable Network connection rate; performing a wireless network connection according to the detected network connection rate of the wireless access point.
  19. 如权利要求18所述的终端,其中,所述处理器根据所述检测的无线接入点的网络连接速率,进行无线网络连接包括:The terminal according to claim 18, wherein the performing, by the processor, the wireless network connection according to the detected network connection rate of the wireless access point comprises:
    所述处理器判断所述无线接入点的网络性能是否满足预设条件;Determining, by the processor, whether network performance of the wireless access point meets a preset condition;
    在所述无线接入点的网络性能能够满足预设条件的情况下,连接到所述无线接入点进行无线网络连接;在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接。Connecting to the wireless access point to perform wireless network connection if the network performance of the wireless access point can meet a preset condition; and the network performance of the wireless access point cannot meet the preset condition In this case, switch to another network to re-wire the wireless network.
  20. 如权利要求19所述的终端,其中,所述预设条件包括预置的网络连接速率。The terminal of claim 19, wherein the preset condition comprises a preset network connection rate.
  21. 如权利要求19所述的终端,其中,在所述无线接入点的网络性能不能满足所述预设条件的情况下,切换到其他网络重新进行无线网络连接包括:The terminal according to claim 19, wherein, in a case that the network performance of the wireless access point cannot meet the preset condition, switching to another network to perform wireless network connection includes:
    所述处理器在所述无线接入点的网络性能不能满足所述预设条件的情况下,判断是否存在可连接的其他无线接入点;The processor determines whether there are other wireless access points connectable if the network performance of the wireless access point cannot meet the preset condition;
    若存在所述其他无线接入点,则根据所述其他无线接入点的优先级以及信号强度切换重新连接所述其他无线接入点;If the other wireless access point exists, reconnect the other wireless access point according to the priority of the other wireless access point and the signal strength switch;
    若不存在所述其他无线接入点,则切换到其他网络重新进行网络连接。If the other wireless access point does not exist, switch to another network to re-connect the network.
  22. 如权利要求18所述的终端,所述处理器还设置为在所述检测扫描到的无线接入点是否可以连接之前,获取无线接入点列表,扫描所述无线接入点列表中的无线接入点,检测扫描到的无线接入点的信号强度,确定是否可以连接。The terminal according to claim 18, wherein the processor is further configured to acquire a wireless access point list and scan the wireless in the wireless access point list before detecting whether the scanned wireless access point is connectable The access point detects the signal strength of the scanned wireless access point to determine whether it can be connected.
  23. 如权利要求22所述的终端,所述处理器还设置为:在确定所述无线接入点列表为空、或者检测所述无线接入点列表中的无线接入点不可以连接,则切换到其他网络重新进行网络连接。The terminal according to claim 22, wherein the processor is further configured to: switch when the wireless access point list is determined to be empty, or the wireless access point in the wireless access point list is not connectable Re-connect to other networks.
  24. 如权利要求18-23任意一项所述的终端,其中,所述网络性能包括网络连接速率。The terminal of any of claims 18-23, wherein the network performance comprises a network connection rate.
  25. 如权利要求24所述的终端,其中,所述处理器在确定所述无线接入点可以连接的情况下,检测所述无线接入点的网络连接速率包括:The terminal of claim 24, wherein the determining, by the processor, that the wireless access point is connectable, detecting a network connection rate of the wireless access point comprises:
    所述处理器在确定所述无线接入点可以连接的情况下,检测终端WLAN侧发送报文端口和接收报文端口的流量,基于所述流量,实时检测所述无线 接入点的网络连接速率。The determining, by the processor, that the wireless access point is connectable, detecting, by the terminal, the traffic of the packet port and the receiving packet port, and detecting the wireless device based on the traffic. The network connection rate of the access point.
  26. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-8任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed, implement the method of any of claims 1-8.
PCT/CN2015/085069 2015-04-15 2015-07-24 Wireless network connection method, device and terminal WO2016165235A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510177761.9A CN106162696A (en) 2015-04-15 2015-04-15 Method, device and the terminal that a kind of wireless network connects
CN201510177761.9 2015-04-15

Publications (1)

Publication Number Publication Date
WO2016165235A1 true WO2016165235A1 (en) 2016-10-20

Family

ID=57125513

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085069 WO2016165235A1 (en) 2015-04-15 2015-07-24 Wireless network connection method, device and terminal

Country Status (2)

Country Link
CN (1) CN106162696A (en)
WO (1) WO2016165235A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636594A (en) * 2019-09-19 2019-12-31 翱捷科技(上海)有限公司 4G multi-mode mobile terminal and network configuration method thereof
WO2023116426A1 (en) * 2021-12-24 2023-06-29 深圳创维数字技术有限公司 Wireless network connection method and apparatus, access point, and storage medium
CN112351461B (en) * 2019-08-08 2023-08-22 Oppo广东移动通信有限公司 WiFi network switching method, wiFi network switching device, terminal and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071866A (en) * 2017-01-17 2017-08-18 广东欧珀移动通信有限公司 The network detecting method and device of a kind of WIFI hot spot
CN109429239B (en) * 2017-07-07 2022-06-07 阿里巴巴集团控股有限公司 Method and device for connecting wireless network
CN110856233B (en) * 2019-11-14 2022-04-22 Oppo广东移动通信有限公司 Communication control method and related product
CN111031584A (en) * 2019-12-09 2020-04-17 西安锐驰电器有限公司 Method for improving network speed
CN113037519A (en) * 2019-12-09 2021-06-25 北京君正集成电路股份有限公司 Intelligent household equipment and network distribution method and device thereof
CN112954684A (en) * 2019-12-09 2021-06-11 北京君正集成电路股份有限公司 Distribution network identifier generation method and device for testing to-be-distributed network equipment and terminal
CN112954692A (en) * 2019-12-09 2021-06-11 北京君正集成电路股份有限公司 Distribution network identifier generation method and device and terminal
CN111630883B (en) * 2020-03-20 2023-09-19 北京小米移动软件有限公司 Method, device, communication equipment and storage medium for transmitting data
CN111866994B (en) * 2020-07-26 2021-02-05 广云物联网科技(广州)有限公司 Method and device for rapidly distributing network at hot spot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070184835A1 (en) * 2006-02-09 2007-08-09 Altair Semiconductor Ltd. Scanning for network connections with variable scan rate
CN102264063A (en) * 2011-07-29 2011-11-30 中兴通讯股份有限公司 Mobile terminal and method for self-adaptively improving download rate of mobile terminal
CN104144473A (en) * 2013-05-09 2014-11-12 中兴通讯股份有限公司 Method for selecting available access network and UE
CN104244366A (en) * 2014-09-17 2014-12-24 广东欧珀移动通信有限公司 Wireless network connection method and device and mobile device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391633B (en) * 2012-05-09 2018-08-24 中兴通讯股份有限公司 Method for network access and device
CN104349411B (en) * 2013-07-29 2019-07-02 中兴通讯股份有限公司 A kind of method for switching network, device and terminal
CN103945476A (en) * 2014-04-24 2014-07-23 小米科技有限责任公司 Network switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070184835A1 (en) * 2006-02-09 2007-08-09 Altair Semiconductor Ltd. Scanning for network connections with variable scan rate
CN102264063A (en) * 2011-07-29 2011-11-30 中兴通讯股份有限公司 Mobile terminal and method for self-adaptively improving download rate of mobile terminal
CN104144473A (en) * 2013-05-09 2014-11-12 中兴通讯股份有限公司 Method for selecting available access network and UE
CN104244366A (en) * 2014-09-17 2014-12-24 广东欧珀移动通信有限公司 Wireless network connection method and device and mobile device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351461B (en) * 2019-08-08 2023-08-22 Oppo广东移动通信有限公司 WiFi network switching method, wiFi network switching device, terminal and storage medium
CN110636594A (en) * 2019-09-19 2019-12-31 翱捷科技(上海)有限公司 4G multi-mode mobile terminal and network configuration method thereof
WO2023116426A1 (en) * 2021-12-24 2023-06-29 深圳创维数字技术有限公司 Wireless network connection method and apparatus, access point, and storage medium

Also Published As

Publication number Publication date
CN106162696A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2016165235A1 (en) Wireless network connection method, device and terminal
US10051523B2 (en) Apparatus and method for communicating voice data in a wireless network
JP5735586B2 (en) System and method for evaluating multiple connectivity options
US8315626B2 (en) Smart wireless station for identifying a preferred access point
US11611931B2 (en) WI-FI hotspot recommendation method, terminal, and graphical user interface
EP3585099B1 (en) Vowifi call processing method of mobile terminal and mobile terminal
EP3135057B1 (en) Improved vertical handover
CN110476458B (en) Method, device and data carrier for accessing voice service
JP2017076994A (en) Connection manager for wireless communication device
US8174998B2 (en) Network connecting apparatus and connection setup method
CN104283976B (en) Switching method of network interface and access equipment
WO2016095118A1 (en) Method and device for home wifi station device to select link for data transmitting
KR102419113B1 (en) Service quality monitoring method and system, and device
US9025448B2 (en) Methods and apparatuses for accessing internet
US9408111B2 (en) Time-sliced WiFi associations for make-before-break handover
CN104717709A (en) Network switching method and device
US20150230165A1 (en) Communication apparatus, communication method, non-transitory computer readable medium, and distribution server
WO2018006623A1 (en) Preferred access method for mobile wifi hotspot, hotspot device and terminal device
KR101590018B1 (en) method for coupling femtocell with WiFi AP in SDN
KR20120064954A (en) Method for internet access using ap in mobile communication terminal and mobile communication terminal therefor
CN113543282B (en) Wireless roaming method and system
Jacquot Test Bed for Multipath TCP
RU2782571C2 (en) Method, system and device for quality of service control
TWI400970B (en) A method of frame blocking for wireless device
TW201701705A (en) Method and system for automatically selecting connections according to cloud-based link quality information

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

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

Country of ref document: EP

Kind code of ref document: A1