WO2014154101A1 - 实现快速网络连接的方法和装置 - Google Patents

实现快速网络连接的方法和装置 Download PDF

Info

Publication number
WO2014154101A1
WO2014154101A1 PCT/CN2014/073647 CN2014073647W WO2014154101A1 WO 2014154101 A1 WO2014154101 A1 WO 2014154101A1 CN 2014073647 W CN2014073647 W CN 2014073647W WO 2014154101 A1 WO2014154101 A1 WO 2014154101A1
Authority
WO
WIPO (PCT)
Prior art keywords
list
bssid
connection
failure
blacklist
Prior art date
Application number
PCT/CN2014/073647
Other languages
English (en)
French (fr)
Inventor
相超
王旭婷
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to JP2015516460A priority Critical patent/JP5988117B2/ja
Publication of WO2014154101A1 publication Critical patent/WO2014154101A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • 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 the field of communications technologies, and in particular, to a method and apparatus for implementing a fast network connection.
  • BACKGROUND With the development of mobile communication technologies, the demand for Wi-Fi access by users is increasing, and the number of Wi-Fi access points (APs) provided by operators is increasing, so Wi-Fi is often appeared.
  • the station (STA) scans dozens of Wi-Fi APs, and the STA needs to try to access each Service Set ID (SSID) in turn, resulting in an increase in the time for accessing the network.
  • SSID Service Set ID
  • the STA does not record the SSID that has failed to connect. Therefore, the STA repeatedly attempts to access an SSID that cannot be accessed, and the STA cannot quickly access the available network.
  • SSID Service Set ID
  • Embodiments of the present invention provide a method and apparatus for implementing a fast network connection, which can effectively improve
  • a method for implementing a fast network connection comprising:
  • the Wi-Fi station performs a lookup scan on the Wi-Fi access point AP to obtain a SSID scan list of the service identifier.
  • a connection request is initiated to the AP corresponding to the first BSSID in the SSID connection list, so that the AP corresponding to the first BSSID establishes a network connection.
  • the method further includes: Identifying whether there is a failed BSSID record in the blacklist list;
  • the blacklist is updated, and the expired BSSID record is deleted from the blacklist.
  • the method further includes:
  • the failed array information includes: a failed array list and a blacklist list; the failed array list is used to record information of the unsuccessful BSSID, including: BSSID, number of failures, and access time, and according to the information
  • the blacklist is updated.
  • the method further includes:
  • the record of the first BSSID is deleted from the failed array list.
  • the method further includes:
  • the process of loading a configuration file further includes initializing a list of failed cause generations
  • updating the failed array list is specifically:
  • the information of the first BSSID is added to the failed array list.
  • the method further includes Includes:
  • the time information is used to identify a BSSID record that is invalid in the blacklist.
  • the method further includes:
  • the AP connection corresponding to the first BSSID is unsuccessful, the information of the first BSSID is deleted from the SSID connection list, and the connection is initiated to the AP corresponding to the second BSSID in the SSID connection list.
  • the method before the SSID scan list is filtered by the blacklist list based on the basic service set identifier BSSID, and the SSID connection list is determined, the method further includes:
  • a second aspect provides an apparatus for implementing a fast network connection, where the apparatus includes: a communication unit, a processing unit, and a storage unit, where the storage unit is configured to store a service set identifier SSID scan list, an SSID connection list, and a BSSID.
  • Blacklist column
  • the processing unit is used to:
  • a connection request is initiated to the AP corresponding to the first BSSID in the SSID connection list, so that the AP corresponding to the first BSSID establishes a network connection.
  • the processing unit is further configured to:
  • the blacklist is updated, and the expired BSSID record is deleted from the blacklist.
  • the processing unit is further configured to:
  • the failed array information includes: a failed array list and the blacklist list; the failed array list is used to record information about the unsuccessful BSSID connection, Includes: BSSID, number of failures, and access time. And updating the blacklist list according to the information.
  • the processing unit is further configured to:
  • the record of the first BSSID is deleted from the failed array list.
  • the processing unit is further configured to:
  • the processing unit is specifically configured to:
  • the information of the first BSSID is added to the failed array list.
  • the processing unit is further configured to:
  • the information of the first BSSID is added to the blacklist stored in the storage unit, and time information is set; the time information is used to identify the blacklist.
  • the apparatus is further configured to:
  • the processing unit When the AP connection corresponding to the first BSSID is unsuccessful, the processing unit is connected from the SSID The information of the first BSSID is deleted from the list, and the connection is initiated by the communication unit to the AP corresponding to the second BSSID in the SSID connection list.
  • processing unit is further configured to:
  • FIG. 1 is a system architecture diagram of a method for implementing a fast network connection according to an embodiment of the present invention
  • Embodiment 2 is a method for implementing a fast network connection according to Embodiment 1 of the present invention
  • Embodiment 3 is a method for implementing a fast network connection according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of an apparatus for implementing a fast network connection according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of hardware of an apparatus for implementing fast network connection according to Embodiment 4 of the present invention.
  • the technical solutions of the embodiments of the present invention are further described in detail below through the accompanying drawings and embodiments.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A method for implementing a fast network connection according to an embodiment of the present invention is described in detail with reference to FIG. 1 and FIG. 2, and FIG. 1 is a system architecture diagram of a method for implementing a fast network connection according to an embodiment of the present invention.
  • FIG. 1 is a system architecture diagram of a method for implementing a fast network connection according to an embodiment of the present invention.
  • a flowchart of a method for implementing a fast network connection provided by an embodiment of the present invention.
  • STA site
  • users can dynamically update the dynamic management of Wi-Fi network availability and improve the efficiency of STA access to the network.
  • the specific method for implementing the fast network connection is as shown in FIG. 2, and includes the following steps:
  • Step 210 The Wi-Fi station STA performs a lookup scan on the Wi-Fi access point AP to obtain a SSID scan list.
  • the STA scans the channel of the wireless network, and multiple Wi-Fi APs may exist on each channel, and the STA obtains the Wi-Fi scan result and generates an SSID scan list.
  • the scan list includes: a network name, a basic service set identifier (BSSID) (ie, a MAC address of the AP hotspot), a signal strength, a working channel, and the like.
  • BSSID basic service set identifier
  • Step 220 Filter the SSID scan list according to a blacklist list of the service set identifier BSSID, and determine an SSID connection list.
  • the SSID scan list is filtered according to the blacklist list of the BSSID, and the record information of the BSSID matching the blacklist list in the list is deleted, thereby generating an SSID connection list.
  • the blacklist of the BSSID is the latest blacklist.
  • the STA Before performing the filtering on the connection list, the STA needs to update the blacklist to ensure that the BSSID is not filtered by the available BSSID.
  • Step 230 Initiate a connection request to the AP corresponding to the first BSSID in the SSID connection list, so as to establish a network connection with the AP corresponding to the first BSSID.
  • the STA initiates a connection to the AP corresponding to the first BSSID in the SSID connection list.
  • the AP corresponding to the first BSSID may be the AP with the best signal in the list, or the AP with the most successful connection, and the order of the AP corresponding to the BSSID in the list may be customized.
  • the STA After the connection is successful, the STA establishes a data link by using the AP corresponding to the first BSSID to perform data services.
  • the AP corresponding to the first BSSID can access the network to perform data services.
  • the method for implementing the fast network connection improves the efficiency of the STA accessing the network by increasing the dynamic blacklist management, thereby avoiding the invalid attempted access to the unavailable SSID during the STA access.
  • FIG. 3 is a flowchart of a method for implementing a fast network connection according to Embodiment 2 of the present invention. As shown in the figure, the embodiment includes the following steps:
  • Step 301 loading a configuration file, and initializing the generated failure array information
  • the configuration file is read, the initial setting parameters are parsed and stored, and the failed array information is initialized.
  • the configuration file is preset in the memory of the STA
  • the initial setting parameters include: the threshold of the number of connection failures, the type of failure reason, the interval of the AP timing scan detection, and the blacklist storage release time.
  • the failed array information includes: a list of failed arrays and a blacklist.
  • the list of failed arrays is used to record the information of the unsuccessful BSSID. When the number of connection failures of a BSSID in the failed array list exceeds the threshold of the number of connection failures, it is added to the blacklist.
  • the process of loading a configuration file also includes initializing a list of failed cause generations.
  • Step 302 Perform a lookup scan on the Wi-Fi AP to obtain a SSID scan list.
  • the STA scans the channel of the wireless network, and multiple Wi-Fi APs may exist on each channel, and the STA obtains the Wi-Fi scan result and generates a SSID scan list.
  • the scan list includes: a network name, a basic service set identifier (BSSID) (ie, a MAC address of the AP hotspot), a signal strength, a working channel, and the like.
  • BSSID basic service set identifier
  • Step 303 Perform a Received Signal Strength Indication (RSSI) threshold and a profile list filtering on the SSID scan list.
  • RSSI Received Signal Strength Indication
  • the STA performs RSSI filtering and profile list filtering on the SSID scan list obtained in step 302;
  • the RSSI filtering removes the BSSID that does not satisfy the received signal strength within the STA setting range from the scan list; the profile list filter removes the BSSID that does not satisfy the customized operator information from the scan list.
  • Step 304 Identify whether there is a BSSID record that is invalid in the blacklist list.
  • the blacklist record of the BSSID is out of date, and if a BSSID record is stored in the blacklist, the storage time exceeds the blacklist storage. At the time, it is determined that the BSSID record is a failed BSSID record.
  • Step 305 When there is a failed BSSID record, update the blacklist list, and delete the invalid BSSID record from the blacklist list.
  • Step 306 Filter the SSID scan list according to a blacklist list of the service set identifier BSSID, and determine an SSID connection list.
  • the SSID scan list information after performing the RSSI filtering and the profile list filtering in the above step 303 is matched with the latest blacklist list, and the same BSSID information in the blacklist list is deleted, and finally the SSID connection list is generated.
  • Step 307 Determine whether the SSID connection list is an empty list.
  • step 308 is performed.
  • Step 308 Initiate a connection to the AP corresponding to the first BSSID in the SSID connection list, and determine whether the connection is successful.
  • the STA initiates a connection to the AP corresponding to the first BSSID in the SSID connection list.
  • the AP corresponding to the first BSSID may be the AP with the best signal in the list, or the AP with the most successful connection, and the order of the AP corresponding to the BSSID in the list may be customized.
  • Step 309 identifying whether the first BSSID exists in the list of failed arrays
  • Step 310 If the first BSSID exists in the failed array list, delete the record of the first BSSID from the failed array list;
  • Step 311 The STA establishes a data link by using the AP corresponding to the first BSSID to perform data service. Specifically, after the STA and the AP corresponding to the first BSSID in the SSID connection list are successfully connected, the AP corresponding to the first BSSID can access the network to perform data services.
  • Step 312 Identify whether the cause of the connection failure exists in the failure cause list
  • the process of loading the configuration file further includes initializing a list of the generated failure causes, and matching whether the cause of the current connection failure exists in the failure reason list. If yes, go to step 313, otherwise go directly to step 317.
  • Step 313 Identify whether the first BSSID exists in the failed array.
  • the information of the first BSSID is added to the list of failed arrays, where the information includes the number of failures and the failure time of the first BSSID, where the number of failures is recorded as one.
  • the information of the BSSID of the earliest failed time record in the failed array list needs to be deleted, and the information of the newly stored first BSSID is recorded.
  • Step 315 Update the number of failures of the first BSSID in the failed array list. Specifically, the information of the first BSSID is updated in the list of failed arrays, and is incremented once in the number of failures of the original record.
  • the BSSID information includes: BSSID, number of failures, and access time.
  • Step 316 When the number of failures exceeds a preset threshold, add information about the first BSSID to the blacklist, and set time information.
  • the information of the first BSSID in the failed array list is added to the blacklist, and the time when the information is added to the blacklist is set. This time is used to determine whether the BSSID record is invalid in the blacklist.
  • Step 317 deleting the information of the first BSSID from the SSID connection list, and returning to step 307 to determine whether the SSID connection list after deleting the first BSSID information is an empty list. If the list is not empty, then to the SSID connection list. The AP corresponding to the second BSSID initiates a connection.
  • the SSID connection list is updated, the information of the first BSSID is deleted, and the connection is continued to the AP corresponding to the second BSSID in the SSID connection list until the connection is successfully established or all BSSIDs in the SSID connection list are tried. Connection failed.
  • the method for implementing the fast network connection provided by the second embodiment of the present invention dynamically updates the blacklist according to the number of connections and the access time of the BSSID of the network that fails to be connected, so that the STA is only valid when the STA accesses the network.
  • the BSSID initiates a connection, which improves the efficiency of STA access and improves the user experience.
  • FIG. 4 is a schematic diagram of an apparatus for implementing a fast network connection according to an embodiment of the present invention.
  • the apparatus includes: a communication unit 41, a processing unit 42 and a storage unit 43;
  • Processing unit 42 is used to:
  • a connection request is initiated to the AP corresponding to the first BSSID in the SSID connection list, so that the AP corresponding to the first BSSID establishes a network connection.
  • the communication unit 41 is used to:
  • the storage unit 43 is used to: Stores the SSID scan list, the SSID connection list, and the blacklist list of BSSIDs.
  • processing unit 42 is further configured to:
  • the blacklist is updated, and the invalid BSSID record is deleted from the blacklist;
  • the failed array information includes: a failed array list and a blacklist list; the failed array list is used to record the unsuccessful BSSID information, and according to the information pair The blacklist is updated;
  • the record of the first BSSID is deleted from the list of failed arrays
  • the list of failed arrays is updated.
  • the information of the first BSSID is added to the blacklist stored in the storage unit 43 and the time information is set; the time information is used to invalidate the BSSID in the blacklist. Record;
  • the device is also used to:
  • the processing unit 42 deletes the information of the first BSSID from the SSID connection list, and initiates a connection through the communication unit 41 to the AP corresponding to the second BSSID in the SSID connection list.
  • the processing unit 42 acquires the corresponding parameter information and list information from the storage unit 43, and stores the generated or updated list information into the storage unit 43.
  • the processing unit 42 finds and connects to the Wi-Fi AP through the communication unit 41, thereby establishing an in-network connection.
  • the apparatus for implementing the fast network connection dynamically updates the blacklist according to the number of connections and the access time of the BSSID of the connection failure network by marking the SSID of the access failure, so that the STA is only valid when the STA accesses the network.
  • the BSSID initiates the connection, which realizes the efficiency of the STAT network. l, improve the user experience.
  • FIG. 5 is a schematic diagram of a hardware structure of an apparatus for implementing a fast network connection according to an embodiment of the present invention.
  • a network interface 51, a processor 52, and a memory 53 are included.
  • the system bus 54 is used to connect the network interface 51, the processor 52, and the memory 53.
  • the network interface 51 is used to communicate with the Internet of Things terminal, the Internet of Things access gateway, the bearer network, the Internet of Things service gateway, and the application server.
  • the memory 53 can be a persistent storage such as a hard disk drive and a flash memory having a software module and a device driver.
  • the software modules are capable of performing the various functional modules of the above described method of the present invention; the device drivers can be network and interface drivers.
  • the Wi-Fi station performs a search scan on the Wi-Fi access point AP to obtain a SSID scan list, and filters the SSID scan list based on the blacklist list of the service set identifier BSSID to determine an SSID connection list.
  • a connection is initiated to the AP corresponding to the first BSSID in the SSID connection list, thereby establishing a network connection.
  • the method and device for implementing the fast network connection in the embodiment of the present invention by adding the dynamic blacklist management, avoids the invalid attempted access to the unavailable SSID during the STA access, thereby improving the efficiency of the STA accessing the network.
  • the blacklist is updated, and the expired BSSID record is deleted from the blacklist.
  • the foregoing instruction process implements filtering the SSID scan list in the blacklist list based on the service set identifier BSSID, and matches the latest blacklist list when determining the SSID connection list, thereby effectively avoiding the erroneous deletion of the BSSID. Hosted.
  • the failed array information includes: a failed array list and a blacklist list; the failed array list is used to record information of the unsuccessful BSSID, including: BSSID, number of failures, and access time, and the blacklist is performed according to the information. Update.
  • the record of the first BSSID is deleted from the failed array list.
  • the above instructions update the list of failed arrays stored in memory 53, and remove them from the list of failed arrays for the available BSSIDs to carry.
  • the process of loading a configuration file further includes initializing a list of failed cause generations
  • the instruction for updating the failed array list specifically includes:
  • the information of the first BSSID is added to the failed array list.
  • the above instruction process realizes that when the reason for the connection failure matches the information in the failure reason list, the list of failed arrays is updated for bearer.
  • the time information is used to identify a BSSID record that is invalid in the blacklist.
  • the above instruction process implements the blacklist list to be loaded according to the process of updating the list of failed arrays.
  • the AP connection corresponding to the first BSSID is unsuccessful, the information of the first BSSID is deleted from the SSID connection list, and the connection is initiated to the AP corresponding to the second BSSID in the SSID connection list.
  • the received signal strength indication RSSI threshold filtering and profile list filtering are performed on the scan list.
  • the above instruction process implements list filtering of the scan list for bearer.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

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

