CN106358189B - Method and device for accessing wireless local area network - Google Patents
Method and device for accessing wireless local area network Download PDFInfo
- Publication number
- CN106358189B CN106358189B CN201610803425.5A CN201610803425A CN106358189B CN 106358189 B CN106358189 B CN 106358189B CN 201610803425 A CN201610803425 A CN 201610803425A CN 106358189 B CN106358189 B CN 106358189B
- Authority
- CN
- China
- Prior art keywords
- ssid
- same
- local area
- area network
- wireless local
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims abstract description 222
- 238000010586 diagram Methods 0.000 description 19
- 238000012545 processing Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/06—Access restriction performed under specific conditions based on traffic conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开提供一种接入无线局域网的方法及装置,应用于终端设备,该终端设备通过第一服务集标识SSID对应的接入点AP设备接入无线局域网络,该方法包括:当满足设定条件时,确定终端设备当前检测到的除所述第一SSID外的至少一个SSID;从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID;通过与所述第二SSID对应的AP设备接入到所述无线局域网络。由此可见,本公开技术方案可以实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。
The present disclosure provides a method and device for accessing a wireless local area network, which is applied to a terminal device. The terminal device accesses the wireless local area network through an access point AP device corresponding to an SSID of a first service set identifier. The method includes: when the setting is satisfied condition, determine at least one SSID other than the first SSID currently detected by the terminal device; from the at least one SSID, determine the second SSID in the same wireless local area network as the first SSID; The AP device corresponding to the second SSID is connected to the wireless local area network. It can be seen that, the technical solution of the present disclosure can realize access to the same wireless local area network through AP devices corresponding to different SSIDs in the same wireless local area network, without the need for the user to configure all AP devices in the same wireless local area network to the same SSID in advance. Simple.
Description
技术领域technical field
本公开涉及通信技术领域,特别涉及一种接入无线局域网的方法及装置。The present disclosure relates to the field of communication technologies, and in particular, to a method and device for accessing a wireless local area network.
背景技术Background technique
随着通信技术的发展,办公楼、购物中心、广场及火车站等大型区域实现了WiFi(Wireless Fidelity,无线保真)覆盖。目前由于单台AP(Access Point,接入点)设备的WiFi覆盖范围有限,因此大型区域内的WiFi通常是由连接在同一个无线局域网中的多个AP设备提供的。随着人们在区域内不断的走动,人们携带的移动终端通常需要通过同一无线局域网中不同的AP设备接入无线局域网络。With the development of communication technology, large areas such as office buildings, shopping malls, squares, and railway stations have achieved WiFi (Wireless Fidelity, wireless fidelity) coverage. At present, due to the limited WiFi coverage of a single AP (Access Point, access point) device, WiFi in a large area is usually provided by multiple AP devices connected to the same wireless local area network. As people move around continuously in the area, the mobile terminals carried by people usually need to access the wireless local area network through different AP devices in the same wireless local area network.
相关技术中,在用户手动将同一个无线局域网内AP设备的SSID(Service SetIdentifier,服务集标识)配置为同一SSID之后,才能通过同一无线局域网中不同的AP设备接入无线局域网络。In the related art, after the user manually configures the SSID (Service SetIdentifier, service set identifier) of the AP devices in the same wireless local area network to the same SSID, the wireless local area network can be accessed through different AP devices in the same wireless local area network.
然而,由于配置SSID的过程中需要相关的专业知识,因此非专业网络人员操作起来比较困难,此外,当AP设备数量较多时,逐个配置AP设备,操作比较繁琐。However, because the process of configuring SSID requires relevant professional knowledge, it is difficult for non-professional network personnel to operate. In addition, when there are a large number of AP devices, it is cumbersome to configure AP devices one by one.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题,本公开提供一种接入无线局域网的方法及装置。In order to solve the above problems, the present disclosure provides a method and device for accessing a wireless local area network.
具体地,本公开是通过如下技术方案实现的:Specifically, the present disclosure is achieved through the following technical solutions:
根据本公开实施例的第一方面,提供一种接入无线局域网的方法,应用于终端设备,所述终端设备通过第一服务集标识SSID对应的接入点AP设备接入无线局域网络,所述方法包括:According to a first aspect of the embodiments of the present disclosure, a method for accessing a wireless local area network is provided, which is applied to a terminal device, where the terminal device accesses the wireless local area network through an access point AP device corresponding to an SSID identified by a first service set, The methods described include:
当满足设定条件时,确定终端设备当前检测到的除所述第一SSID外的至少一个SSID;When the set condition is met, determine at least one SSID other than the first SSID currently detected by the terminal device;
从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID;From the at least one SSID, determine a second SSID in the same wireless local area network as the first SSID;
通过与所述第二SSID对应的AP设备接入到所述无线局域网络。Access to the wireless local area network through an AP device corresponding to the second SSID.
在一实施例中,所述从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID,包括:In an embodiment, the determining, from the at least one SSID, a second SSID in the same wireless local area network as the first SSID includes:
根据所述第一SSID对应的第一鉴权信息、及所述至少一个SSID对应的至少一个鉴权信息,确定所述第一SSID与所述至少一个SSID中的第二SSID是否处于同一局域网;According to the first authentication information corresponding to the first SSID and the at least one authentication information corresponding to the at least one SSID, determine whether the first SSID and the second SSID in the at least one SSID are in the same local area network;
其中,当所述至少一个鉴权信息中包含所述第一鉴权信息时,确定所述至少一个鉴权信息中所述第一鉴权信息对应的一个SSID为与所述第一SSID处于同一无线局域网中的第二SSID。Wherein, when the at least one authentication information includes the first authentication information, it is determined that an SSID corresponding to the first authentication information in the at least one authentication information is the same as the first SSID The second SSID in the wireless LAN.
在一实施例中,在所述从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID之前,还包括:In an embodiment, before the determining, from the at least one SSID, a second SSID in the same wireless local area network as the first SSID, the method further includes:
从服务器获取与所述第一SSID对应的可漫游SSID列表,其中,所述可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址;Acquire a roamable SSID list corresponding to the first SSID from the server, wherein the roamable SSID list records at least one SSID in the same wireless local area network as the first SSID and the MAC address of the AP corresponding to each SSID address;
所述从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID,包括:The determining, from the at least one SSID, a second SSID in the same wireless local area network as the first SSID includes:
当所述至少一个SSID中包含与所述可漫游SSID列表中的SSID相同的SSID,且相同的SSID对应的AP设备的MAC地址相同时,确定所述相同的SSID中的一个SSID为与所述第一SSID处于同一无线局域网中的第二SSID。When the at least one SSID includes the same SSID as the SSID in the roamable SSID list, and the MAC address of the AP device corresponding to the same SSID is the same, it is determined that one SSID in the same SSID is the same as the SSID in the roamable SSID list. The first SSID is the second SSID in the same wireless local area network.
在一实施例中,所述方法还包括:In one embodiment, the method further includes:
确定所述终端设备已连接过的SSID中鉴权信息相同的SSID,及鉴权信息相同的SSID对应的AP设备的MAC地址;Determine the SSID with the same authentication information in the connected SSIDs of the terminal device, and the MAC address of the AP device corresponding to the SSID with the same authentication information;
将所述鉴权信息相同的SSID和对应的AP设备的MAC地址发送给服务器,以便所述服务器更新可漫游SSID列表,其中,鉴权信息相同的SSID对应的AP设备处于同一无线局域网。The SSID with the same authentication information and the MAC address of the corresponding AP device are sent to the server, so that the server can update the roamable SSID list, wherein the AP devices corresponding to the SSID with the same authentication information are in the same wireless local area network.
在一实施例中,所述通过与所述第二SSID对应的AP设备接入到所述无线局域网络,包括:In an embodiment, the accessing to the wireless local area network through the AP device corresponding to the second SSID includes:
从终端设备本地获取所述第一SSID对应的第一鉴权信息;Obtain the first authentication information corresponding to the first SSID locally from the terminal device;
基于所述第一鉴权信息及第二SSID,连接到所述第二SSID对应的AP设备。Based on the first authentication information and the second SSID, connect to the AP device corresponding to the second SSID.
在一实施例中,所述鉴权信息包括登录密码和网关的MAC地址。In an embodiment, the authentication information includes a login password and a MAC address of the gateway.
在一实施例中,所述预设条件包括:In one embodiment, the preset conditions include:
第一SSID对应的AP设备的网络质量评分低于预设阈值。The network quality score of the AP device corresponding to the first SSID is lower than the preset threshold.
根据本公开实施例的第二方面,提供一种接入无线局域网的方法,应用于服务器,所述方法包括:According to a second aspect of the embodiments of the present disclosure, there is provided a method for accessing a wireless local area network, which is applied to a server, and the method includes:
接收终端设备发送的列表获取请求;Receive a list acquisition request sent by the terminal device;
将所述列表获取请求所请求的、与第一SSID对应的可漫游SSID列表发送给所述终端设备,其中,所述可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。Send the roamable SSID list corresponding to the first SSID requested by the list acquisition request to the terminal device, wherein the roamable SSID list records at least one SSID in the same wireless local area network as the first SSID SSID, and the MAC address of the AP device corresponding to each SSID.
在一实施例中,所述方法还包括:In one embodiment, the method further includes:
接收终端设备发送的至少两个SSID及所述至少两个SSID对应的AP设备的MAC地址,其中,所述至少两个SSID的鉴权信息相同,鉴权信息相同的SSID对应的AP设备处于同一无线局域网;Receive at least two SSIDs sent by the terminal device and the MAC addresses of the AP devices corresponding to the at least two SSIDs, wherein the authentication information of the at least two SSIDs is the same, and the AP devices corresponding to the SSIDs with the same authentication information are in the same wireless local area network;
将所述至少两个SSID及所述至少两个SSID对应的AP设备的MAC地址,添加到可漫游SSID列表。The at least two SSIDs and the MAC addresses of the AP devices corresponding to the at least two SSIDs are added to the roamable SSID list.
根据本公开实施例的第三方面,提供一种接入无线局域网的装置,应用于终端设备,所述终端设备通过第一服务集标识SSID对应的接入点AP设备接入无线局域网络,所述装置包括:According to a third aspect of the embodiments of the present disclosure, a device for accessing a wireless local area network is provided, which is applied to a terminal device, where the terminal device accesses the wireless local area network through an access point AP device corresponding to an SSID identified by a first service set, so The device includes:
第一确定模块,被配置为在满足设定条件的情况下,确定终端设备当前检测到的除所述第一SSID外的至少一个SSID;a first determining module, configured to determine at least one SSID other than the first SSID currently detected by the terminal device under the condition that the set condition is satisfied;
第二确定模块,被配置为从所述第一确定模块确定的至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID;a second determining module configured to determine, from at least one SSID determined by the first determining module, a second SSID that is in the same wireless local area network as the first SSID;
网络连接模块,被配置为通过与所述第二确定模块确定出的第二SSID对应的AP设备接入到所述无线局域网络。The network connection module is configured to access the wireless local area network through the AP device corresponding to the second SSID determined by the second determination module.
在一实施例中,所述第二确定模块,包括:In one embodiment, the second determining module includes:
第一确定子模块,被配置为根据所述第一SSID对应的第一鉴权信息、及所述至少一个SSID对应的至少一个鉴权信息,确定所述第一SSID与所述至少一个SSID中的第二SSID是否处于同一局域网;The first determination submodule is configured to determine, according to the first authentication information corresponding to the first SSID and at least one authentication information corresponding to the at least one SSID, the difference between the first SSID and the at least one SSID. Whether the second SSID is in the same local area network;
其中,当所述至少一个鉴权信息中包含所述第一鉴权信息时,确定所述至少一个鉴权信息中所述第一鉴权信息对应的一个SSID为与所述第一SSID处于同一无线局域网中的第二SSID。Wherein, when the at least one authentication information includes the first authentication information, it is determined that an SSID corresponding to the first authentication information in the at least one authentication information is the same as the first SSID The second SSID in the wireless LAN.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
获取模块,被配置为从服务器获取与所述第一SSID对应的可漫游SSID列表,其中,所述可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址;An obtaining module, configured to obtain a roamable SSID list corresponding to the first SSID from the server, wherein the roamable SSID list records at least one SSID in the same wireless local area network as the first SSID, and each SSID The MAC address of the corresponding AP device;
所述第二确定模块,包括:The second determining module includes:
第二确定子模块,被配置为当所述至少一个SSID中包含与所述可漫游SSID列表中的SSID相同的SSID,且相同的SSID对应的AP设备的MAC地址相同时,确定所述相同的SSID中的一个SSID为与所述第一SSID处于同一无线局域网中的第二SSID。The second determination submodule is configured to determine the same SSID when the at least one SSID contains the same SSID as the SSID in the roamable SSID list, and the MAC addresses of the AP devices corresponding to the same SSID are the same. One of the SSIDs is a second SSID in the same wireless local area network as the first SSID.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
第三确定模块,被配置为确定所述终端设备已连接过的SSID中鉴权信息相同的SSID,及鉴权信息相同的SSID对应的AP设备的MAC地址;The third determining module is configured to determine the SSID with the same authentication information in the SSIDs that the terminal device has connected to, and the MAC address of the AP device corresponding to the SSID with the same authentication information;
第一发送模块,被配置为将所述鉴权信息相同的SSID和对应的AP设备的MAC地址发送给服务器,以便所述服务器更新可漫游SSID列表,其中,鉴权信息相同的SSID对应的AP设备处于同一无线局域网。The first sending module is configured to send the SSID with the same authentication information and the MAC address of the corresponding AP device to the server, so that the server can update the roamable SSID list, wherein the AP corresponding to the SSID with the same authentication information The devices are on the same wireless LAN.
在一实施例中,所述网络连接模块,包括:In one embodiment, the network connection module includes:
获取子模块,被配置为从终端设备本地获取所述第一SSID对应的第一鉴权信息;an acquisition submodule, configured to locally acquire the first authentication information corresponding to the first SSID from the terminal device;
网络连接子模块,被配置为基于所述获取子模块获取到的第一鉴权信息及第二SSID,连接到所述第二SSID对应的AP设备。The network connection sub-module is configured to connect to the AP device corresponding to the second SSID based on the first authentication information and the second SSID obtained by the obtaining sub-module.
在一实施例中,所述鉴权信息包括登录密码和网关的MAC地址。In an embodiment, the authentication information includes a login password and a MAC address of the gateway.
在一实施例中,所述预设条件包括:In one embodiment, the preset conditions include:
第一SSID对应的AP设备的网络质量评分低于预设阈值。The network quality score of the AP device corresponding to the first SSID is lower than the preset threshold.
根据本公开实施例的第四方面,提供一种接入无线局域网的装置,应用于服务器,所述装置包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for accessing a wireless local area network, which is applied to a server, and the apparatus includes:
第一接收模块,被配置为接收终端设备发送的列表获取请求;a first receiving module, configured to receive a list acquisition request sent by the terminal device;
第二发送模块,被配置为将所述列表获取请求所请求的、与第一SSID对应的可漫游SSID列表发送给所述终端设备,其中,所述可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。The second sending module is configured to send the roamable SSID list requested by the list acquisition request and corresponding to the first SSID to the terminal device, wherein the roamable SSID list is recorded with the roamable SSID list corresponding to the first SSID At least one SSID in the same wireless local area network, and the MAC address of the AP device corresponding to each SSID.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
第二接收模块,被配置为接收终端设备发送的至少两个SSID及所述至少两个SSID对应的AP设备的MAC地址,其中,所述至少两个SSID的鉴权信息相同,鉴权信息相同的SSID对应的AP设备处于同一无线局域网;The second receiving module is configured to receive at least two SSIDs sent by the terminal device and the MAC addresses of the AP devices corresponding to the at least two SSIDs, wherein the at least two SSIDs have the same authentication information and the same authentication information The AP device corresponding to the SSID is in the same wireless LAN;
列表更新模块,被配置为将所述第二接收模块接收到的至少两个SSID及所述至少两个SSID对应的AP设备的MAC地址,添加到可漫游SSID列表。The list updating module is configured to add the at least two SSIDs received by the second receiving module and the MAC addresses of the AP devices corresponding to the at least two SSIDs to the roamable SSID list.
根据本公开实施例的第五方面,提供一种接入无线局域网的装置,包括:According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for accessing a wireless local area network, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:wherein the processor is configured to:
当满足设定条件时,确定终端设备当前检测到的除所述第一SSID外的至少一个SSID;When the set condition is met, determine at least one SSID other than the first SSID currently detected by the terminal device;
从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID;From the at least one SSID, determine a second SSID in the same wireless local area network as the first SSID;
通过与所述第二SSID对应的AP设备接入到所述无线局域网络。Access to the wireless local area network through an AP device corresponding to the second SSID.
根据本公开实施例的第六方面,提供一种接入无线局域网的装置,包括:According to a sixth aspect of the embodiments of the present disclosure, a device for accessing a wireless local area network is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:wherein the processor is configured to:
接收终端设备发送的列表获取请求;Receive a list acquisition request sent by the terminal device;
将所述列表获取请求所请求的、与第一SSID对应的可漫游SSID列表发送给所述终端设备,其中,所述可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。Send the roamable SSID list corresponding to the first SSID requested by the list acquisition request to the terminal device, wherein the roamable SSID list records at least one SSID in the same wireless local area network as the first SSID SSID, and the MAC address of the AP device corresponding to each SSID.
在一实施例中,可以从当前检测到的区别于第一SSID的其他SSID中,确定出与该第一SSID处于同一无线局域网中的第二SSID,之后通过与该第二SSID对应的AP设备接入到所述无线局域网络,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。In an embodiment, a second SSID in the same wireless local area network as the first SSID can be determined from other SSIDs currently detected that are different from the first SSID, and then the AP device corresponding to the second SSID can be used to determine the second SSID. Access to the wireless local area network, so as to achieve access to the same wireless local area network through AP devices corresponding to different SSIDs in the same wireless local area network, without the need for the user to configure all AP devices in the same wireless local area network to the same SSID in advance. easier.
在一实施例中,可以依据两个不同的SSID对应的鉴权信息来确定两个不同的SSID是否处于同一无线局域网,当鉴权信息相同时,两个不同的SSID处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。In one embodiment, it can be determined whether the two different SSIDs are in the same wireless local area network according to the authentication information corresponding to the two different SSIDs, and when the authentication information is the same, the two different SSIDs are in the same wireless local area network, thereby realizing Accessing the same wireless local area network through AP devices corresponding to different SSIDs in the same wireless local area network does not require the user to configure all AP devices in the same wireless local area network to the same SSID in advance, and the operation is relatively simple.
在一实施例中,可以通过自动查找可漫游SSID列表的方式,来确定两个不同的SSID是否处于同一无线局域网,当可漫游SSID列表中记录两个不同的SSID处于同一无线局域网时,确定这两个不同的SSID处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。In one embodiment, it can be determined whether two different SSIDs are in the same wireless local area network by automatically searching the roamable SSID list. Two different SSIDs are in the same wireless local area network, so that AP devices corresponding to different SSIDs in the same wireless local area network can be connected to the same wireless local area network without the need for users to configure all AP devices in the same wireless local area network to the same SSID in advance. The operation is relatively simple.
在一实施例中,由于无线局域网内有时会增加AP设备或删除AP设备,因此为了保证服务器端中存储的可漫游SSID列表中内容的准确性和全面性,该实施例中的终端设备可以将本地已连接过的AP设备的SSID和MAC地址依据鉴权信息进行分类,并将分类结果反馈给服务器,以便服务器更新可漫游SSID列表。In one embodiment, since AP devices are sometimes added or deleted in the wireless local area network, in order to ensure the accuracy and completeness of the content in the roamable SSID list stored in the server, the terminal device in this embodiment may The SSID and MAC address of the locally connected AP devices are classified according to the authentication information, and the classification result is fed back to the server, so that the server can update the roaming SSID list.
在一实施例中,在确定第一SSID与第二SSID处于同一无线局域网后,可以直接从终端设备本地读取与第二SSID对应的鉴权信息,进而基于该鉴权信息通过第二SSID对应的AP设备接入无线局域网,而无需用户手动输入鉴权信息,操作比较简单。In one embodiment, after it is determined that the first SSID and the second SSID are in the same wireless local area network, the authentication information corresponding to the second SSID can be directly read locally from the terminal device, and then the authentication information corresponding to the second SSID can be obtained based on the authentication information. The AP device is connected to the wireless local area network, and the user does not need to manually input the authentication information, and the operation is relatively simple.
在一实施例中,可以根据AP设备的网络质量参数,来确定AP设备的网络信号质量,及时发现网络信号质量差的AP设备,筛选信号质量强的AP设备进行连接,避免由于AP设备网络信号质量差所导致的终端设备上网网速慢等情况的发生。In an embodiment, the network signal quality of the AP device can be determined according to the network quality parameter of the AP device, the AP device with poor network signal quality can be found in time, and the AP device with strong signal quality can be screened for connection, so as to avoid the network signal quality of the AP device. The poor quality of the terminal equipment caused the occurrence of slow Internet access and other situations.
在一实施例中,服务器可以将本地存储的可漫游SSID列表发送给终端设备,以便该终端设备根据该SSID列表来确定两个不同的SSID是否处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。In one embodiment, the server can send the locally stored roamable SSID list to the terminal device, so that the terminal device can determine whether two different SSIDs are in the same wireless local area network according to the SSID list, so as to realize the roaming through the same wireless local area network. AP devices corresponding to different SSIDs are connected to the same wireless local area network, and the user does not need to configure all AP devices in the same wireless local area network to be the same SSID in advance, and the operation is relatively simple.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1A是本公开根据一示例性实施例示出的一种接入无线局域网的方法的流程图;FIG. 1A is a flowchart of a method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图1B是本公开根据一示例性实施例示出的图1A所示方法的应用场景图;FIG. 1B is an application scenario diagram of the method shown in FIG. 1A according to an exemplary embodiment of the present disclosure;
图2是本公开根据一示例性实施例示出的另一种接入无线局域网的方法的流程图;FIG. 2 is a flowchart of another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图3是本公开根据一示例性实施例示出的另一种接入无线局域网的方法的流程图;FIG. 3 is a flowchart of another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图4是本公开根据一示例性实施例示出的另一种接入无线局域网的方法的流程图;FIG. 4 is a flowchart of another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图5是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 5 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图6是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 6 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图7是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 7 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图8是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 8 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图9是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 9 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图10是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 10 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图11是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图;FIG. 11 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图12是本公开根据一示例性实施例示出的一种用于接入无线局域网的装置的一结构示意图;12 is a schematic structural diagram of an apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
图13是本公开根据一示例性实施例示出的另一种用于接入无线局域网的装置的一结构示意图。FIG. 13 is a schematic structural diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various pieces of information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
如图1A所示,图1A是本公开根据一示例性实施例示出的一种接入无线局域网的方法的流程图,该方法应用于终端设备,该终端设备通过第一服务集标识SSID对应的接入点AP设备接入无线局域网络,可以包括以下步骤:As shown in FIG. 1A , FIG. 1A is a flowchart of a method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure. The method is applied to a terminal device, and the terminal device identifies a corresponding SSID through a first service set. The access point AP device accesses the wireless local area network, which may include the following steps:
在步骤101中,当满足设定条件时,确定终端设备当前检测到的除第一SSID外的至少一个SSID。In
本实施例中的终端设备为具有WiFi上网功能的电子设备,在实际应用中,该终端设备可以包括:智能手机、平板电脑、智能手表及计算机设备等等。The terminal device in this embodiment is an electronic device with a WiFi Internet access function. In practical applications, the terminal device may include: a smart phone, a tablet computer, a smart watch, a computer device, and the like.
在本实施例中,终端设备可以通过扫描(Scanning)操作,扫描当前网络环境中的WiFi热点,获得当前网络环境中各WiFi热点对应的AP设备的信息,该信息包括:AP设备的服务集标识SSID、BSSID、信号强度、加密和认证方式等,其中,SSID为AP设备的网络名称,BSSID为AP设备的MAC地址。In this embodiment, the terminal device can scan the WiFi hotspots in the current network environment by scanning (Scanning) operation, and obtain the information of the AP devices corresponding to each WiFi hotspot in the current network environment, and the information includes: the service set identifier of the AP device SSID, BSSID, signal strength, encryption and authentication methods, etc., where SSID is the network name of the AP device, and BSSID is the MAC address of the AP device.
需要说明的是,本实施例中的终端设备可以在该终端设备使用无线网络时执行扫描操作,也可以在该终端设备使用数据流量时执行扫描操作,本实施例对此不作限定。It should be noted that, the terminal device in this embodiment may perform a scan operation when the terminal device uses a wireless network, or may perform a scan operation when the terminal device uses data traffic, which is not limited in this embodiment.
本实施例中的AP(Access Point,接入点)设备为无线网络中的无线交换机,它是终端设备用户进入有线网络的接入点,主要用于家庭宽带、企业内部网络部署等,无线覆盖距离为几十米至上百米,主要技术为802.11X系列。在实际应用中,该AP设备可以包括:单纯型AP设备和扩展型AP设备,其中,单纯型AP设备不具备路由功能,相当于无线交换机,扩展性AP设备具有路由功能,即无线路由器。The AP (Access Point, access point) device in this embodiment is a wireless switch in a wireless network, which is an access point for terminal device users to access a wired network, and is mainly used for home broadband, enterprise internal network deployment, etc., wireless coverage The distance is tens of meters to hundreds of meters, and the main technology is the 802.11X series. In practical applications, the AP device may include: a simple AP device and an extended AP device, wherein the simple AP device does not have a routing function, which is equivalent to a wireless switch, and the extended AP device has a routing function, that is, a wireless router.
在步骤102中,从该至少一个SSID中,确定与第一SSID处于同一无线局域网中的第二SSID。In
在本实施例中,第一SSID对应的AP设备与第二SSID对应的AP设备处于同一无线局域网。In this embodiment, the AP device corresponding to the first SSID and the AP device corresponding to the second SSID are in the same wireless local area network.
在步骤103中,通过与第二SSID对应的AP设备接入到无线局域网络。In
在本实施例中,终端设备通过与第二SSID对应的AP设备接入的无线局域网络,与通过与第一SSID对应的AP设备接入的无线局域网络为同一无线局域网络。In this embodiment, the wireless local area network accessed by the terminal device through the AP device corresponding to the second SSID and the wireless local area network accessed through the AP device corresponding to the first SSID are the same wireless local area network.
在一示例性应用场景中,如图1B所示,该应用场景中包括:终端设备100、第一AP设备110、第二AP设备120、第三AP设备130和第四AP设备140,其中,终端设备100通过第一AP设备110接入无线局域网络,第一AP设备的SSID为第一SSID,第一AP设备110、第二AP设备120和第三AP设备130均处于第一无线局域网,第四AP设备140处于第二无线局域网,上述四个AP设备均可以被终端设备110扫描到。In an exemplary application scenario, as shown in FIG. 1B , the application scenario includes: a
当满足设定条件时,终端设备通过对当前网络环境进行扫描,可以得到第一AP设备110的第一SSID、第二AP设备120的SSID、第三AP设备130的SSID、第四AP设备140的SSID,由于终端设备100当前通过第一AP设备110接入无线局域网络,因此本次从扫描得到的第二AP设备120的SSID、第三AP设备130的SSID和第四AP设备140的SSID中确定与第一SSID处于同一无线局域网的第二SSID,例如,当确定出第二AP设备120的SSID为第二SSID时,终端设备100通过第二AP设备120接入到无线局域网络。When the set conditions are met, the terminal device can obtain the first SSID of the
由上述实施例可见,该实施例可以从当前检测到的区别于第一SSID的其他SSID中,确定出与该第一SSID处于同一无线局域网中的第二SSID,之后通过与该第二SSID对应的AP设备接入到所述无线局域网络,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。It can be seen from the above embodiment that this embodiment can determine the second SSID that is in the same wireless local area network as the first SSID from other SSIDs currently detected that are different from the first SSID, and then use the second SSID corresponding to the second SSID. The AP device is connected to the wireless local area network, so that AP devices corresponding to different SSIDs in the same wireless local area network can be connected to the same wireless local area network without the need for the user to configure all AP devices in the same wireless local area network to be the same in advance. SSID, the operation is relatively simple.
如图2所示,图2是本公开根据一示例性实施例示出的另一种接入无线局域网的方法的流程图,本实施例中可以依据鉴权信息来确定两个不同的SSID是否处于同一无线局域网,此时该方法可以包括以下步骤:As shown in FIG. 2, FIG. 2 is a flowchart of another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure. In this embodiment, it may be determined whether two different SSIDs are in the In the same wireless local area network, the method may include the following steps:
在步骤201中,当满足设定条件时,确定终端设备当前检测到的除第一SSID外的至少一个SSID。In
本实施例中的步骤201与图1A所示实施例中的步骤101类似,本实施例对此不再赘述。Step 201 in this embodiment is similar to step 101 in the embodiment shown in FIG. 1A , which is not repeated in this embodiment.
在步骤202中,根据第一SSID对应的第一鉴权信息、及该至少一个SSID对应的至少一个鉴权信息,确定该第一SSID与该至少一个SSID中的第二SSID是否处于同一局域网;其中,当至少一个鉴权信息中包含第一鉴权信息时,确定该至少一个鉴权信息中第一鉴权信息对应的一个SSID为与第一SSID处于同一无线局域网中的第二SSID。In
需要说明的是,目前虽然同一无线局域网中各AP设备的SSID不完全相同,但各AP设备对应的鉴权信息是相同的,其中,终端设备通过AP设备的SSID和对应的鉴权信息连接到该AP设备。It should be noted that although the SSIDs of each AP device in the same wireless local area network are not exactly the same, the authentication information corresponding to each AP device is the same. the AP device.
在此情况下,本实施例可以通过比较第一SSID与第二SSID各自对应的鉴权信息是否相同,来确定第一SSID与第二SSID是否处于同一无线局域网,当第一SSID与第二SSID各自对应的鉴权信息相同时,确定第一SSID与第二SSID处于同一无线局域网;当第一SSID与第二SSID各自对应的鉴权信息不相同时,确定第一SSID与第二SSID处于不同的无线局域网。In this case, this embodiment can determine whether the first SSID and the second SSID are in the same wireless local area network by comparing whether the authentication information corresponding to the first SSID and the second SSID are the same. When the first SSID and the second SSID are in the same wireless local area network When the corresponding authentication information is the same, it is determined that the first SSID and the second SSID are in the same wireless local area network; when the authentication information corresponding to the first SSID and the second SSID are not the same, it is determined that the first SSID and the second SSID are in different locations. wireless local area network.
本实施例中的鉴权信息可以包括:登录密码和网关的MAC地址。The authentication information in this embodiment may include: the login password and the MAC address of the gateway.
在本实施例中,在终端设备之前通过该至少一个SSID对应的AP设备接入无线局域网络的情况下,如果该终端设备本地存储了该至少一个SSID对应的至少一个鉴权信息,则可以由该终端设备从本地获取第一SSID对应的第一鉴权信息、及该至少一个SSID对应的至少一个鉴权信息。In this embodiment, when the terminal device accesses the wireless local area network through the AP device corresponding to the at least one SSID before, if the terminal device locally stores at least one authentication information corresponding to the at least one SSID, the terminal device can use The terminal device obtains locally the first authentication information corresponding to the first SSID and at least one authentication information corresponding to the at least one SSID.
也可以由其他终端设备获取第一SSID对应的第一鉴权信息、及该至少一个SSID对应的至少一个鉴权信息,在由其他终端设备获取鉴权信息的情况下,执行本实施例方法的本终端设备可以通过某种途径得到依据其他终端设备获取的鉴权信息获得的局域网分类结果,例如其他终端设备将依据鉴权信息得到的局域网分类结果上传到服务器,本终端设备直接从服务器获取局域网分类结果。The first authentication information corresponding to the first SSID and the at least one authentication information corresponding to the at least one SSID may also be obtained by other terminal devices. In the case where the authentication information is obtained by other terminal devices, the method of this embodiment is executed. The terminal device can obtain the LAN classification result obtained according to the authentication information obtained by other terminal devices in some way. For example, other terminal devices upload the LAN classification result obtained according to the authentication information to the server, and the terminal device directly obtains the LAN classification result from the server. Classification results.
在步骤203中,通过与第二SSID对应的AP设备接入到无线局域网络。In
本实施例中的步骤203与图1A所示实施例中的步骤103类似,本实施例对此不再赘述。Step 203 in this embodiment is similar to step 103 in the embodiment shown in FIG. 1A , which is not repeated in this embodiment.
由上述实施例可见,该实施例可以依据两个不同的SSID对应的鉴权信息来确定两个不同的SSID是否处于同一无线局域网,当鉴权信息相同时,两个不同的SSID处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。It can be seen from the above embodiment that this embodiment can determine whether two different SSIDs are in the same wireless local area network according to the authentication information corresponding to the two different SSIDs. When the authentication information is the same, the two different SSIDs are in the same wireless local area network. , so that AP devices corresponding to different SSIDs in the same wireless local area network can be accessed to the same wireless local area network without the need for the user to configure all AP devices in the same wireless local area network to the same SSID in advance, and the operation is relatively simple.
如图3所示,图3是本公开根据一示例性实施例示出的另一种接入无线局域网的方法的流程图,本实施例中可以依据可漫游SSID列表来确定两个不同的SSID是否处于同一无线局域网,此时该方法可以包括以下步骤:As shown in FIG. 3 , FIG. 3 is a flowchart of another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure. In this embodiment, it may be determined whether two different SSIDs are roamable according to a list of roamable SSIDs In the same wireless local area network, the method may include the following steps:
在步骤301中,当满足设定条件时,确定终端设备当前检测到的除第一SSID外的至少一个SSID。In
本实施例中的步骤301与图1A所示实施例中的步骤101类似,本实施例对此不再赘述。Step 301 in this embodiment is similar to step 101 in the embodiment shown in FIG. 1A , which is not repeated in this embodiment.
在步骤302中,从服务器获取与第一SSID对应的可漫游SSID列表,该可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。In
本实施例中的服务器中存储有可漫游SSID列表,且该可漫游SSID列表可以为服务器维护人员手工配置的列表,也可以为该服务器依据一个或多个终端设备上传的信息自动生成的列表,其中,该列表的生成过程见下述图4所示实施例。The server in this embodiment stores a roamable SSID list, and the roamable SSID list can be a list manually configured by a server maintainer, or a list automatically generated by the server according to information uploaded by one or more terminal devices, The generation process of the list is shown in the following embodiment shown in FIG. 4 .
为了便于理解,可漫游SSID列表如下表1所示。For ease of understanding, the list of roamable SSIDs is shown in Table 1 below.
在步骤303中,当该至少一个SSID中包含与可漫游SSID列表中的SSID相同的SSID,且相同的SSID对应的AP设备的MAC地址相同时,确定该相同的SSID中的一个SSID为与第一SSID处于同一无线局域网中的第二SSID。In
结合表1,例如,第一SSID对应的AP设备的SSID为SSID1、MAC地址为MAC地址1,第二SSID对应的AP设备的SSID为SSID2、MAC地址为MAC地址2,通过查表1发现,表1中记录第一SSID与第二SSID都处于第一无线局域网。Combining with Table 1, for example, the SSID of the AP device corresponding to the first SSID is SSID1, the MAC address is MAC address 1, the SSID of the AP device corresponding to the second SSID is SSID2, and the MAC address is MAC address 2. By looking up Table 1, it is found that, It is recorded in Table 1 that both the first SSID and the second SSID are in the first wireless local area network.
在步骤304中,通过与第二SSID对应的AP设备接入到无线局域网络。In
本实施例中的步骤304与图1A所示实施例中的步骤103类似,本实施例对此不再赘述。Step 304 in this embodiment is similar to step 103 in the embodiment shown in FIG. 1A , which is not repeated in this embodiment.
由上述实施例可见,该实施例可以通过自动查找可漫游SSID列表的方式,来确定两个不同的SSID是否处于同一无线局域网,当可漫游SSID列表中记录两个不同的SSID处于同一无线局域网时,确定这两个不同的SSID处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。It can be seen from the above embodiment that in this embodiment, it can be determined whether two different SSIDs are in the same wireless local area network by automatically searching the roamable SSID list. , determine that the two different SSIDs are in the same wireless local area network, so as to achieve access to the same wireless local area network through AP devices corresponding to different SSIDs in the same wireless local area network, without the need for the user to pre-configure all AP devices in the same wireless local area network as the same SSID, the operation is relatively simple.
由于处于同一无线局域网的各SSID对应的鉴权信息是相同的,因此可以依据鉴权信息来确定不同的SSID是否处于同一无线局域网,基于此情况,在本公开提供的另一种实施例中,该实施例可以在图3所示实施例的基础上,增加以下步骤:Since the authentication information corresponding to each SSID in the same wireless local area network is the same, it can be determined whether different SSIDs are in the same wireless local area network according to the authentication information. Based on this situation, in another embodiment provided by the present disclosure, This embodiment may add the following steps on the basis of the embodiment shown in FIG. 3 :
确定终端设备已连接过的SSID中鉴权信息相同的SSID,及鉴权信息相同的SSID对应的AP设备的MAC地址;Determine the SSID with the same authentication information in the SSIDs that the terminal device has connected to, and the MAC address of the AP device corresponding to the SSID with the same authentication information;
将该鉴权信息相同的SSID和对应的AP设备的MAC地址发送给服务器,以便服务器更新可漫游SSID列表,其中,鉴权信息相同的SSID对应的AP设备处于同一无线局域网。The SSID with the same authentication information and the MAC address of the corresponding AP device are sent to the server, so that the server can update the roamable SSID list, wherein the AP devices corresponding to the SSID with the same authentication information are in the same wireless local area network.
由于无线局域网内有时会增加AP设备或删除AP设备,因此为了保证服务器端中存储的可漫游SSID列表中内容的准确性和全面性,本实施例中的终端设备可以将本地已连接过的AP设备的SSID和MAC地址依据鉴权信息进行分类,并将分类结果反馈给服务器,以便服务器更新可漫游SSID列表。Since AP devices are sometimes added or deleted in the wireless local area network, in order to ensure the accuracy and completeness of the contents in the roamable SSID list stored in the server, the terminal device in this embodiment can The SSID and MAC address of the device are classified according to the authentication information, and the classification result is fed back to the server, so that the server can update the roaming SSID list.
在本公开提供的另一种实施例中,该实施例可以在上述任一方法实施例的基础上,本实施例中的步骤通过与所述第二SSID对应的AP设备接入到所述无线局域网络,可以包括:In another embodiment provided by the present disclosure, this embodiment may be based on any of the above method embodiments, and the steps in this embodiment access to the wireless device through an AP device corresponding to the second SSID Local area network, which can include:
从终端设备本地获取第一SSID对应的第一鉴权信息;基于该第一鉴权信息及第二SSID,连接到第二SSID对应的AP设备。Obtain the first authentication information corresponding to the first SSID locally from the terminal device; and connect to the AP device corresponding to the second SSID based on the first authentication information and the second SSID.
由于第一SSID与第二SSID处于同一无线局域网,因此第一SSID对应的鉴权信息与第二SSID对应的鉴权信息是相同的;又由于终端设备当前通过第一SSID对应的AP设备接入无线局域网,因此该终端设备中存储有第一SSID对应的鉴权信息,即第一鉴权信息。Since the first SSID and the second SSID are in the same wireless local area network, the authentication information corresponding to the first SSID and the authentication information corresponding to the second SSID are the same; and because the terminal device is currently accessing through the AP device corresponding to the first SSID Wireless local area network, so the terminal device stores authentication information corresponding to the first SSID, that is, the first authentication information.
由上述实施例可见,该实施例在确定第一SSID与第二SSID处于同一无线局域网后,可以直接从终端设备本地读取与第二SSID对应的鉴权信息,进而基于该鉴权信息通过第二SSID对应的AP设备接入无线局域网,而无需用户手动输入鉴权信息,操作比较简单。It can be seen from the above embodiment that in this embodiment, after it is determined that the first SSID and the second SSID are in the same wireless local area network, the authentication information corresponding to the second SSID can be directly read locally from the terminal device, and then the authentication information can be passed through the first SSID based on the authentication information. The AP device corresponding to the second SSID is connected to the wireless local area network, and the user does not need to manually input the authentication information, and the operation is relatively simple.
在本公开提供的另一种实施例中,该实施例可以在上述任一方法实施例的基础上,本实施例中的预设条件可以包括:第一SSID对应的AP设备的网络质量评分低于预设阈值。In another embodiment provided by the present disclosure, this embodiment may be based on any of the above method embodiments, and the preset condition in this embodiment may include: the network quality score of the AP device corresponding to the first SSID is low at the preset threshold.
为了保证终端设备的网络质量,终端设备可以每间隔一段时长,对第一SSID对应的AP设备的网络质量进行评分,评分过程可以包括以下步骤S1和S2,其中,In order to ensure the network quality of the terminal device, the terminal device may score the network quality of the AP device corresponding to the first SSID at intervals, and the scoring process may include the following steps S1 and S2, wherein:
S1,获取第一SSID对应的AP设备的网络质量参数,该网络质量参数可以包括:信号强度RSSI、信噪比、网络传输速率、或工作频段;S1, acquiring network quality parameters of the AP device corresponding to the first SSID, where the network quality parameters may include: signal strength RSSI, signal-to-noise ratio, network transmission rate, or working frequency band;
S2,根据获取到的网络质量参数及预设的评分规则,对第一SSID对应的AP设备的网络质量进行评分。S2: Score the network quality of the AP device corresponding to the first SSID according to the obtained network quality parameter and the preset scoring rule.
例如,网络质量参数为RSSI、网络传输速率、工作频段,在第一SSID对应的AP设备网络传输速率低于设定的速率阈值时,启动漫游评分。评分规则为:当AP设备的RSSI>-80dbm时,评分score=score+14;当AP设备的RSSI<-80dbm时,评分score=score+8;当AP设备的工作频段为5G频谱且RSSI>-60dbm时,评分score=score+5*(60dbm-RSSI)。For example, the network quality parameters are RSSI, network transmission rate, and working frequency band. When the network transmission rate of the AP device corresponding to the first SSID is lower than the set rate threshold, the roaming score is started. The scoring rule is: when the RSSI of the AP device is >-80dbm, the score is score=score+14; when the RSSI of the AP device is <-80dbm, the score is score=score+8; when the working frequency band of the AP device is 5G spectrum and RSSI> At -60dbm, score score=score+5*(60dbm-RSSI).
由上述实施例可见,该实施例可以根据AP设备的网络质量参数,来确定AP设备的网络信号质量,及时发现网络信号质量差的AP设备,筛选信号质量强的AP设备进行连接,避免由于AP设备网络信号质量差所导致的终端设备上网网速慢等情况的发生。It can be seen from the above embodiment that this embodiment can determine the network signal quality of the AP device according to the network quality parameters of the AP device, discover the AP device with poor network signal quality in time, and select the AP device with strong signal quality to connect, so as to avoid the problem of AP devices. The terminal device's Internet access speed is slow due to the poor network signal quality of the device.
在本公开提供的另一种实施例中,该实施例可以在上述任一方法实施例的基础上,本实施例中的鉴权信息可以包括:登录密码和网关的MAC地址。In another embodiment provided by the present disclosure, this embodiment may be based on any of the above method embodiments, and the authentication information in this embodiment may include: a login password and a MAC address of a gateway.
需要说明的是,网关的MAC地址与AP设备的MAC地址是不同的概念,网关的MAC地址在一个无线局域网中是唯一的,而AP设备的MAC地址用于标识AP设备在网络中的唯一性。It should be noted that the MAC address of the gateway is different from the MAC address of the AP device. The MAC address of the gateway is unique in a wireless local area network, and the MAC address of the AP device is used to identify the uniqueness of the AP device in the network. .
如图4所示,图4是本公开根据一示例性实施例示出的另一种接入无线局域网的方法的流程图,应用于服务器,该方法可以包括以下步骤:As shown in FIG. 4 , FIG. 4 is a flowchart of another method for accessing a wireless local area network shown in the present disclosure according to an exemplary embodiment, applied to a server, and the method may include the following steps:
在步骤401中,接收终端设备发送的列表获取请求。In
本实施例中的终端设备为具有WiFi上网功能的电子设备,在实际应用中,该终端设备可以包括:智能手机、平板电脑、智能手表及计算机设备等等。The terminal device in this embodiment is an electronic device with a WiFi Internet access function. In practical applications, the terminal device may include: a smart phone, a tablet computer, a smart watch, a computer device, and the like.
在步骤402中,将列表获取请求所请求的、与第一SSID对应的可漫游SSID列表发送给所述终端设备,该可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。In
本实施例中的服务器中存储有可漫游SSID列表,该可漫游SSID列表可以为服务器维护人员手工配置的列表,也可以为该服务器自动生成的列表。The server in this embodiment stores a roamable SSID list, and the roamable SSID list may be a list manually configured by a server maintainer, or a list automatically generated by the server.
由上述实施例可见,该实施例中的服务器可以将本地存储的可漫游SSID列表发送给终端设备,以便该终端设备根据该SSID列表来确定两个不同的SSID是否处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。It can be seen from the above embodiment that the server in this embodiment can send the locally stored roaming SSID list to the terminal device, so that the terminal device can determine whether two different SSIDs are in the same wireless local area network according to the SSID list, so as to realize the AP devices corresponding to different SSIDs in the same wireless local area network are connected to the same wireless local area network, and the user does not need to configure all AP devices in the same wireless local area network to the same SSID in advance, and the operation is relatively simple.
在本公开提供的另一种实施例中,该实施例可以在图4所示实施例的基础上,增加以下步骤:In another embodiment provided by the present disclosure, this embodiment may add the following steps on the basis of the embodiment shown in FIG. 4 :
接收终端设备发送的至少两个SSID及所述至少两个SSID对应的AP设备的MAC地址,其中,该至少两个SSID的鉴权信息相同,鉴权信息相同的SSID对应的AP设备处于同一无线局域网;Receive at least two SSIDs sent by the terminal device and the MAC addresses of the AP devices corresponding to the at least two SSIDs, wherein the authentication information of the at least two SSIDs is the same, and the AP devices corresponding to the SSIDs with the same authentication information are in the same wireless local area network;
将该至少两个SSID及该至少两个SSID对应的AP设备的MAC地址,添加到可漫游SSID列表。The at least two SSIDs and the MAC addresses of the AP devices corresponding to the at least two SSIDs are added to the roamable SSID list.
在本实施例中,服务器可以依据终端设备发送的SSID及AP设备的MAC地址,自动生成可漫游SSID列表,其中,该可漫游SSID列表的生成过程为:In this embodiment, the server can automatically generate a roamable SSID list according to the SSID sent by the terminal device and the MAC address of the AP device, wherein the generation process of the roamable SSID list is:
服务器接收一个或多个移动终端发送的、按照无线局域网进行分类的多个SSID及SSID对应的AP设备的MAC地址;The server receives a plurality of SSIDs and MAC addresses of AP devices corresponding to the SSIDs that are classified according to the wireless local area network and sent by one or more mobile terminals;
当接收到多个SSID及SSID对应的AP设备的MAC地址后,服务器可以按照无线局域网的不同,来对该多个SSID及SSID对应的AP设备的MAC地址进行分类汇总,将处于同一个无线局域网的SSID及其对应的AP设备的MAC地址划分至一个无线局域网,从而生成可漫游SSID列表。After receiving multiple SSIDs and the MAC addresses of the APs corresponding to the SSIDs, the server can classify and summarize the MAC addresses of the APs corresponding to the multiple SSIDs and SSIDs according to the difference of the wireless local area network. The SSID and the MAC address of the corresponding AP device are divided into a wireless local area network, so as to generate a roaming SSID list.
一方面,由于无线局域网内有时会增加AP设备或删除AP设备,因此为了保证服务器端中存储的可漫游SSID列表中内容的准确性和全面性,本实施例中服务器可以实时接收终端设备发送的、该终端设备本地已连接过的AP设备的SSID和MAC地址依据鉴权信息,以便实时更新可漫游SSID列表;另一方面,由于该可漫游SSID列表可以依据一个或多个终端设备上传的AP设备连接情况生成,因此使用该列表进行确定,更准确、效率更高。On the one hand, since AP devices are sometimes added or deleted in the wireless local area network, in order to ensure the accuracy and comprehensiveness of the content in the roamable SSID list stored in the server, the server in this embodiment can receive real-time data sent by the terminal device. , The SSID and MAC address of the AP device that the terminal device has been connected to locally are based on the authentication information, so that the roaming SSID list can be updated in real time; on the other hand, because the roaming SSID list can be based on one or more terminal devices upload AP Device connectivity is generated, so it is more accurate and efficient to use this list to make determinations.
应当注意,尽管在附图中以特定顺序描述了本公开方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。相反,流程图中描绘的步骤可以改变执行顺序。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。It should be noted that although the operations of the disclosed methods are depicted in the figures in a particular order, this does not require or imply that the operations must be performed in the particular order, or that all illustrated operations must be performed to achieve desirable results . Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined to be performed as one step, and/or one step may be decomposed into multiple steps to be performed.
与前述接入无线局域网的方法的实施例对应,本公开还提供了接入无线局域网的装置的实施例。Corresponding to the foregoing embodiments of the method for accessing a wireless local area network, the present disclosure also provides an embodiment of an apparatus for accessing a wireless local area network.
如图5所示,图5是本公开根据一示例性实施例示出的一种接入无线局域网的装置的框图,应用于终端设备,该终端设备通过第一服务集标识SSID对应的接入点AP设备接入无线局域网络,该装置可以包括:As shown in FIG. 5, FIG. 5 is a block diagram of an apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure, which is applied to a terminal device, and the terminal device identifies an access point corresponding to an SSID through a first service set The AP device is connected to the wireless local area network, and the apparatus may include:
第一确定模块510,被配置为在满足设定条件的情况下,确定终端设备当前检测到的除第一SSID外的至少一个SSID;The first determining
第二确定模块520,被配置为从第一确定模块510确定的至少一个SSID中,确定与第一SSID处于同一无线局域网中的第二SSID;The second determining
网络连接模块530,被配置为通过与第二确定模块520确定出的第二SSID对应的AP设备接入到无线局域网络。The
由上述实施例可见,该实施例可以从当前检测到的区别于第一SSID的其他SSID中,确定出与该第一SSID处于同一无线局域网中的第二SSID,之后通过与该第二SSID对应的AP设备接入到所述无线局域网络,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。It can be seen from the above embodiment that this embodiment can determine the second SSID that is in the same wireless local area network as the first SSID from other SSIDs currently detected that are different from the first SSID, and then use the second SSID corresponding to the second SSID. The AP device is connected to the wireless local area network, so that AP devices corresponding to different SSIDs in the same wireless local area network can be connected to the same wireless local area network without the need for the user to configure all AP devices in the same wireless local area network to be the same in advance. SSID, the operation is relatively simple.
如图6所示,图6是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图,该实施例可以在图5所示实施例的基础上,第二确定模块520,可以包括:As shown in FIG. 6, FIG. 6 is a block diagram of another apparatus for accessing a wireless local area network shown in the present disclosure according to an exemplary embodiment. In this embodiment, on the basis of the embodiment shown in FIG. 5, a second determining
第一确定子模块521,被配置为根据第一SSID对应的第一鉴权信息、及至少一个SSID对应的至少一个鉴权信息,确定第一SSID与至少一个SSID中的第二SSID是否处于同一局域网;The
其中,当至少一个鉴权信息中包含第一鉴权信息时,确定该至少一个鉴权信息中第一鉴权信息对应的一个SSID为与所述第一SSID处于同一无线局域网中的第二SSID。Wherein, when at least one authentication information includes first authentication information, it is determined that an SSID corresponding to the first authentication information in the at least one authentication information is a second SSID in the same wireless local area network as the first SSID .
如图7所示,图7是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图,该实施例可以在图5所示实施例的基础上,该装置还可以包括:As shown in FIG. 7, FIG. 7 is a block diagram of another apparatus for accessing a wireless local area network shown in the present disclosure according to an exemplary embodiment. This embodiment may be based on the embodiment shown in FIG. 5, and the apparatus may also include:
获取模块540,被配置为从服务器获取与所述第一SSID对应的可漫游SSID列表,其中,该可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址;The obtaining module 540 is configured to obtain a roamable SSID list corresponding to the first SSID from the server, wherein the roamable SSID list records at least one SSID and each SSID in the same wireless local area network as the first SSID. The MAC address of the corresponding AP device;
第二确定模块520,可以包括:The second determining
第二确定子模块522,被配置为当至少一个SSID中包含与可漫游SSID列表中的SSID相同的SSID,且相同的SSID对应的AP设备的MAC地址相同时,确定该相同的SSID中的一个SSID为与第一SSID处于同一无线局域网中的第二SSID。The second determination submodule 522 is configured to determine one of the same SSIDs when at least one SSID contains the same SSID as the SSID in the roamable SSID list, and the MAC addresses of the AP devices corresponding to the same SSID are the same The SSID is the second SSID in the same wireless local area network as the first SSID.
如图8所示,图8是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图,该实施例可以在图7所示实施例的基础上,该装置还可以包括:As shown in FIG. 8, FIG. 8 is a block diagram of another apparatus for accessing a wireless local area network shown in the present disclosure according to an exemplary embodiment. This embodiment may be based on the embodiment shown in FIG. 7, and the apparatus may also include:
第三确定模块550,被配置为确定终端设备已连接过的SSID中鉴权信息相同的SSID,及鉴权信息相同的SSID对应的AP设备的MAC地址;The third determining
第一发送模块560,被配置为将鉴权信息相同的SSID和对应的AP设备的MAC地址发送给服务器,以便服务器更新可漫游SSID列表,其中,鉴权信息相同的SSID对应的AP设备处于同一无线局域网。The
如图9所示,图9是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图,该实施例可以在图5所示实施例的基础上,网络连接模块530,可以包括:As shown in FIG. 9 , FIG. 9 is a block diagram of another apparatus for accessing a wireless local area network shown in the present disclosure according to an exemplary embodiment. In this embodiment, on the basis of the embodiment shown in FIG. 5 , the
获取子模块531,被配置为从终端设备本地获取所述第一SSID对应的第一鉴权信息;Obtaining submodule 531, configured to locally obtain the first authentication information corresponding to the first SSID from the terminal device;
网络连接子模块532,被配置为基于获取子模块531获取到的第一鉴权信息及第二SSID,连接到第二SSID对应的AP设备。The network connection sub-module 532 is configured to connect to the AP device corresponding to the second SSID based on the first authentication information and the second SSID obtained by the obtaining sub-module 531 .
在本公开提供的另一种实施例中,本实施例中的鉴权信息包括登录密码和网关的MAC地址。In another embodiment provided by the present disclosure, the authentication information in this embodiment includes a login password and a MAC address of a gateway.
在本公开提供的另一种实施例中,本实施例中的预设条件包括:In another embodiment provided by the present disclosure, the preset conditions in this embodiment include:
第一SSID对应的AP设备的网络质量评分低于预设阈值。The network quality score of the AP device corresponding to the first SSID is lower than the preset threshold.
如图10所示,图10是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图,应用于服务器,该装置可以包括:As shown in FIG. 10 , FIG. 10 is a block diagram of another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure, applied to a server, and the apparatus may include:
第一接收模块610,被配置为接收终端设备发送的列表获取请求;The
第二发送模块620,被配置为将列表获取请求所请求的、与第一SSID对应的可漫游SSID列表发送给终端设备,其中,该可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。The
由上述实施例可见,该实施例中的服务器可以将本地存储的可漫游SSID列表发送给终端设备,以便该终端设备根据该SSID列表来确定两个不同的SSID是否处于同一无线局域网,从而实现通过同一无线局域网内中不同SSID对应的AP设备接入同一无线局域网络,而无需用户预先将同一无线局域网中的所有AP设备配置为相同的SSID,操作比较简单。It can be seen from the above embodiment that the server in this embodiment can send the locally stored roaming SSID list to the terminal device, so that the terminal device can determine whether two different SSIDs are in the same wireless local area network according to the SSID list, so as to realize the AP devices corresponding to different SSIDs in the same wireless local area network are connected to the same wireless local area network, and the user does not need to configure all AP devices in the same wireless local area network to the same SSID in advance, and the operation is relatively simple.
如图11所示,图11是本公开根据一示例性实施例示出的另一种接入无线局域网的装置的框图,该实施例可以在图10所示实施例的基础上,该装置还可以包括:As shown in FIG. 11, FIG. 11 is a block diagram of another apparatus for accessing a wireless local area network shown in the present disclosure according to an exemplary embodiment. This embodiment may be based on the embodiment shown in FIG. 10, and the apparatus may also include:
第二接收模块630,被配置为接收终端设备发送的至少两个SSID及该至少两个SSID对应的AP设备的MAC地址,其中,该至少两个SSID的鉴权信息相同,鉴权信息相同的SSID对应的AP设备处于同一无线局域网;The second receiving module 630 is configured to receive at least two SSIDs sent by the terminal device and the MAC addresses of the AP devices corresponding to the at least two SSIDs, wherein the at least two SSIDs have the same authentication information and the same authentication information The AP device corresponding to the SSID is in the same wireless LAN;
列表更新模块640,被配置为将第二接收模块630接收到的至少两个SSID及该至少两个SSID对应的AP设备的MAC地址,添加到可漫游SSID列表。The list updating module 640 is configured to add the at least two SSIDs received by the second receiving module 630 and the MAC addresses of the AP devices corresponding to the at least two SSIDs to the roamable SSID list.
上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each module in the above-mentioned device, please refer to the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative effort.
相应的,本公开还提供了一种接入无线局域网的装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:当满足设定条件时,确定终端设备当前检测到的除所述第一SSID外的至少一个SSID;从所述至少一个SSID中,确定与所述第一SSID处于同一无线局域网中的第二SSID;通过与所述第二SSID对应的AP设备接入到所述无线局域网络。Correspondingly, the present disclosure also provides a device for accessing a wireless local area network, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: when a set condition is satisfied, Determine at least one SSID other than the first SSID currently detected by the terminal device; from the at least one SSID, determine a second SSID in the same wireless local area network as the first SSID; The AP device corresponding to the SSID is connected to the wireless local area network.
相应的,本公开还提供了一种接入无线局域网的装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收终端设备发送的列表获取请求;将所述列表获取请求所请求的、与第一SSID对应的可漫游SSID列表发送给所述终端设备,其中,所述可漫游SSID列表中记录有与第一SSID处于同一无线局域网中的至少一个SSID、及各SSID对应的AP设备的MAC地址。Correspondingly, the present disclosure also provides an apparatus for accessing a wireless local area network, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: receive a list acquisition sent by a terminal device request; send the roamable SSID list corresponding to the first SSID requested by the list acquisition request to the terminal device, wherein the roamable SSID list is recorded in the same wireless local area network as the first SSID. At least one SSID, and the MAC address of the AP device corresponding to each SSID.
如图12所示,图12是本公开根据一示例性实施例示出的一种用于接入无线局域网的装置1200的一结构示意图。例如,装置1200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理,飞行器等。As shown in FIG. 12 , FIG. 12 is a schematic structural diagram of an apparatus 1200 for accessing a wireless local area network according to an exemplary embodiment of the present disclosure. For example, apparatus 1200 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, aircraft, and the like.
参照图12,装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。12, an apparatus 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power supply component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, And the communication component 1216.
处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理部件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。The processing component 1202 generally controls the overall operation of the device 1200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing element 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps of the methods described above. Additionally, processing component 1202 may include one or more modules that facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202.
存储器1204被配置为存储各种类型的数据以支持在设备1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1204 is configured to store various types of data to support operation at device 1200 . Examples of such data include instructions for any application or method operating on device 1200, contact data, phonebook data, messages, pictures, videos, and the like. Memory 1204 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件1206为装置1200的各种组件提供电力。电力组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。Power components 1206 provide power to various components of device 1200 . Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 1200 .
多媒体组件1208包括在装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当设备1200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1208 includes screens that provide an output interface between device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. A touch sensor can sense not only the boundaries of a touch or swipe action, but also the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1208 includes a front-facing camera and/or a rear-facing camera. When the device 1200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a microphone (MIC) that is configured to receive external audio signals when device 1200 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1204 or transmitted via communication component 1216 . In some embodiments, audio component 1210 also includes a speaker for outputting audio signals.
I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1212 provides an interface between the processing component 1202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到设备1200的打开/关闭状态,组件的相对定位,例如所述组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1214 includes one or more sensors for providing status assessment of various aspects of device 1200 . For example, the sensor assembly 1214 can detect the on/off state of the device 1200, the relative positioning of components, such as the display and keypad of the device 1200, and the sensor assembly 1214 can also detect a change in the position of the device 1200 or a component of the device 1200 , the presence or absence of user contact with the device 1200 , the orientation or acceleration/deceleration of the device 1200 and the temperature change of the device 1200 . Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1216被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1216 is configured to facilitate wired or wireless communication between apparatus 1200 and other devices. Device 1200 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1200 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器1220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 1204 including instructions, executable by the processor 1220 of the apparatus 1200 to accomplish the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
图13是根据一示例性实施例示出的另一种用于接入无线局域网的装置1300的一结构示意图。例如,装置1300可以被提供为一服务器。参照图13,装置1300包括处理组件1322,其进一步包括一个或多个处理器,以及由存储器1332所代表的存储器资源,用于存储可由处理部件1322的执行的指令,例如应用程序。存储器1332中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1322被配置为执行指令,以执行上述接入无线局域网的方法。FIG. 13 is a schematic structural diagram of another
装置1300还可以包括一个电源组件1326被配置为执行装置1300的电源管理,一个有线或无线网络接口1350被配置为将装置1300连接到网络,和一个输入输出(I/O)接口1358。装置1300可以操作基于存储在存储器1332的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1332,上述指令可由装置1300的处理组件1322执行以完成本公开技术方案提供的上述设备控制方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803425.5A CN106358189B (en) | 2016-09-05 | 2016-09-05 | Method and device for accessing wireless local area network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803425.5A CN106358189B (en) | 2016-09-05 | 2016-09-05 | Method and device for accessing wireless local area network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106358189A CN106358189A (en) | 2017-01-25 |
CN106358189B true CN106358189B (en) | 2020-01-10 |
Family
ID=57858956
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610803425.5A Active CN106358189B (en) | 2016-09-05 | 2016-09-05 | Method and device for accessing wireless local area network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106358189B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106879046B (en) * | 2017-02-14 | 2020-01-14 | Oppo广东移动通信有限公司 | Network scanning method and terminal equipment |
CN106774426A (en) * | 2017-03-16 | 2017-05-31 | 深圳市乐升科技有限公司 | A kind of unmanned aerial vehicle (UAV) control method and system |
CN109561340B (en) * | 2017-09-25 | 2021-08-10 | 北京小鸟听听科技有限公司 | Multimedia service processing method, device, multimedia service group and storage medium |
CN108040356A (en) * | 2017-11-15 | 2018-05-15 | 上海连尚网络科技有限公司 | Obtain, provide method, equipment and the medium of wireless access point access information |
CN109996314B (en) | 2017-12-29 | 2021-11-09 | 阿里巴巴集团控股有限公司 | Method, device and system for accessing network to be configured to network hotspot device |
CN108738106A (en) * | 2018-05-22 | 2018-11-02 | 北京小米移动软件有限公司 | Network control method, net control device, network controller and storage medium |
CN110621024B (en) * | 2018-06-20 | 2022-08-02 | 深圳市云猫信息技术有限公司 | Automatic distribution method of AP (Access Point) equipment in WIFI (Wireless Fidelity) park |
CN109165336B (en) * | 2018-08-23 | 2021-10-01 | 广东小天才科技有限公司 | Information output control method and family education equipment |
CN111385341A (en) * | 2018-12-29 | 2020-07-07 | 华为终端有限公司 | Communication method and related equipment |
CN114390607A (en) * | 2020-10-22 | 2022-04-22 | 北京小米移动软件有限公司 | Access point switching method, device and storage medium |
CN117714995B (en) * | 2023-05-18 | 2024-11-12 | 荣耀终端有限公司 | Wireless connection method, electronic device, wireless router and storage medium |
CN118673367B (en) * | 2024-08-16 | 2024-11-08 | 杭州云深科技有限公司 | Clustering method, device, equipment and medium for wireless network SSID |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101048974A (en) * | 2004-10-26 | 2007-10-03 | 阿尔卡特朗讯 | Method for fast radio link measurements of access point candidates for wlan handover, a mobile terminal, an access point and program modules therefor |
CN201733450U (en) * | 2010-06-30 | 2011-02-02 | 华为终端有限公司 | Wireless access device |
CN103188766A (en) * | 2011-12-30 | 2013-07-03 | 中兴通讯股份有限公司 | Method of uniform configuration for wireless access points and access controller |
CN105246131A (en) * | 2015-09-29 | 2016-01-13 | 东软集团股份有限公司 | Method and device for connecting terminal with AP (Wireless Access Point) |
CN105791229A (en) * | 2014-12-22 | 2016-07-20 | 北京佰才邦技术有限公司 | Content transmitting and providing methods and devices |
CN105843761A (en) * | 2012-03-30 | 2016-08-10 | 兄弟工业株式会社 | Function executing device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6961762B1 (en) * | 2000-02-14 | 2005-11-01 | Sygate Technologies, Inc. | Automatic switching network points based on configuration profiles |
US7477894B1 (en) * | 2004-02-23 | 2009-01-13 | Foundry Networks, Inc. | Methods and apparatus for handling wireless roaming among and across wireless area networks |
-
2016
- 2016-09-05 CN CN201610803425.5A patent/CN106358189B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101048974A (en) * | 2004-10-26 | 2007-10-03 | 阿尔卡特朗讯 | Method for fast radio link measurements of access point candidates for wlan handover, a mobile terminal, an access point and program modules therefor |
CN201733450U (en) * | 2010-06-30 | 2011-02-02 | 华为终端有限公司 | Wireless access device |
CN103188766A (en) * | 2011-12-30 | 2013-07-03 | 中兴通讯股份有限公司 | Method of uniform configuration for wireless access points and access controller |
CN105843761A (en) * | 2012-03-30 | 2016-08-10 | 兄弟工业株式会社 | Function executing device |
CN105791229A (en) * | 2014-12-22 | 2016-07-20 | 北京佰才邦技术有限公司 | Content transmitting and providing methods and devices |
CN105246131A (en) * | 2015-09-29 | 2016-01-13 | 东软集团股份有限公司 | Method and device for connecting terminal with AP (Wireless Access Point) |
Also Published As
Publication number | Publication date |
---|---|
CN106358189A (en) | 2017-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106358189B (en) | Method and device for accessing wireless local area network | |
JP6186508B2 (en) | Network connection method and terminal | |
US20170163626A1 (en) | Method and device for network access of a smart terminal device | |
CN110389738B (en) | Screen projection method, device, terminal and storage medium | |
US10098166B2 (en) | Method and device for wireless connection establishment | |
WO2016141690A1 (en) | Setting method and device for managing account of intelligent device | |
US10027549B2 (en) | Method and apparatus for displaying router setup interface | |
EP3200421B1 (en) | Method, apparatus and system for accessing wireless local area network | |
CN105357742A (en) | Accessing method, device and system for wireless local area network | |
CN104684106B (en) | The method and device of network connection | |
EP3163803A1 (en) | Method and device for establishing connection | |
CN110784908B (en) | Wireless network distribution method, wireless router and wireless network distribution system | |
CN106454998B (en) | Wireless local area network access method, device and terminal | |
CN106376057A (en) | Wireless network access method and device | |
WO2016061928A1 (en) | Wireless device list display method and apparatus, wireless device and broadcasting method thereof | |
CN108702689B (en) | Cell access method, device and storage medium | |
WO2019148349A1 (en) | Cell type indication method and apparatus | |
WO2019140685A1 (en) | Method, device and system for minimizing road test measurement | |
US11218940B2 (en) | Cell reselection method and device, and storage medium | |
CN106792570B (en) | Positioning method and device | |
CN109155668B (en) | Flight path configuration method and device | |
WO2016183990A1 (en) | Positioning method and apparatus | |
CN115606250A (en) | Network access method and device and storage medium | |
US11382032B2 (en) | Cell access method and apparatus | |
CN105916191A (en) | Displaying method and apparatus of wireless local area network title |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |