WO2013167036A2 - 一种终端自动接入无线接入点的方法和装置 - Google Patents

一种终端自动接入无线接入点的方法和装置 Download PDF

Info

Publication number
WO2013167036A2
WO2013167036A2 PCT/CN2013/079326 CN2013079326W WO2013167036A2 WO 2013167036 A2 WO2013167036 A2 WO 2013167036A2 CN 2013079326 W CN2013079326 W CN 2013079326W WO 2013167036 A2 WO2013167036 A2 WO 2013167036A2
Authority
WO
WIPO (PCT)
Prior art keywords
wireless access
access point
weight value
access points
points
Prior art date
Application number
PCT/CN2013/079326
Other languages
English (en)
French (fr)
Other versions
WO2013167036A3 (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 WO2013167036A2 publication Critical patent/WO2013167036A2/zh
Publication of WO2013167036A3 publication Critical patent/WO2013167036A3/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present invention relates to wireless communication technologies, and in particular, to a method and apparatus for a terminal to automatically access a wireless access point. Background technique
  • WI-FI is a commonly used wireless access method.
  • the user When a terminal needs to access a wireless network, the user usually selects a WI-FI access point for the terminal, so that although the user can grasp the initiative, the following are as follows: Some points cannot be ignored:
  • the terminal can search for many WI-FI access points, many of them cannot be used, such as: WI-FI access points with too small signal strength, WI-FI access points with password restrictions, etc.;
  • the password is confirmed every time, and the user experience is not good;
  • the WI-FI connection is maintained with low signal strength, which consumes more power.
  • the main purpose of the embodiments of the present invention is to provide a terminal that automatically accesses the wireless device.
  • the method and device of the access point can filter the wireless access point and automatically access the best wireless access point.
  • a method for automatically accessing a wireless access point by a terminal includes:
  • the terminal searches for the surrounding wireless access point, determines the weight value of each wireless access point according to the connection information of each wireless access point, and sorts each wireless access point according to the weight value of each wireless access point, after sorting Select one of the wireless access points and access the selected wireless access point.
  • the terminal searches for the surrounding wireless access point as: The terminal searches for the surrounding wireless access point according to the periodic scanning mode or the manually triggered scanning mode.
  • connection information of each wireless access point includes: signal strength, and/or encryption mode, and/or priority.
  • the selecting a wireless access point among the sorted wireless access points and accessing the selected wireless access point is:
  • the first wireless access point is selected among the sorted wireless access points, according to the selected wireless connection.
  • Incoming information accessing the selected wireless access point through a connection command;
  • the terminal When the terminal is currently connected to the wireless network, it is determined whether the signal strength of the currently connected wireless access point is within the valid range. If the signal strength is not within the valid range, the selected weight value is the largest among the sorted wireless access points. Wireless access point, according to the information of the selected wireless access point, accessing the selected wireless access point through a connection command; If the signal strength is within the valid range, further determining whether the currently connected wireless access point is in each of the sorted wireless access points, and when not in the sorted wireless access points, after sorting each wireless access The wireless access point with the largest weight value is selected in the in-point, and the selected wireless access point is accessed through the connection command according to the information of the selected wireless access point.
  • the method further includes: after sorting each wireless access point, only retaining N wireless access points with a large weight value, or only retaining wireless access points whose weight value is greater than a preset threshold Selecting a wireless access point among the reserved wireless access points and accessing the selected wireless access point; the N is a natural number.
  • An apparatus for automatically accessing a wireless access point by a terminal includes: a search module, a weight value determination module, an access point selection module, and a connection module; wherein the search module is configured to search Outgoing wireless access points, sending the searched wireless access points to the weight value determination module;
  • the weight value determining module is configured to determine a weight value of each wireless access point according to connection information of each wireless access point;
  • the access point selection module is configured to sort each wireless access point according to the weight value of each wireless access point, select a wireless access point among the sorted wireless access points, and select the selected wireless access point. Point is sent to the connection module;
  • the connection module is configured to access the selected wireless access point.
  • the searching module is configured to search for a surrounding wireless access point according to a periodic scanning mode or a manually triggered scanning mode.
  • the weight value determining module is configured to set a corresponding weight value for different connection information in advance, and calculate a corresponding weight value according to the searched connection information of each wireless access point;
  • the connection information of each wireless access point includes: a signal strength, and/or an encryption mode, and/or a priority.
  • the access point selection module is configured to sort the wireless access points from high to low according to the weight value of each wireless access point, and when the terminal is not currently connected to the wireless network, after sorting Selecting a first wireless access point among each wireless access point, and transmitting a connection command carrying information of the selected wireless access point to the connection module;
  • the terminal When the terminal is currently connected to the wireless network, it is determined whether the signal strength of the currently connected wireless access point is within the valid range. If the signal strength is not within the valid range, the selected weight value is the largest among the sorted wireless access points. a wireless access point, and transmitting a connection command carrying information of the selected wireless access point to the connection module;
  • the connection module determines whether the currently connected wireless access point is in each of the sorted wireless access points, and when not in the sorted wireless access points, after sorting each wireless access A wireless access point having the largest weight value is selected in the in point, and a connection command carrying the information of the selected wireless access point is sent to the connection module.
  • the access point selection module is further configured to: after sorting each wireless access point, retain only N wireless access points with a large weight value, or only retain the weight value greater than a preset width. Value wireless access point, select the wireless access point among the reserved wireless access points.
  • the embodiment of the invention provides a method and a device for automatically accessing a wireless access point by a terminal, and the terminal searches for a surrounding wireless access point, and determines a weight value of each wireless access point according to connection information of each wireless access point. Sorting each wireless access point according to the weight value of each wireless access point, selecting a wireless access point among the sorted wireless access points, and accessing the selected wireless access point; thus, being able to wirelessly
  • the access point filters and automatically accesses the best wireless access point, greatly improving the user experience, and by filtering out the bad wireless network in advance, the terminal can quickly select a better wireless network, saving power. . DRAWINGS
  • FIG. 1 is a schematic flowchart of a method for automatically accessing a wireless access point by a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for automatically accessing a wireless access point by a terminal according to an embodiment of the present invention. detailed description
  • the terminal searches for the surrounding wireless access point, determines the weight value of each wireless access point according to the connection information of each wireless access point, and pairs each wireless access point according to the weight value of each wireless access point. Sorting, selecting a wireless access point among the sorted wireless access points, and accessing the selected wireless access point.
  • the embodiment of the invention implements a method for a terminal to automatically access a wireless access point. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 The terminal searches for a surrounding wireless access point.
  • the terminal searches for the surrounding wireless access point according to the periodic scanning mode or the manual trigger scanning mode;
  • the terminal generates a start scan message when the preset cycle time expires or when a scan command generated by the manual trigger is received; the terminal further sets a timing time, and determines whether the time when the start scan message is generated is within a time limit. When the time is within the time limit, it is further determined whether the current timing time is over half, and when the half time is over, the surrounding wireless access points are scanned; when not more than half, the surrounding wireless access points are temporarily not scanned, at the time of the time. After that, scanning the surrounding wireless access point; when the scanning message is not started within the timing time, the terminal actively scans the surrounding wireless access point;
  • the neighboring wireless access point is temporarily not scanned, and after the time is up, the surrounding wireless access points are scanned, for example: the time is 5 seconds, and the scanning message is generated at 2 seconds. , temporarily scan the surrounding wireless access points, and scan the surrounding wireless access points after 5 seconds.
  • Step 102 The terminal determines the weight of each wireless access point according to the connection information of each wireless access point. Value
  • the terminal sets a corresponding weight value for different connection information in advance, and calculates a corresponding weight value according to the searched connection information of each wireless access point;
  • connection information of each wireless access point includes: signal strength, and/or encryption mode, and/or priority, and the like;
  • the terminal sets a corresponding weight value for different connection information in advance, for example, the weight value corresponding to the set signal strength is as shown in Table 1, and is divided into the first level, the second level, and the third level according to the signal strength from strong to weak.
  • the fourth level and the fifth level respectively have corresponding weight values of 10, 8, 6, 4, and 2;
  • the weight values corresponding to the encryption method are as shown in Table 2, and the encryption methods are divided into no encryption (Open), WI- FI protection access (WPA) / WPA2, Wired Equivalent Privacy (WEP, Wired Equivalent Privacy), corresponding to the weight value of 10, 8, 6, 4;
  • the first step is divided into first place, second place, third place and fourth place, and the corresponding weight values are respectively 10, 7, 4, 2;
  • a corresponding weight value such as: according to the searched signal strength of a wireless access point is a third level, the encryption mode is no encryption, and the priority is One bit, the signal strength is the third level corresponding to the weight value 6, the encryption method is the unweighted corresponding weight value 10, and the priority is the first bit corresponding to the weight value 10, and the wireless connection is obtained.
  • the entry point has a weight value of 26.
  • Step 103 The terminal sorts each wireless access point according to the weight value of each wireless access point, selects a wireless access point among the sorted wireless access points, and accesses the selected wireless access point;
  • the sorting may be sorted according to the weight value from highest to lowest, or according to the weight value from low to high;
  • Selecting a wireless access point among the sorted wireless access points and accessing the selected wireless access point is:
  • the terminal When the terminal is not currently connected to the wireless network, and each wireless access point is sorted according to the weight value from high to low, the first wireless access point is selected among the sorted wireless access points, according to the selected wireless connection.
  • Incoming information accessing the selected wireless access point through a connection command; where, when each wireless access point is sorted according to the weight value from low to high, the last wireless is selected among the sorted wireless access points.
  • the terminal When the terminal is currently connected to the wireless network, it is determined whether the signal strength of the currently connected wireless access point is within the valid range. If the signal strength is not within the valid range, the selected weight value is the largest among the sorted wireless access points. Wireless access point, according to the information of the selected wireless access point, accessing the selected wireless access point through a connection command;
  • the signal strength is within the valid range, it is further determined whether the currently connected wireless access point is in the sorted wireless access points, and when in the sorted wireless access points, the current network is available, and is also the most Preferably, the ending process; when not in the sorted wireless access points, indicating that the current network is available, but not the most preferred, and selecting the wireless access point with the largest weight value among the sorted wireless access points And accessing the selected wireless access point by using a connection command according to the information of the selected wireless access point;
  • the determining whether the currently connected wireless access point is in the sorted wireless access points is: using a network service setting identifier (SSID, Service Set Identity) as a query basis, and querying each of the sorted wireless access points Whether there is a currently connected wireless access point.
  • the foregoing method further includes: after sorting each wireless access point, only retaining N wireless access points with large weight values, or only retaining wireless access points whose weight value is greater than a preset threshold, in reserved Selecting a wireless access point in the wireless access point and accessing the selected wireless access point; where N is a natural number.
  • the wireless access point generally refers to a WI-FI access point.
  • an embodiment of the present invention further provides a device for automatically accessing a wireless access point by a terminal, where the device is disposed in a terminal.
  • the device includes: a search module 21, a weight value determining module 22 , an access point selection module 23, a connection module 24;
  • the search module 21 is configured to search for a surrounding wireless access point, and send the searched wireless access point to the weight value determining module 22;
  • the weight value determining module 22 is configured to determine a weight value of each wireless access point according to connection information of each wireless access point;
  • the access point selection module 23 is configured to sort each wireless access point according to the weight value of each wireless access point, select a wireless access point among the sorted wireless access points, and select the selected wireless access point.
  • the ingress is sent to the connection module 24;
  • the connection module 24 is configured to access the selected wireless access point
  • the searching module 21 is configured to search for a surrounding wireless access point according to a periodic scanning manner or a manually triggered scanning manner.
  • the search module 21 generates a start scan message when the preset cycle time expires or when a scan command generated by the manual trigger is received, and determines whether the time when the start scan message is generated is within a preset timing time. When the time is within the time limit, it is further determined whether the current timing time is over half, and when the half time is over, the surrounding wireless access points are scanned; when not more than half, the surrounding wireless access points are temporarily not scanned, at the time of the time.
  • the weight value determining module 22 is configured to set a corresponding weight value for different connection information in advance, and collect corresponding weight values according to the searched connection information of each wireless access point; wherein, each of the wireless access points Connection information includes: signal strength, and/or encryption mode, and/or priority, etc.;
  • the access point selection module 23 is specifically configured to sort the wireless access points from high to low according to the weight value of each wireless access point.
  • the access point selection module 23 is specifically configured to determine, when the terminal is currently connected to the wireless network, whether the signal strength of the currently connected wireless access point is within a valid range, and if the signal strength is not within the valid range, the ordering is performed. Selecting a wireless access point with the largest weight value among the wireless access points, and transmitting a connection command carrying the information of the selected wireless access point to the connection module 24; if the signal strength is within the valid range, further determining the current connection Whether the wireless access point is in the sorted wireless access points, when in the sorted wireless access points, indicating that the current network is available, and is also most preferable, ending the process; when not in the sorted wireless In the access point, it indicates that the current network is available, but not the most preferred.
  • the wireless access point with the largest weight value is selected among the sorted wireless access points, and the wireless access carrying the selection is sent to the connection module 24. a connection command for point information;
  • the access point selection module 23 is further configured to reserve only one wireless access point with a large weight value after sorting each wireless access point, or only retain the wireless whose weight value is greater than a preset threshold.
  • the access point selects a wireless access point among the reserved wireless access points; where N is a natural number.
  • the terminal determines the weight value of each wireless access point according to the connection information of each wireless access point, sorts each wireless access point according to the weight value, and selects wireless among the sorted wireless access points.
  • a bad wireless network allows the terminal to quickly select a better wireless network and save power.

Landscapes

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

Abstract

本发明公开了一种终端自动接入无线接入点的方法,终端搜索出周边的无线接入点,根据各无线接入点的连接信息确定各无线接入点的权重值,按照各无线接入点的权重值对各无线接入点进行排序,在排序后的各无线接入点中选择无线接入点,并接入所选择的无线接入点;本发明同时还公开了一种终端自动接入无线接入点的装置,通过本发明的方案,能够对无线接入点进行筛选,并自动接入最佳的无线接入点,大大提高用户的体验。

Description

一种终端自动接入无线接入点的方法和装置 技术领域
本发明涉及无线通信技术, 尤其涉及一种终端自动接入无线接入点的 方法和装置。 背景技术
随着互联网络技术的发展, 无线接入点已经越来越多, 更多的城市已 经开始规划无线接入点的布局, 这样, 无线网络的使用将更加广泛。 无线 接入点的数目越来越多, 在众多的无线接入点中终端如何选择最佳的无线 接入点, 就成为一个比较重要的问题, 并且当运营商提供的无线接入点作 为主选项时, 需要在众多的无线接入点中筛选出运营商提供的无线接入点, 输入密码, 整个操作过程比较费时。
目前, WI-FI是一个普遍被使用的无线接入方式, 在终端需要接入无线 网络时, 通常是用户为终端选择 WI-FI接入点, 这样, 虽然用户可以掌握 主动权, 但是有如下几点是不能忽视的:
1、 虽然终端能搜索到很多 WI-FI接入点, 但是很多都是不能用的, 例 如: 信号强度太小的 WI-FI接入点, 密码限制的 WI-FI接入点等;
2、 对于运营商提供的 WI-FI接入点, 作为首选, 每次都要输入密码确 认, 用户体验不好;
3、 对于电池供电的终端在信号强度较小的情况下维护 WI-FI连接, 比 较耗电。 发明内容
有鉴于此, 本发明实施例的主要目的在于提供一种终端自动接入无线 接入点的方法和装置, 能够对无线接入点进行筛选, 并自动接入最佳的无 线接入点。
为达到上述目的, 本发明实施例的技术方案是这样实现的:
本发明实施例提供的一种终端自动接入无线接入点的方法, 该方法包 括:
终端搜索出周边的无线接入点, 根据各无线接入点的连接信息确定各 无线接入点的权重值, 按照各无线接入点的权重值对各无线接入点进行排 序, 在排序后的各无线接入点中选择无线接入点, 并接入所选择的无线接 入点。
上述方案中, 所述终端搜索出周边的无线接入点为: 终端按照周期扫 描方式或手动触发扫描方式, 搜索出周边的无线接入点。
上述方案中, 所述根据各无线接入点的连接信息确定各无线接入点的 权重值为: 预先对不同的连接信息设置对应的权重值, 根据搜索出的各无 线接入点的连接信息统计对应的权重值;
所述各无线接入点的连接信息包括: 信号强度、 和 /或加密方式、 和 / 或优先级。
上述方案中, 所述在排序后的各无线接入点中选择无线接入点, 并接 入所选择的无线接入点, 为:
当终端当前没有连接到无线网络、 且各无线接入点是按照权重值由高 至低排序时, 在排序后的各无线接入点中选择第一个无线接入点, 根据选 择的无线接入点的信息, 通过连接命令接入所选择的无线接入点;
当终端当前已经连接到无线网络时, 判断当前连接的无线接入点的信 号强度是否在有效范围内, 如果信号强度不在有效范围内, 则在排序后的 各无线接入点中选择权重值最大的无线接入点, 根据选择的无线接入点的 信息, 通过连接命令接入所选择的无线接入点; 如果信号强度在有效范围内, 则进一步判断当前连接的无线接入点是 否在排序后的各无线接入点中, 当不在排序后的各无线接入点中时, 在排 序后的各无线接入点中选择权重值最大的无线接入点, 根据选择的无线接 入点的信息, 通过连接命令接入所选择的无线接入点。
上述方案中, 该方法还包括: 在对各无线接入点进行排序之后, 只保 留 N个权重值较大的无线接入点, 或只保留权重值大于预先设置的阔值的 无线接入点, 在保留的无线接入点中选择无线接入点, 并接入所选择的无 线接入点; 所述 N为自然数。
本发明实施例提供的一种终端自动接入无线接入点的装置, 该装置包 括: 搜索模块、 权重值确定模块、 接入点选择模块、 连接模块; 其中, 所述搜索模块, 配置为搜索出周边的无线接入点, 将搜索出的无线接 入点发送到权重值确定模块;
所述权重值确定模块, 配置为根据各无线接入点的连接信息确定各无 线接入点的权重值;
所述接入点选择模块, 配置为按照各无线接入点的权重值对各无线接 入点进行排序, 在排序后的各无线接入点中选择无线接入点, 将选择的无 线接入点发送给连接模块;
所述连接模块, 配置为接入所选择的无线接入点。
上述方案中, 所述搜索模块, 配置为按照周期扫描方式或手动触发扫 描方式, 搜索出周边的无线接入点。
上述方案中, 所述权重值确定模块, 配置为预先对不同的连接信息设 置对应的权重值, 根据搜索出的各无线接入点的连接信息统计对应的权重 值;
其中, 所述各无线接入点的连接信息包括: 信号强度、 和 /或加密方式、 和 /或优先级。 上述方案中, 所述接入点选择模块, 配置为按照各无线接入点的权重 值, 由高至低对各无线接入点进行排序, 当终端当前没有连接到无线网络 时, 在排序后的各无线接入点中选择第一个无线接入点, 并向连接模块发 送携带选择的无线接入点的信息的连接命令;
当终端当前已经连接到无线网络时, 判断当前连接的无线接入点的信 号强度是否在有效范围内, 如果信号强度不在有效范围内, 则在排序后的 各无线接入点中选择权重值最大的无线接入点, 并向连接模块发送携带选 择的无线接入点的信息的连接命令;
如果信号强度在有效范围内, 则进一步判断当前连接的无线接入点是 否在排序后的各无线接入点中, 当不在排序后的各无线接入点中时, 在排 序后的各无线接入点中选择权重值最大的无线接入点, 并向连接模块发送 携带选择的无线接入点的信息的连接命令。
上述方案中, 所述接入点选择模块, 还配置为在对各无线接入点进行 排序之后, 只保留 N个权重值较大的无线接入点, 或只保留权重值大于预 先设置的阔值的无线接入点, 在保留的无线接入点中选择无线接入点。
本发明实施例提供了一种终端自动接入无线接入点的方法和装置, 终 端搜索出周边的无线接入点, 根据各无线接入点的连接信息确定各无线接 入点的权重值, 按照各无线接入点的权重值对各无线接入点进行排序, 在 排序后的各无线接入点中选择无线接入点, 并接入所选择的无线接入点; 如此, 能够对无线接入点进行筛选, 并自动接入最佳的无线接入点, 大大 提高用户的体验, 并且通过提前过滤掉信号不好的无线网络, 使终端可以 快速选择到更好的无线网络, 节省电量。 附图说明
图 1 为本发明实施例实现终端自动接入无线接入点的方法的流程示意 图; 图 2为本发明实施例实现终端自动接入无线接入点的装置的结构示意 图。 具体实施方式
本发明实施例中, 终端搜索出周边的无线接入点, 根据各无线接入点 的连接信息确定各无线接入点的权重值, 按照各无线接入点的权重值对各 无线接入点进行排序, 在排序后的各无线接入点中选择无线接入点, 并接 入所选择的无线接入点。
下面通过附图及具体实施例对本发明做进一步的详细说明。
本发明实施例实现一种终端自动接入无线接入点的方法, 如图 1所示, 该方法包括以下几个步骤:
步骤 101 : 终端搜索出周边的无线接入点;
本步骤中, 终端按照周期扫描方式或手动触发扫描方式, 搜索出周边 的无线接入点;
具体的, 终端在预先设置的周期时间到时或收到手动触发产生的扫描 命令时, 产生开始扫描消息; 终端还预先设置定时时间, 判断所述开始扫 描消息产生的时间是否在定时时间内, 当在定时时间内时, 进一步判断当 前定时时间是否过了一半, 在过了一半时, 扫描周边的无线接入点; 在没 有过一半时, 暂时不扫描周边的无线接入点, 在定时时间到之后, 扫描周 边的无线接入点; 当在定时时间内没有开始扫描消息产生时, 终端主动扫 描周边的无线接入点;
所述在没有过一半时, 暂时不扫描周边的无线接入点, 在定时时间到 之后, 扫描周边的无线接入点, 例如: 定时时间为 5秒, 在 2秒的时候有 开始扫描消息产生, 则暂时不扫描周边的无线接入点, 在 5秒之后, 扫描 周边的无线接入点。
步骤 102:终端根据各无线接入点的连接信息确定各无线接入点的权重 值;
具体的, 终端预先对不同的连接信息设置对应的权重值, 根据搜索出 的各无线接入点的连接信息统计对应的权重值;
其中, 所述各无线接入点的连接信息包括: 信号强度、 和 /或加密方式、 和 /或优先级等;
所述终端预先对不同的连接信息设置对应的权重值, 比如: 设置信号 强度对应的权重值如表 1 所示, 按照信号强度由强到弱分为第一级、 第二 级、 第三级、 第四级、 第五级, 分别对应的权重值为 10、 8、 6、 4、 2; 设 置加密方式对应的权重值如表 2所示,加密方式分为无加密(Open )、 WI-FI 保护接入( WPA ) /WPA2、有线等效加密( WEP, Wired Equivalent Privacy ), 分别对应的权重值为 10、 8、 6、 4; 设置优先级对应的权重值如表 3所示, 优先级分为第一位、 第二位、 第三位、 第四位, 分别对应的权重值为 10、 7、 4、 2;
Figure imgf000008_0001
表 1
Figure imgf000008_0002
表 3
所述根据搜索出的各无线接入点的连接信息统计对应的权重值, 如: 根据搜索出的某个无线接入点的信号强度为第三级、 加密方式为无加密、 优先级为第一位, 将信号强度为第三级对应的权重值 6、加密方式为无加密 对应的权重值 10、优先级为第一位对应的权重值 10求和, 得到所述无线接 入点的权重值为 26。
步骤 103: 终端按照各无线接入点的权重值对各无线接入点进行排序, 在排序后的各无线接入点中选择无线接入点, 并接入所选择的无线接入点; 其中, 所述排序可以是按照权重值由高至低排序, 或按照权重值由低 至高排序;
所述在排序后的各无线接入点中选择无线接入点, 并接入所选择的无 线接入点, 为:
当终端当前没有连接到无线网络、 且各无线接入点是按照权重值由高 至低排序时, 在排序后的各无线接入点中选择第一个无线接入点, 根据选 择的无线接入点的信息, 通过连接命令接入所选择的无线接入点; 这里, 当各无线接入点是按照权重值由低至高排序时, 在排序后的各无线接入点 中选择最后一个无线接入点;
当终端当前已经连接到无线网络时, 判断当前连接的无线接入点的信 号强度是否在有效范围内, 如果信号强度不在有效范围内, 则在排序后的 各无线接入点中选择权重值最大的无线接入点, 根据选择的无线接入点的 信息, 通过连接命令接入所选择的无线接入点;
如果信号强度在有效范围内, 则进一步判断当前连接的无线接入点是 否在排序后的各无线接入点中, 当在排序后的各无线接入点中时, 说明当 前网络可用, 也是最优选的, 结束流程; 当不在排序后的各无线接入点中 时, 说明当前网络虽然可用, 但不是最优选的, 在排序后的各无线接入点 中选择权重值最大的无线接入点, 根据选择的无线接入点的信息, 通过连 接命令接入所选择的无线接入点;
所述判断当前连接的无线接入点是否在排序后的各无线接入点中为: 以网络服务设置标识(SSID, Service Set Identity ) 为查询基础, 在排序后 的各无线接入点中查询是否存在当前连接的无线接入点。 上述方法还包括: 在对各无线接入点进行排序之后, 只保留 N个权重 值较大的无线接入点, 或只保留权重值大于预先设置的阔值的无线接入点, 在保留的无线接入点中选择无线接入点, 并接入所选择的无线接入点; 这 里, 所述 N为自然数。
上述方法中, 所述无线接入点一般是指 WI-FI接入点。
为了实现上述方法, 本发明实施例还提供一种终端自动接入无线接入 点的装置, 该装置设置在终端中, 如图 2所示, 该装置包括: 搜索模块 21、 权重值确定模块 22、 接入点选择模块 23、 连接模块 24; 其中,
所述搜索模块 21 , 配置为搜索出周边的无线接入点, 将搜索出的无线 接入点发送到权重值确定模块 22;
所述权重值确定模块 22 , 配置为根据各无线接入点的连接信息确定各 无线接入点的权重值;
所述接入点选择模块 23 , 配置为按照各无线接入点的权重值对各无线 接入点进行排序, 在排序后的各无线接入点中选择无线接入点, 将选择的 无线接入点发送给连接模块 24;
所述连接模块 24, 配置为接入所选择的无线接入点;
所述搜索模块 21 ,具体配置为按照周期扫描方式或手动触发扫描方式, 搜索出周边的无线接入点;
具体的, 所述搜索模块 21在预先设置的周期时间到时或收到手动触发 产生的扫描命令时, 产生开始扫描消息; 判断所述开始扫描消息产生的时 间是否在预先设置的定时时间内, 当在定时时间内时, 进一步判断当前定 时时间是否过了一半, 在过了一半时, 扫描周边的无线接入点; 在没有过 一半时, 暂时不扫描周边的无线接入点, 在定时时间到之后, 扫描周边的 无线接入点; 当在定时时间内没有开始扫描消息产生时, 所述搜索模块 21 主动扫描周边的无线接入点; 所述权重值确定模块 22 , 具体配置为预先对不同的连接信息设置对应 的权重值, 根据搜索出的各无线接入点的连接信息统计对应的权重值; 其中, 所述各无线接入点的连接信息包括: 信号强度、 和 /或加密方式、 和 /或优先级等;
所述接入点选择模块 23 , 具体配置为按照各无线接入点的权重值, 由 高至低对各无线接入点进行排序, 当终端当前没有连接到无线网络时, 在 排序后的各无线接入点中选择第一个无线接入点, 并向连接模块 24发送携 带选择的无线接入点的信息的连接命令; 这里, 所述接入点选择模块 23还 可以对各无线接入点按照权重值由低至高排序, 所述接入点选择模块 23在 排序后的各无线接入点中选择最后一个无线接入点;
所述接入点选择模块 23 , 具体配置为当终端当前已经连接到无线网络 时, 判断当前连接的无线接入点的信号强度是否在有效范围内, 如果信号 强度不在有效范围内, 则在排序后的各无线接入点中选择权重值最大的无 线接入点,并向连接模块 24发送携带选择的无线接入点的信息的连接命令; 如果信号强度在有效范围内, 则进一步判断当前连接的无线接入点是 否在排序后的各无线接入点中, 当在排序后的各无线接入点中时, 说明当 前网络可用, 也是最优选的, 结束流程; 当不在排序后的各无线接入点中 时, 说明当前网络虽然可用, 但不是最优选的, 在排序后的各无线接入点 中选择权重值最大的无线接入点, 并向连接模块 24发送携带选择的无线接 入点的信息的连接命令;
所述接入点选择模块 23 , 还配置为在对各无线接入点进行排序之后, 只保留 N个权重值较大的无线接入点, 或只保留权重值大于预先设置的阔 值的无线接入点, 在保留的无线接入点中选择无线接入点; 这里, 所述 N 为自然数。 工业实用性
本发明实施例中, 终端根据各无线接入点的连接信息确定各无线接入 点的权重值, 按照权重值对各无线接入点进行排序, 在排序后的各无线接 入点中选择无线接入点, 并接入所选择的无线接入点; 这样, 能够对无线 接入点进行筛选, 并自动接入最佳的无线接入点, 大大提高用户的体验, 并且通过提前过滤掉信号不好的无线网络, 使终端可以快速选择到更好的 无线网络, 节省电量。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种终端自动接入无线接入点的方法, 该方法包括:
终端搜索出周边的无线接入点, 根据各无线接入点的连接信息确定各 无线接入点的权重值, 按照各无线接入点的权重值对各无线接入点进行排 序, 在排序后的各无线接入点中选择无线接入点, 并接入所选择的无线接 入点。
2、 根据权利要求 1所述的方法, 其中, 所述终端搜索出周边的无线接 入点为: 终端按照周期扫描方式或手动触发扫描方式, 搜索出周边的无线 接入点。
3、 根据权利要求 1所述的方法, 其中, 所述根据各无线接入点的连接 信息确定各无线接入点的权重值为: 预先对不同的连接信息设置对应的权 重值, 根据搜索出的各无线接入点的连接信息统计对应的权重值;
所述各无线接入点的连接信息包括: 信号强度、 和 /或加密方式、 和 / 或优先级。
4、 根据权利要求 1所述的方法, 其中, 所述在排序后的各无线接入点 中选择无线接入点, 并接入所选择的无线接入点, 为:
当终端当前没有连接到无线网络、 且各无线接入点是按照权重值由高 至低排序时, 在排序后的各无线接入点中选择第一个无线接入点, 根据选 择的无线接入点的信息, 通过连接命令接入所选择的无线接入点;
当终端当前已经连接到无线网络时, 判断当前连接的无线接入点的信 号强度是否在有效范围内, 如果信号强度不在有效范围内, 则在排序后的 各无线接入点中选择权重值最大的无线接入点, 根据选择的无线接入点的 信息, 通过连接命令接入所选择的无线接入点;
如果信号强度在有效范围内, 则判断当前连接的无线接入点是否在排 序后的各无线接入点中, 当不在排序后的各无线接入点中时, 在排序后的 各无线接入点中选择权重值最大的无线接入点, 根据选择的无线接入点的 信息, 通过连接命令接入所选择的无线接入点。
5、 根据权利要求 1所述的方法, 其中, 该方法还包括: 在对各无线接 入点进行排序之后, 只保留 N个权重值较大的无线接入点, 或只保留权重 值大于预先设置的阔值的无线接入点, 在保留的无线接入点中选择无线接 入点, 并接入所选择的无线接入点; 所述 N为自然数。
6、 一种终端自动接入无线接入点的装置, 其中, 该装置包括: 搜索模 块、 权重值确定模块、 接入点选择模块、 连接模块; 其中,
所述搜索模块, 配置为搜索出周边的无线接入点, 将搜索出的无线接 入点发送到权重值确定模块;
所述权重值确定模块, 配置为根据各无线接入点的连接信息确定各无 线接入点的权重值;
所述接入点选择模块, 配置为按照各无线接入点的权重值对各无线接 入点进行排序, 在排序后的各无线接入点中选择无线接入点, 将选择的无 线接入点发送给连接模块;
所述连接模块, 配置为接入所选择的无线接入点。
7、 根据权利要求 6所述的装置, 其中, 所述搜索模块, 配置为按照周 期扫描方式或手动触发扫描方式, 搜索出周边的无线接入点。
8、 根据权利要求 6所述的装置, 其中, 所述权重值确定模块, 配置为 预先对不同的连接信息设置对应的权重值, 根据搜索出的各无线接入点的 连接信息统计对应的权重值;
其中, 所述各无线接入点的连接信息包括: 信号强度、 和 /或加密方式、 和 /或优先级。
9、 根据权利要求 6所述的装置, 其中, 所述接入点选择模块, 配置为 按照各无线接入点的权重值, 由高至低对各无线接入点进行排序, 当终端 当前没有连接到无线网络时, 在排序后的各无线接入点中选择第一个无线 接入点, 并向连接模块发送携带选择的无线接入点的信息的连接命令; 当终端当前已经连接到无线网络时, 判断当前连接的无线接入点的信 号强度是否在有效范围内, 如果信号强度不在有效范围内, 则在排序后的 各无线接入点中选择权重值最大的无线接入点, 并向连接模块发送携带选 择的无线接入点的信息的连接命令;
如果信号强度在有效范围内, 则判断当前连接的无线接入点是否在排 序后的各无线接入点中, 当不在排序后的各无线接入点中时, 在排序后的 各无线接入点中选择权重值最大的无线接入点, 并向连接模块发送携带选 择的无线接入点的信息的连接命令。
10、 根据权利要求 6所述的装置, 其中, 所述接入点选择模块, 还配 置为在对各无线接入点进行排序之后, 只保留 N个权重值较大的无线接入 点, 或只保留权重值大于预先设置的阔值的无线接入点, 在保留的无线接 入点中选择无线接入点。
PCT/CN2013/079326 2013-01-24 2013-07-12 一种终端自动接入无线接入点的方法和装置 WO2013167036A2 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2013100274308A CN103118419A (zh) 2013-01-24 2013-01-24 一种终端自动接入无线接入点的方法和装置
CN201310027430.8 2013-01-24

Publications (2)

Publication Number Publication Date
WO2013167036A2 true WO2013167036A2 (zh) 2013-11-14
WO2013167036A3 WO2013167036A3 (zh) 2014-01-03

Family

ID=48416662

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079326 WO2013167036A2 (zh) 2013-01-24 2013-07-12 一种终端自动接入无线接入点的方法和装置

Country Status (2)

Country Link
CN (1) CN103118419A (zh)
WO (1) WO2013167036A2 (zh)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118419A (zh) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 一种终端自动接入无线接入点的方法和装置
CN104093189A (zh) 2013-09-03 2014-10-08 腾讯科技(深圳)有限公司 多媒体播放设备网络初始化的方法、系统、设备与终端
CN103781158A (zh) 2013-11-30 2014-05-07 北京智谷睿拓技术服务有限公司 无线网络接入方法及接入装置
CN103945411B (zh) * 2014-03-31 2018-01-12 华为技术有限公司 一种选取网络接入点的方法及装置
CN104159275B (zh) * 2014-07-17 2015-12-09 小米科技有限责任公司 网络连接方法及装置
CN104301927B (zh) * 2014-11-10 2017-12-19 北京元心科技有限公司 一种WiFi热点接入量的检测方法及系统
CN105813221A (zh) * 2014-12-31 2016-07-27 张义勇 Wifi无线局域网络环境下智能设备的wifi断网重连方法
CN104796965B (zh) * 2015-03-19 2018-07-10 四川长虹电器股份有限公司 一种WiFi环境下控制AP连接优先级的方法
CN104822151A (zh) * 2015-04-08 2015-08-05 苏州三星电子电脑有限公司 一种无线网络的扩展方法
CN109462880A (zh) * 2015-06-30 2019-03-12 北京奇虎科技有限公司 WiFi网络连接方法及装置
CN107046705B (zh) * 2016-02-05 2021-04-30 合勤科技股份有限公司 接入点名称自动取得方法、系统与网络装置
CN107306429B (zh) * 2016-04-21 2021-07-13 中兴通讯股份有限公司 网络接入点的连接方法及装置
CN107548032A (zh) * 2016-06-27 2018-01-05 上海连尚网络科技有限公司 用于提供无线接入点信息的方法与设备
CN108616884B (zh) * 2016-11-30 2022-01-07 上海掌门科技有限公司 用于无线接入点连接的方法与设备
CN106792952A (zh) * 2016-12-22 2017-05-31 三星半导体(中国)研究开发有限公司 用于终端连接到无线保真接入点的方法和装置
CN107484230B (zh) * 2017-09-29 2021-08-10 惠州Tcl移动通信有限公司 一种多网络定位方法、存储介质及移动终端
CN108616964A (zh) * 2018-03-20 2018-10-02 上海连尚网络科技有限公司 一种用于在终端推荐无线接入点的方法、设备及介质
CN109617802B (zh) * 2018-12-13 2021-07-30 Oppo广东移动通信有限公司 链路聚合实现方法及相关产品
CN110798870A (zh) * 2019-10-23 2020-02-14 厦门亿联网络技术股份有限公司 一种无线信号扩展方法、装置、设备及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1714594A (zh) * 2003-01-09 2005-12-28 诺基亚公司 无线通信系统中的接入点选择
CN101461192A (zh) * 2006-05-30 2009-06-17 皇家飞利浦电子股份有限公司 用于指明优选的接入点和服务供应商的系统、设备和方法
WO2012079242A1 (en) * 2010-12-17 2012-06-21 Siemens Aktiengesellschaft Method device and system for controlling handoff
CN102638869A (zh) * 2012-03-16 2012-08-15 杭州华三通信技术有限公司 一种无线客户端的接入方法和设备
CN103118419A (zh) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 一种终端自动接入无线接入点的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764313A (zh) * 2004-10-20 2006-04-26 宏碁股份有限公司 无线网络中无线撷取点的选择方法及装置
CN102006627B (zh) * 2010-11-01 2013-04-17 中国电信股份有限公司 Wlan切换方法和系统
CN102547910A (zh) * 2012-02-09 2012-07-04 中国联合网络通信集团有限公司 无线接入点选择方法及无线接入点

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1714594A (zh) * 2003-01-09 2005-12-28 诺基亚公司 无线通信系统中的接入点选择
CN101461192A (zh) * 2006-05-30 2009-06-17 皇家飞利浦电子股份有限公司 用于指明优选的接入点和服务供应商的系统、设备和方法
WO2012079242A1 (en) * 2010-12-17 2012-06-21 Siemens Aktiengesellschaft Method device and system for controlling handoff
CN102638869A (zh) * 2012-03-16 2012-08-15 杭州华三通信技术有限公司 一种无线客户端的接入方法和设备
CN103118419A (zh) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 一种终端自动接入无线接入点的方法和装置

Also Published As

Publication number Publication date
WO2013167036A3 (zh) 2014-01-03
CN103118419A (zh) 2013-05-22

Similar Documents

Publication Publication Date Title
WO2013167036A2 (zh) 一种终端自动接入无线接入点的方法和装置
KR101910477B1 (ko) 액세스 포인트 조종
JP6100342B2 (ja) クローズドサブスクライバグループセルのセル選択および再選択
WO2017181480A1 (zh) 网络接入点的连接方法及装置
CN101237689B (zh) 一种接入技术的选择方法及装置
CN105393603B (zh) 选择公共陆地移动网络plmn的方法及其装置和设备
CN105516961B (zh) 基于无感知认证的控制方法和系统
WO2013049996A1 (zh) 接入网选择方法、用户设备、系统和选网策略单元
WO2016173372A1 (zh) 一种网络接入方法和移动通信终端
KR101365191B1 (ko) 드라이브 테스트 최소화 측정을 처리하는 방법 및 관련 통신 디바이스
CN104717709B (zh) 一种网络切换方法及装置
JP5959360B2 (ja) 無線通信端末、方法、プログラム
CN109600241B (zh) 数据分析方法和数据分析装置
CN103856918B (zh) 一种获取移动通信系统gsm手机号码的方法及系统
CN106961693B (zh) 一种确定无线接入设备工作信道的方法
WO2010031258A1 (zh) 小区重选方法和终端
CN105916189A (zh) 一种终端配网方法及终端配网装置
WO2011144017A1 (zh) 移动终端快速扫频的方法、装置及移动终端
WO2010145418A1 (zh) 一种越区覆盖评估方法及装置
CN108271225B (zh) 一种网络获取方法和装置
WO2016026124A1 (zh) 无线网络接入控制方法及设备、系统
WO2015184820A1 (zh) Wifi热点连接方法及装置
CN106060878A (zh) 一种设备的中继方法和中继器
CN108093390B (zh) 一种基于特征信息的智能设备发现方法
US9900229B2 (en) Network-connectivity detection

Legal Events

Date Code Title Description
122 Ep: pct application non-entry in european phase

Ref document number: 13787379

Country of ref document: EP

Kind code of ref document: A2