Abstract

本发明实施例公开了一种实现快速网络连接的方法和装置。所述方法包括:Wi-Fi站点STA对Wi-Fi接入点AP进行查找扫描,获取服务集标识SSID扫描列表;基于基本服务集标识BSSID的黑名单列表对所述SSID扫描列表过滤,确定SSID连接列表;向所述SSID连接列表中的第一BSSID对应的AP发起连接,从而建立网络连接。本发明实施例通过增加动态黑名单管理,对接入失败的BSSID进行记录,从而在STA接入时避免了其无效的尝试接入不可用的SSID,提升了STA接入网络的效率。

Description

实现快速网络连接的方法和装置
本申请要求于 2013年 03月 29 日 提交中 国专利局, 申请号为 CN201310108351.X, 发明名称为 "实现快速网络连接的方法和装置" 的中国专 利申请, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域,尤其涉及一种实现快速网络连接的方法和装置。 背景技术 随着移动通信技术的发展, 用户对 Wi-Fi的访问需求不断增加, 而运营商提 供的 Wi-Fi接入点( Access Point, AP )也越来越多,因此常常出现 Wi-Fi站点( station. STA )扫描到数十个 Wi-Fi AP, STA需要依次尝试接入每一个服务集标识( Service Set ID, SSID ), 导致接入网络的时间随之增加。 并且, STA对于曾经连接失败的 SSID没有记录, 因此会出现 STA反复尝试接入某一个无法接入的 SSID的问题, 导致 STA无法快速接入可用的网络。 发明内容 本发明实施例提供了一种实现快速网络连接的方法和装置, 可以有效提升
STA的入网效率, 改善用户体险。
第一方面, 提供了一种实现快速网络连接的方法, 所述方法包括:
Wi-Fi站点 STA对 Wi-Fi接入点 AP进行查找扫描, 获取 务集标识 SSID扫描 列表;
基于基本服务集标识 BSSID的黑名单列表对所述 SSID扫描列表过滤, 确定 SSID连接列表;
向所述 SSID连接列表中的第一 BSSID对应的 AP发起连接请求, 从而与所述 第一 BSSID对应的 AP建立网络连接。
在第一种可能的实现方式中,在所述基于基本服务集标识 BSSID的黑名单对 所述 SSID扫描列表过滤, 确定 SSID连接列表之前, 所述方法还包括: 识别所述黑名单列表中是否存在失效的 BSSID记录;
当存在失效的 BSSID记录时, 更新所述黑名单列表,从所述黑名单列表中删 除所述失效的 BSSID记录。
在第二种可能的实现方式中, 所述方法还包括:
加载配置文件, 初始化生成失败数组信息;
所述失败数组信息包括: 失败数组列表和黑名单列表; 所述失败数组列表 用于记录连接不成功的 BSSID的信息, 包括: BSSID、 失败次数和接入时间, 并 根据所述信息对所述黑名单列表进行更新。
结合第一方面或第一方面的第二种可能的实现方式, 在第三种可能的实现 方式中, 当与所述第一 BSSID对应的 AP连接成功之后, 所述方法还包括:
识别所述第一 BSSID是否存在于失败数组列表中;
如果所述第一 BSSID存在于所述失败数组列表中,则从所述失败数组列表中 删除所述第一 BSSID的记录。
结合第一方面或第一方面的第二种可能的实现方式, 在第四种可能的实先 方式中, 所述方法还包括:
所述加载配置文件的过程还包括初始化生成失败原因列表;
当与所述第一 BSSID对应的 AP连接不成功时, 识别连接失败的原因是否存 在于所述失败原因列表中;
如果所述连接失败的原因存在于所述失败原因列表中, 则对所述失败数组 列表进行更新。
结合第一方面或第一方面的第四种可能的实现方式, 在第五种可能的实现 方式中, 对所述失败数组列表进行更新具体为:
识别所述第一 BSSID是否存在于失败数组中;
如果所述第一 BSSID存在于所述失败数组列表中,则在所述失败数组列表中 更新所述第一 BSSID的失败次数;
如果所述第一 BSSID不存在于所述失败数组列表中,则在所述失败数组列表 中增加第一 BSSID的信息。
结合第一方面或第一方面的第五种可能的实现方式, 在第六种可能的实现 方式中,在所述失败数组列表中更新所述第一 BSSID的信息之后, 所述方法还包 括:
当所述失败次数超过预设门限值时, 在所述黑名单列表中增加所述第一
BSSID的信息, 并设置时间信息; 所述时间信息用于识别所述黑名单列表中失效 的 BSSID记录。
在第七种可能的实现方式中, 述方法还包括:
当与所述第一 BSSID对应的 AP连接不成功时, 从所述 SSID连接列表中删除 所述第一 BSSID的信息, 并向所述 SSID连接列表中的第二 BSSID对应的 AP发起 连接。
在第八种可能的实现方式中,在所述基于基本服务集标识 BSSID的黑名单列 表对所述 SSID扫描列表过滤, 确定 SSID连接列表之前, 所述方法还包括:
对所述扫描列表执行接收信号强度指示 RSSI门限过滤和 Profile列表过滤。 第二方面, 提供了一种实现快速网络连接的装置, 所述装置包括: 通信单 元、 处理单元和存储单元, 所述存储单元, 用于存储服务集标识 SSID扫描列表、 SSID连接列表以及 BSSID的黑名单列;
所述处理单元用于:
根据所述通信单元查找扫描到的 Wi-Fi接入点 AP获取服务集标识 SSID扫描 列表;
基于基本服务集标识 BSSID的黑名单列表对所述 SSID扫描列表过滤, 确定 SSID连接列表;
向所述 SSID连接列表中的第一 BSSID对应的 AP发起连接请求, 从而与所述 第一 BSSID对应的 AP建立网络连接。
在第一种可能的实现方式中, 所述处理单元还用于:
识别所述黑名单列表中是否存在失效的 BSSID记录;
当存在失效的 BSSID记录时, 更新所述黑名单列表,从所述黑名单列表中删 除所述失效的 BSSID记录。
在第二种可能的实现方式中, 所述处理单元还用于:
加载配置文件, 初始化生成失败数组信息, 并存储在存储单元中; 所述失败数组信息包括: 失败数组列表和所述黑名单列表; 所述失败数组 列表用于记录连接不成功的 BSSID的信息, 包括: BSSID、失败次数和接入时间, 并根据所述信息对所述黑名单列表进行更新。
结合第二方面或第二方面的第二种可能的实现方式, 在第三种可能的实现 方式中, 所述处理单元还用于:
当与所述第一 BSSID对应的 AP连接成功之后, 识别所述第一 BSSID是否存 在于失败数组列表中;
如果所述第一 BSSID存在于所述失败数组列表中,则从所述失败数组列表中 删除所述第一 BSSID的记录。
结合第二方面或第二方面的第二种可能的实现方式, 在第四种可能的实现 方式中, 所述处理单元还用于:
加载配置文件初始化生成失败原因列表;
当与所述第一 BSSID对应的 AP连接不成功时, 识别连接失败的原因是否存 在于所述失败原因列表中;
如果所述连接失败的原因存在于所述失败原因列表中, 则对所述失败数组 列表进行更新。
结合第二方面或第二方面的第四种可能的实现方式, 在第五种可能的实现 方式中, 所述处理单元具体用于:
当所述连接失败的原因存在于所述失败原因列表中时,识别所述第一 BSSID 是否存在于失败数组中;
如果所述第一 BSSID存在于所述失败数组列表中,则在所述失败数组列表中 更新所述第一 BSSID的信息;
如果所述第一 BSSID不存在于所述失败数组列表中,则在所述失败数组列表 中增加第一 BSSID的信息。
结合第二方面或第二方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述处理单元还用于:
当所述失败次数超过预设门限值时, 在存储单元存储的所述黑名单列表中 增加所述第一 BSSID的信息, 并设置时间信息; 所述时间信息用于识别所述黑名 单列表中失效的 BSSID记录。
在第七种可能的实现方式中, 所述装置还用于:
当与所述第一 BSSID对应的 AP连接不成功时, 所述处理单元从所述 SSID连 接列表中删除所述第一 BSSID的信息, 并通过所述通信单元向所述 SSID连接列 表中的第二 BSSID对应的 AP发起连接。
在第八种可能的实现方式中, 所述处理单元还用于:
对所述扫描列表执行接收信号强度指示 RSSI门限过滤和 Profile列表过滤。 本发明实施例的实现快速网络连接的方法和装置, 通过增加动态黑名单管 理,从而在 STA接入时避免了其无效的尝试接入不可用的 SSID,提升了 STA接入 网络的效率。 附图说明 图 1为本发明实施例提供的实现快速网络连接的方法系统架构图;
图 2为本发明实施例一提供的实现快速网络连接的方法;
图 3为本发明实施例二提供的实现快速网络连接的方法;
图 4为本发明实施例三提供的实现快速网络连接的装置的示意图;
图 5为本发明实施例四提供的实现快速网络连接的装置的硬件结构示意图。 下面通过附图和实施例, 对本发明实施例的技术方案做进一步的详细描述。 具体实施方式 下面以图 1并结合图 2为例详细说明本发明实施例提供的实现快速网络连接 的方法, 图 1为本发明实施例提供的实现快速网络连接的方法系统架构图, 图 2 为本发明实施例提供的实现快速网络连接的方法流程图。如图 1所示,站点( STA ) 处于多个 Wi-Fi网络中时, 用户可以动态更新实现对 Wi-Fi网络可用性的动态管 理, 同时提高 STA接入网络的效率。
具体的实现快速网络连接的方法如图 2所示, 包括如下步骤:
步骤 210, Wi-Fi站点 STA对 Wi-Fi接入点 AP进行查找扫描, 获取 SSID扫描列 表;
具体的, STA对无线网络的信道进行扫描,每个信道上都可能存在多个 Wi-Fi AP, STA获取 Wi-Fi扫描结果, 生成 SSID扫描列表。 其中, 扫描列表中包括: 网 络名称, 基本服务集标识(Basic Service Set ID, BSSID ) (即 AP热点的 MAC地 址)、 信号强度、 工作信道等信息。 步骤 220, 基于服务集标识 BSSID的黑名单列表对所述 SSID扫描列表过滤, 确定 SSID连接列表;
具体的, 根据 BSSID的黑名单列表对 SSID扫描列表进行过滤, 删除该列表 中与黑名单列表中相匹配的 BSSID的记录信息, 从而生成 SSID连接列表。
优选的, BSSID的黑名单列表为最新的黑名单列表,在执行对连接列表过滤 前, STA需要更新黑名单列表, 以确保不会发生对可用的 BSSID误过滤。
步骤 230, 向所述 SSID连接列表中的第一 BSSID对应的 AP发起连接请求,从 而与所述第一 BSSID对应的 AP建立网络连接。 具体的, STA向 SSID连接列表中 的第一 BSSID对应的 AP发起连接。 优选的, 第一 BSSID对应的 AP可以是列表中 信号最好的 AP, 也可以是连接成功次数最多的 AP, BSSID对应的 AP在列表中的 排序方式可以被定制。
当连接成功后, STA通过所述第一 BSSID对应的 AP建立数据链路,进行数据 业务。
具体的, 当 STA与上述 SSID连接列表中的第一 BSSID对应的 AP连接成功之 后, 就可以通过第一 BSSID对应的 AP接入网络, 进行数据业务。
本发明实施例一提供的实现快速网络连接的方法, 通过增加动态黑名单管 理,从而在 STA接入时避免了其无效的尝试接入不可用的 SSID,提升了 STA接入 网络的效率。
图 3为本发明实施例二提供的一种实现快速网络连接的方法流程图, 如图所 示, 本实施例包括如下步骤:
步骤 301 , 加载配置文件, 初始化生成失败数组信息;
具体的, 在 STA开启之后, 读取配置文件, 解析并存储初始设定参数, 并初 始化生成失败数组信息。
其中, 配置文件被预先设置在 STA的存储器内;
初始设定参数包括: 连接失败次数的门限值、 失败原因类型、 AP定时扫描 检测时间间隔、 黑名单存储解禁时间等。
失败数组信息包括: 失败数组列表和黑名单列表。 失败数组列表用于记录 连接不成功的 BSSID的信息, 当失败数组列表中的某一 BSSID的连接失败次数超 过连接失败次数的门限值时, 就会被加入黑名单列表中。 此外, 加载配置文件的过程还包括初始化生成失败原因列表。
步骤 302, 对 Wi-Fi AP进行查找扫描, 获取 SSID扫描列表;
具体的, STA对无线网络的信道进行扫描,每个信道上都可能存在多个 Wi-Fi AP, STA获取 Wi-Fi扫描结果, 生成 SSID扫描列表。 其中, 扫描列表中包括: 网 络名称, 基本服务集标识(Basic Service Set ID, BSSID ) (即 AP热点的 MAC地 址)、 信号强度、 工作信道等信息。
步骤 303, 对 SSID扫描列表执行接收信号强度指示(RSSI, Received Signal Strength Indication ) 门限和 Profile列表过滤;
具体的, STA对步骤 302中获取的 SSID扫描列表进行 RSSI过滤和 Profile列表 过滤;
其中, RSSI过滤将不满足 STA设定范围内的接收信号强度的 BSSID从扫描列 表中删除; Profile列表过滤将不满足用户定制的运营商信息的 BSSID从扫描列表 中删除。
步骤 304, 识别所述黑名单列表中是否存在失效的 BSSID记录;
具体的, 根据黑名单列表中的 BSSID记录的存在时间与黑名单存储解禁时 间, 判断该 BSSID的黑名单记录是否超期, 如果某个 BSSID记录在黑名单列表里 的存储时间超过了黑名单存储解禁时间,则判定该 BSSID记录是失效的 BSSID记 录。
步骤 305, 当存在失效的 BSSID记录时, 更新所述黑名单列表, 从黑名单列 表中删除所述失效的 BSSID记录;
具体的, 将步骤 304中识别出的失效的黑名单记录, 从黑名单列表中删除。 步骤 306, 基于服务集标识 BSSID的黑名单列表对所述 SSID扫描列表过滤, 确定 SSID连接列表;
具体的, 对于经过上述步骤 303执行 RSSI过滤和 Profile列表过滤之后的 SSID 扫描列表信息与最新的黑名单列表进行匹配,删除与黑名单列表中相同的 BSSID 的信息, 最终生成 SSID连接列表。
步骤 307, 判定上述 SSID连接列表是否是空列表。
具体的,存在一种可能性, STA扫描获得的 SSID扫描列表中的 BSSID经过上 述步骤过滤之后, 全部被删除掉了, 此时需要重新执行 STA扫描的步骤。 当 SSID连接列表不为空时, 执行步骤 308。
步骤 308, 向所述 SSID连接列表中的第一 BSSID对应的 AP发起连接, 并判定 是否连接成功;
具体的, STA向 SSID连接列表中的第一 BSSID对应的 AP发起连接。 优选的, 第一 BSSID对应的 AP可以是列表中信号最好的 AP , 也可以是连接成功次数最多 的 AP, BSSID对应的 AP在列表中的排序方式可以被定制。
如果与第一 BSSID对应的 AP连接成功,则在连接成功后,执行下述步骤 309- 步骤 311:
步骤 309, 识别所述第一 BSSID是否存在于失败数组列表中;
步骤 310, 如果所述第一 BSSID存在于所述失败数组列表中, 则从所述失败 数组列表中删除所述第一 BSSID的记录;
步骤 311 , STA通过所述第一 BSSID对应的 AP建立数据链路,进行数据业务。 具体的, 当 STA与上述 SSID连接列表中的第一 BSSID对应的 AP连接成功之 后, 就可以通过第一 BSSID对应的 AP接入网络, 进行数据业务。
如果与第一 BSSID对应的 AP连接不成功, 则执行下述步骤 312-步骤 317: 步骤 312, 识别连接失败的原因是否存在于所述失败原因列表中;
具体的, 如前述步骤 301中所述, 加载配置文件的过程还包括初始化生成失 败原因列表, 匹配当前连接失败的原因是否存在于失败原因列表中。 如果存在, 则执行步骤 313, 否则直接执行步骤 317。
步骤 313 , 识别所述第一 BSSID是否存在于失败数组中。
如果所述第一 BSSID不存在于所述失败数组列表中, 则执行
步骤 314, 在所述失败数组列表中增加第一 BSSID的信息;
具体的, 在失败数组列表中增加第一 BSSID的信息, 该信息包括第一 BSSID 的失败次数和失败时间, 其中失败次数记录为 1次。
优选的,如果在向失败数组列表中增加第一 BSSID时发生数组记录已满的情 况, 需要删除失败数组列表中失败时间记录最早的 BSSID的信息, 并记录新存入 的第一 BSSID的信息。
如果所述第一 BSSID存在于所述失败数组列表中, 则执行
步骤 315, 在所述失败数组列表中更新所述第一 BSSID的失败次数; 具体的,在失败数组列表中更新第一 BSSID的信息,在原来记录的失败次数 上增加一次。 其中, BSSID的信息包括: BSSID、 失败次数和接入时间等。
步骤 316, 当所述失败次数超过预设门限值时, 在所述黑名单列表中增加所 述第一 BSSID的信息, 并设置时间信息;
具体的, 当失败次数超过允许发生的预设门限值时, 将失败数组列表中第 一 BSSID的信息增加到黑名单列表中,同时设置该信息加入黑名单列表的时间。 该时间用以判定在黑名单列表中该 BSSID记录是否失效。
步骤 317, 从 SSID连接列表中删除所述第一 BSSID的信息, 并返回执行步骤 307判定删除第一 BSSID信息后的 SSID连接列表是否是空列表, 如果列表不为 空, 则向 SSID连接列表中的第二 BSSID对应的 AP发起连接。
具体的, 将 SSID连接列表进行更新, 将第一 BSSID的信息进行删除, 并向 SSID连接列表中的第二 BSSID对应的 AP继续发起连接, 直至成功连接或者 SSID 连接列表中的所有 BSSID都被尝试连接失败。
本发明实施例二提供的实现快速网络连接的方法, 通过对接入失败的 SSID 进行标记, 根据连接失败网络的 BSSID的连接次数和接入时间动态更新黑名单, 从而在 STA入网时仅对有效的 BSSID发起连接, 实现了 STA入网效率的提升, 改 善用户体验。
相应的, 基于上述方法, 本发明实施例三还提供了一种实现快速网络连接 的装置, 图 4为本发明实施例提供的实现快速网络连接的装置的示意图。 如图所 示, 该装置包括: 通信单元 41、 处理单元 42和存储单元 43;
处理单元 42用于:
根据通信单元 41查找扫描到的 Wi-Fi接入点获取 SSID扫描列表;
基于服务集标识 BSSID的黑名单列表对所述 SSID扫描列表过滤, 确定 SSID 连接列表;
向所述 SSID连接列表中的第一 BSSID对应的 AP发起连接请求, 从而与所述 第一 BSSID对应的 AP建立网络连接。
通信单元 41用于:
扫描查找 Wi-Fi接入点 AP; 以及建立与 AP的网络连接。
存储单元 43用于: 存储 SSID扫描列表、 SSID连接列表以及 BSSID的黑名单列表。
此外, 处理单元 42还用于:
识别黑名单列表中是否存在失效的 BSSID记录;
当存在失效的 BSSID记录时, 更新黑名单列表,从所述黑名单列表中删除失 效的 BSSID记录;
加载配置文件, 初始化生成失败数组信息, 并存储在存储单元 43中; 其中 失败数组信息包括: 失败数组列表和黑名单列表; 失败数组列表用于记录连接 不成功的 BSSID的信息, 并根据信息对黑名单列表进行更新;
当与所述第一 BSSID对应的 AP连接成功之后, 识别第一 BSSID是否存在于 失败数组列表中;
如果第一 BSSID存在于失败数组列表中, 则从失败数组列表中删除第一 BSSID的记录;
加载配置文件初始化生成失败原因列表;
当与所述第一 BSSID对应的 AP连接不成功时, 识别连接失败的原因是否存 在于失败原因列表中;
如果连接失败的原因存在于失败原因列表中, 则对失败数组列表进行更新。 当失败次数超过预设门限值时, 在存储单元 43存储的黑名单列表中增加第 一 BSSID的信息, 并设置时间信息; 所述时间信息用于使别所述黑名单列表中失 效的 BSSID记录; 以及
对扫描列表执行接收信号强度指示 RSSI门限过滤和 Profile列表过滤。
所述装置还用于:
当连接不成功时, 处理单元 42从 SSID连接列表中删除第一 BSSID的信息, 并通过所述通信单元 41向 SSID连接列表中的第二 BSSID对应的 AP发起连接。
处理单元 42从存储单元 43中获取相应的参数信息和列表信息, 并将处理生 成或更新的列表信息存储至存储单元 43中。
处理单元 42通过通信单元 41查找并连接 Wi-Fi AP, 从而建立入网连接。
应用本发明实施例提供的实现快速网络连接的装置, 通过对接入失败的 SSID进行标记, 根据连接失败网络的 BSSID的连接次数和接入时间动态更新黑 名单, 从而在 STA入网时仅对有效的 BSSID发起连接, 实现了 STAT 网效率的提 升, 改善用户体验。
相应的, 本发明实施例还提供了一种实现快速网络连接的装置的硬件结构, 图 5为本发明实施例提供的实现快速网络连接的装置的硬件结构示意图, 如图所 示, 本实施例包括网络接口 51、 处理器 52和存储器 53。 系统总线 54用于连接网 络接口 51、 处理器 52和存储器 53。
网络接口 51用于与物联网终端、 物联网接入网关、 承载网、 物联网服务网 关和应用服务器通信。
存储器 53可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 53中具有软 件模块和设备驱动程序。 软件模块能够执行本发明上述方法的各种功能模块; 设备驱动程序可以是网络和接口驱动程序。
在启动时, 这些软件组件被加载到存储器 53中, 然后被处理器 52访问并执 行如下指令:
Wi-Fi站点 STA对 Wi-Fi接入点 AP进行查找扫描, 获取 SSID扫描列表; 基于服务集标识 BSSID的黑名单列表对所述 SSID扫描列表过滤, 确定 SSID 连接列表;
向所述 SSID连接列表中的第一 BSSID对应的 AP发起连接, 从而建立网络连 接。
本发明实施例的实现快速网络连接的方法和装置, 通过增加动态黑名单管 理,从而在 STA接入时避免了其无效的尝试接入不可用的 SSID,提升了 STA接入 网络的效率。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
识别所述黑名单列表中是否存在失效的 BSSID记录;
当存在失效的 BSSID记录时, 更新所述黑名单列表,从所述黑名单列表中删 除所述失效的 BSSID记录。
上述指令过程就实现了在基于服务集标识 BSSID的黑名单列表对所述 SSID 扫描列表过滤, 确定 SSID连接列表时, 匹配的是最新的黑名单列表, 从而有效 的避免了对 BSSID的误删除进行承载。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
加载配置文件, 初始化生成失败数组信息;
失败数组信息包括: 失败数组列表和黑名单列表; 失败数组列表用于记录 连接不成功的 BSSID的信息, 包括: BSSID、 失败次数和接入时间, 并根据所述 信息对所述黑名单列表进行更新。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
当与所述第一 BSSID对应的 AP连接成功之后, 识别所述第一 BSSID是否存 在于失败数组列表中;
如果所述第一 BSSID存在于所述失败数组列表中,则从所述失败数组列表中 删除所述第一 BSSID的记录。
上述指令就更新存储器 53中存储的失败数组列表,对于可用的 BSSID将其从 失败数组列表中剔除进行承载。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
所述加载配置文件的过程还包括初始化生成失败原因列表;
当与所述第一 BSSID对应的 AP连接不成功时, 识别连接失败的原因是否存 在于所述失败原因列表中;
如果所述连接失败的原因存在于所述失败原因列表中, 则对所述失败数组 列表进行更新。
具体的, 对所述失败数组列表进行更新的指令具体包括:
识别所述第一 BSSID是否存在于失败数组中;
如果所述第一 BSSID存在于所述失败数组列表中,则在所述失败数组列表中 更新所述第一 BSSID的失败次数;
如果所述第一 BSSID不存在于所述失败数组列表中,则在所述失败数组列表 中增加第一 BSSID的信息。
上述指令过程就实现了当连接失败的原因与失败原因列表中的信息相匹配 时, 更新失败数组列表进行承载。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
当所述失败次数超过预设门限值时, 在所述黑名单列表中增加所述第一
BSSID的信息, 并设置时间信息; 所述时间信息用于识别所述黑名单列表中失效 的 BSSID记录。
上述指令过程就实现了黑名单列表根据失败数组列表更新的过程进行承 载。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
当与所述第一 BSSID对应的 AP连接不成功时, 从所述 SSID连接列表中删除 所述第一 BSSID的信息, 并向所述 SSID连接列表中的第二 BSSID对应的 AP发起 连接。
进一步的, 所述处理器 52访问存储器 53的软件组件后, 执行以下过程的指 令:
对所述扫描列表执行接收信号强度指示 RSSI门限过滤和 Profile列表过滤。 上述指令过程就实现了扫描列表的列表过滤进行承载。
专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地 描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来执行, 取决 于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个特定的应用 来使用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范 围。
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、 处理器 执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ), 内存、 只读存储器(ROM )、 电可编程 ROM、 电可擦除可编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM, 或技术领域内所公知的任意其它形式 的存储介质中。
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行了 进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种实现快速网络连接的方法, 其特征在于, 所述方法包括:
Wi-Fi站点 STA对 Wi-Fi接入点 AP进行查找扫描,获取服务集标识 SS ID扫 描列表;
基于基本服务集标识 BSSID的黑名单列表对所述 SS ID扫描列表过滤, 确定 SSID连接列表;
向所述 SSID连接列表中的第一 BSS ID对应的 AP发起连接请求, 从而与所 述第一 BSSID对应的 AP建立网络连接。
2、 根据权利要求 1所述的方法, 其特征在于, 在所述基于基本服务集标识 BSS ID的黑名单对所述 SSID扫描列表过滤, 确定 SSID连接列表之前, 所述方法 还包括:
识别所述黑名单列表中是否存在失效的 BSSID记录;
当存在失效的 BSSID记录时, 更新所述黑名单列表, 从所述黑名单列表中 删除所述失效的 BSS ID记录。
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
加载配置文件, 初始化生成失败数组信息;
所述失败数组信息包括: 失败数组列表和所述黑名单列表; 所述失败数组 列表用于记录连接不成功的 BSSID的信息, 包括: BSSID、 失败次数和接入时间, 并根据所述信息对所述黑名单列表进行更新。
4、 根据权利要求 3所述的方法, 其特征在于, 当与所述第一 BSSID对应的 AP连接成功之后, 所述方法还包括:
识别所述第一 BSS ID是否存在于失败数组列表中;
如果所述第一 BSSID存在于所述失败数组列表中, 则从所述失败数组列表 中删除所述第一 BSS ID的记录。
5、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括:
所述加载配置文件的过程还包括初始化生成失败原因列表; 当与所述第一 BSS ID对应的 AP连接不成功时, 识别连接失败的原因是否存 在于所述失败原因列表中;
如果所述连接失败的原因存在于所述失败原因列表中, 则对所述失败数组 列表进行更新。
6、 根据权利要求 5所述的方法, 其特征在于, 所述如果所述连接失败的原 因存在于所述失败原因列表中, 则对所述失败数组列表进行更新, 包括:
识别所述第一 BSS ID是否存在于失败数组中;
如果所述第一 BSSID存在于所述失败数组列表中, 则在所述失败数组列表 中更新所述第一 BSS ID的失败次数;
如果所述第一 BSSID 不存在于所述失败数组列表中, 则在所述失败数组列 表中增加第一 BSS ID的信息。
7、 根据权利要求 6所述的方法, 其特征在于, 所述在所述失败数组列表中 更新所述第一 BSS ID的信息之后, 所述方法还包括:
当所述失败次数超过预设门限值时, 在所述黑名单列表中增加所述第一 BSS ID的信息, 并设置时间信息; 所述时间信息用于识别所述黑名单列表中失效 的 BSSID记录。
8、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
当与所述第一 BSS ID对应的 AP连接不成功时, 从所述 SSID连接列表中删 除所述第一 BSS ID的信息, 并向所述 SSID连接列表中的第二 BSSID对应的 AP 发起连接。
9、 根据权利要求 1所述的方法, 其特征在于, 在所述基于基本服务集标识 BSS ID的黑名单列表对所述 SSID扫描列表过滤, 确定 SS ID连接列表之前, 所述 方法还包括:
对所述扫描列表执行接收信号强度指示 RSSI 门限过滤和 Prof i le 列表过 滤。
10、 一种实现快速网络连接的装置, 其特征在于, 所述装置包括: 通信单 元、处理单元和存储单元, 所述存储单元, 用于存储服务集标识 SS ID扫描列表、 SSID连接列表以及 BSSID的黑名单列;
所述处理单元用于:
根据所述通信单元查找扫描到的 Wi-Fi接入点 AP获取服务集标识 SS ID 扫描列表;
基于基本服务集标识 BSSID的黑名单列表对所述 SS ID扫描列表过滤, 确 定 SS ID连接列表;
向所述 SSID连接列表中的第一 BSS ID对应的 AP发起连接请求, 从而与 所述第一 BSSID对应的 AP建立网络连接。
11、 根据权利要求 10述的装置, 其特征在于, 所述处理单元还用于: 识别所述黑名单列表中是否存在失效的 BSSID记录;
当存在失效的 BSSID记录时, 更新所述黑名单列表, 从所述黑名单列表中 删除所述失效的 BSS ID记录。
12、 根据权利要求 10述的装置, 其特征在于, 所述处理单元还用于: 加载配置文件, 初始化生成失败数组信息, 并存储在存储单元中; 所述失败数组信息包括: 失败数组列表和所述黑名单列表; 所述失败数组 列表用于记录连接不成功的 BSSID的信息, 包括: BSSID、 失败次数和接入时间, 并根据所述信息对所述黑名单列表进行更新。
13、 根据权利要求 12所述的装置, 其特征在于, 所述处理单元还用于: 当与所述第一 BSS ID对应的 AP连接成功之后,识别所述第一 BSSID是否存 在于失败数组列表中;
如果所述第一 BSSID存在于所述失败数组列表中, 则从所述失败数组列表 中删除所述第一 BSS ID的记录。
14、 根据权利要求 12所述的装置, 其特征在于, 所述处理单元还用于: 加载配置文件初始化生成失败原因列表;
当与所述第一 BSS ID对应的 AP连接不成功时,识别连接失败的原因是否存 在于所述失败原因列表中;
如果所述连接失败的原因存在于所述失败原因列表中, 则对所述失败数组 列表进行更新。
15、 根据权利要求 14所述的装置, 其特征在于, 所述处理单元还用于: 当所述连接失败的原因存在于所述失败原因列表中时,识别所述第一 BSSID 是否存在于失败数组中;
如果所述第一 BSSID存在于所述失败数组列表中, 则在所述失败数组列表 中更新所述第一 BSS ID的信息;
如果所述第一 BSSID不存在于所述失败数组列表中, 则在所述失败数组列 表中增加第一 BSS ID的信息。
16、 根据权利要求 15所述的装置, 其特征在于, 所述处理单元还用于: 当所述失败次数超过预设门限值时, 在存储单元存储的所述黑名单列表中 增加所述第一 BSSID 的信息, 并设置时间信息; 所述时间信息用于识别所述黑 名单列表中失效的 BSS ID记录。
17、 根据权利要求 10所述的装置, 其特征在于, 所述装置还用于: 当与所述第一 BSS ID对应的 AP连接不成功时, 所述处理单元从所述 SS ID 连接列表中删除所述第一 BSSID的信息, 并通过所述通信单元向所述 SS ID连接 列表中的第二 BSS ID对应的 AP发起连接。
18、 根据权利要求 10所述的装置, 其特征在于, 所述处理单元还用于: 对所述扫描列表执行接收信号强度指示 RSSI 门限过滤和 Prof i l e列表过 滤。
PCT/CN2014/073647 2013-03-29 2014-03-19 实现快速网络连接的方法和装置 WO2014154101A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015516460A JP5988117B2 (ja) 2013-03-29 2014-03-19 高速ネットワーク接続を実施するための方法および装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310108351.XA CN104080148A (zh) 2013-03-29 2013-03-29 实现快速网络连接的方法和装置
CN201310108351.X 2013-03-29

Publications (1)

Publication Number Publication Date
WO2014154101A1 true WO2014154101A1 (zh) 2014-10-02

Family

ID=51601145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/073647 WO2014154101A1 (zh) 2013-03-29 2014-03-19 实现快速网络连接的方法和装置

Country Status (3)

Country Link
JP (1) JP5988117B2 (zh)
CN (1) CN104080148A (zh)
WO (1) WO2014154101A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016189563A (ja) * 2015-03-30 2016-11-04 Necプラットフォームズ株式会社 通信装置と通信方法と通信システム並びにプログラム
CN108012311A (zh) * 2017-12-25 2018-05-08 深圳市闪联信息技术有限公司 一种智能设备自动切换配置路由器的方法
EP3565370A4 (en) * 2017-02-20 2020-01-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. WIRELESS TECHNOLOGY (WI-FI) CONNECTION METHOD AND RELATED PRODUCT

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333890A (zh) 2014-10-17 2015-02-04 小米科技有限责任公司 信号传输的控制方法及装置、电子设备
CN104540134B (zh) * 2014-12-03 2018-07-06 北京奇安信科技有限公司 无线访问节点检测方法、无线网络检测系统和服务器
CN104486816A (zh) * 2014-12-08 2015-04-01 电子科技大学 Wifi终端设备在多接入点中的快速自动扫描方法
CN109462880A (zh) * 2015-06-30 2019-03-12 北京奇虎科技有限公司 WiFi网络连接方法及装置
CN105120505B (zh) * 2015-07-28 2019-04-16 小米科技有限责任公司 智能设备接入路由器的方法、装置以及系统
CN105228228B (zh) * 2015-09-22 2019-07-12 Oppo广东移动通信有限公司 一种终端网络的智能连接方法和装置
CN105307286B (zh) * 2015-09-22 2018-11-27 广东欧珀移动通信有限公司 一种终端的wifi智能连接方法和装置
CN105873041A (zh) * 2016-05-20 2016-08-17 乐视控股(北京)有限公司 自动连接WiFi的方法和装置、以及移动终端
CN106454973A (zh) * 2016-10-24 2017-02-22 深圳市万普拉斯科技有限公司 Wi‑Fi网络中的AP切换方法和装置
CN106535300A (zh) * 2016-12-02 2017-03-22 广东欧珀移动通信有限公司 一种网络接入方法及装置
CN106851780B (zh) * 2016-12-07 2019-12-31 Oppo广东移动通信有限公司 一种网络连接的方法及终端
US10278116B2 (en) * 2017-03-29 2019-04-30 Wipro Limited Method and user equipment for performing an initial network access procedure
EP3383097B1 (en) * 2017-03-30 2019-11-13 Wipro Limited Method and user equipment for performing an initial network access procedure
US10341928B2 (en) * 2017-08-01 2019-07-02 Ademco Inc. Systems and methods of a portable device roaming between a plurality of access point devices with which the portable device is enrolled
CN109525992A (zh) * 2017-09-19 2019-03-26 中兴通讯股份有限公司 连接建立、连接建立协商方法及装置
CN107995672B (zh) * 2017-12-13 2021-06-29 乐鑫信息科技(上海)股份有限公司 一种Wi-Fi选择最优接入点的方法及其系统
CN110392412B (zh) * 2019-07-23 2022-05-13 歌尔科技有限公司 物联网设备配网方法、装置、设备及介质
CN110677832A (zh) * 2019-09-30 2020-01-10 北京摩拜科技有限公司 车辆的网络连接控制方法、装置及车辆、车辆系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507190A (zh) * 2006-08-25 2009-08-12 高通股份有限公司 通信系统中接入点的选择
CN101801106A (zh) * 2010-01-22 2010-08-11 深圳市权智掌上电脑有限公司 WiFi接入点连接系统及连接方法
CN102067678A (zh) * 2008-03-26 2011-05-18 高通股份有限公司 无线通信中由设备管理的接入点列表
CN102843684A (zh) * 2011-06-21 2012-12-26 航天信息股份有限公司 局域网中探测非法无线接入点的方法和系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262175A (ja) * 2005-03-17 2006-09-28 Tdk Corp 車載用無線lan装置
JP2009267847A (ja) * 2008-04-25 2009-11-12 Kyocera Corp 無線端末装置および無線ネットワークシステム
JP5397090B2 (ja) * 2009-08-25 2014-01-22 富士通モバイルコミュニケーションズ株式会社 携帯端末装置および無線lan接続方法
CN101873618A (zh) * 2010-06-21 2010-10-27 中兴通讯股份有限公司 一种通信监控方法及装置
US20120090027A1 (en) * 2010-10-12 2012-04-12 Electronics And Telecommunications Research Institute Apparatus and method for detecting abnormal host based on session monitoring
CN102469117B (zh) * 2010-11-08 2014-11-05 中国移动通信集团广东有限公司 一种异常访问行为的识别方法及装置
CN102624725B (zh) * 2012-03-07 2016-04-20 深圳市共进电子股份有限公司 一种pin码接入方式的安全保护方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507190A (zh) * 2006-08-25 2009-08-12 高通股份有限公司 通信系统中接入点的选择
CN102067678A (zh) * 2008-03-26 2011-05-18 高通股份有限公司 无线通信中由设备管理的接入点列表
CN101801106A (zh) * 2010-01-22 2010-08-11 深圳市权智掌上电脑有限公司 WiFi接入点连接系统及连接方法
CN102843684A (zh) * 2011-06-21 2012-12-26 航天信息股份有限公司 局域网中探测非法无线接入点的方法和系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016189563A (ja) * 2015-03-30 2016-11-04 Necプラットフォームズ株式会社 通信装置と通信方法と通信システム並びにプログラム
EP3565370A4 (en) * 2017-02-20 2020-01-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. WIRELESS TECHNOLOGY (WI-FI) CONNECTION METHOD AND RELATED PRODUCT
US11070529B2 (en) 2017-02-20 2021-07-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for wireless fidelity connection and related products
CN108012311A (zh) * 2017-12-25 2018-05-08 深圳市闪联信息技术有限公司 一种智能设备自动切换配置路由器的方法
CN108012311B (zh) * 2017-12-25 2021-03-23 深圳市闪联信息技术有限公司 一种智能设备自动切换配置路由器的方法

Also Published As

Publication number Publication date
JP2015523797A (ja) 2015-08-13
JP5988117B2 (ja) 2016-09-07
CN104080148A (zh) 2014-10-01

Similar Documents

Publication Publication Date Title
WO2014154101A1 (zh) 实现快速网络连接的方法和装置
US11737045B2 (en) Connection processing method and apparatus in multi-access scenario
US10356619B2 (en) Access through non-3GPP access networks
EP3557913B1 (en) Network slice selection policy updating method and apparatus
EP3740028B1 (en) Method for establishing pdu session and corresponding terminal device and computer-readable storage medium
US9992760B2 (en) Method for updating RPLMN information and user equipment
WO2018202138A1 (zh) 通信方法及相关设备
US8151325B1 (en) Optimizing device authentication by discovering internet protocol version authorizations
WO2012171184A1 (zh) 基于mac地址的wlan认证方法和装置
WO2015043520A1 (zh) 一种激活pdn的方法及终端
EP3550886A1 (en) Wireless communication method and network device
WO2016197809A2 (zh) 接入点切换方法及装置
JP2007535229A (ja) 多種類ネットワーク内の無線lan再度選択方法
WO2015106525A1 (zh) 一种选网方法和装置
WO2019113981A1 (zh) 保障切换的方法、终端设备和网络设备
WO2017166038A1 (zh) 通信方法和终端
JP2024517897A (ja) Nswoサービスの認証のための方法、デバイス、および記憶媒体
CN114071465A (zh) 接入控制方法、装置及通信设备
CN114258088A (zh) 中间会话管理功能设备发现方法、设备和系统、存储介质
CN112153756B (zh) 一种基于隧道建立服务的数据处理方法和通信设备
CN104067665B (zh) 一种用户设备接入网络的方法及装置
US20220109975A1 (en) Terminal capability identifier operation method and communications device
WO2011079791A1 (zh) 网络发现方法、装置和接入点
WO2016065511A1 (zh) 网络注册方法、装置和用户终端
CN117793612A (zh) 终端接入控制方法、amf、通信系统以及存储介质

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015516460

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14773166

Country of ref document: EP

Kind code of ref document: A1