CN106358189B - Method and device for accessing wireless local area network - Google Patents

Method and device for accessing wireless local area network Download PDF

Info

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
Application number
CN201610803425.5A
Other languages
Chinese (zh)
Other versions
CN106358189A (en
Inventor
张墅潇
李明浩
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610803425.5A priority Critical patent/CN106358189B/en
Publication of CN106358189A publication Critical patent/CN106358189A/en
Application granted granted Critical
Publication of CN106358189B publication Critical patent/CN106358189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting 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

The utility model provides a method and a device for accessing a wireless local area network, which are applied to a terminal device, wherein the terminal device accesses the wireless local area network through an access point AP device corresponding to a first service set identifier SSID, and the method comprises the following steps: when a set condition is met, determining at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except the first SSID; determining a second SSID in the same wireless local area network as the first SSID from the at least one SSID; and accessing the wireless local area network through the AP equipment corresponding to the second SSID. Therefore, the technical scheme of the disclosure can realize that the same wireless local area network is accessed through the AP devices corresponding to different SSIDs in the same wireless local area network, and a user does not need to configure all the AP devices in the same wireless local area network into the same SSID in advance, so that the operation is simpler.

Description

Method and device for accessing wireless local area network
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for accessing a wireless local area network.
Background
With the development of communication technology, WiFi (Wireless Fidelity) coverage is implemented in large areas such as office buildings, shopping centers, squares, railway stations, and the like. Currently, because a WiFi coverage area of a single AP (Access Point) device is limited, WiFi in a large area is usually provided by a plurality of AP devices connected in the same wlan. As people move around in an area, mobile terminals carried by people usually need to access a wireless local area network through different AP devices in the same wireless local area network.
In the related art, after a user manually configures an SSID (Service set identifier) of an AP device in the same wlan as the same SSID, the user can access the wlan through different AP devices in the same wlan.
However, since the process of configuring the SSID requires professional knowledge, it is difficult for non-professional network personnel to operate, and when the number of AP devices is large, the AP devices are configured one by one, which is cumbersome to operate.
Disclosure of Invention
In order to solve the above problem, the present disclosure provides a method and an apparatus for accessing a wireless local area network.
Specifically, the present disclosure is realized by the following technical solutions:
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 a first service set identifier SSID, and the method includes:
when a set condition is met, determining at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except the first SSID;
determining a second SSID in the same wireless local area network as the first SSID from the at least one SSID;
and accessing the wireless local area network through the AP equipment corresponding to the second 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 comprises:
determining whether a first SSID and a second SSID in the at least one SSID are in the same local area network or not according to first authentication information corresponding to the first SSID and at least one authentication information corresponding to the at least one SSID;
when the at least one authentication information contains the first authentication information, determining 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.
In an embodiment, before said determining, from the at least one SSID, a second SSID in the same wireless local area network as the first SSID, further comprises:
acquiring a roaming SSID list corresponding to the first SSID from a server, wherein at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of the AP equipment corresponding to each SSID are recorded in the roaming SSID list;
the determining, from the at least one SSID, a second SSID in the same wireless local area network as the first SSID comprises:
and when the at least one SSID contains the SSID which is the same as the SSID in the roaming SSID list and the MAC addresses of the AP devices corresponding to the same SSID are the same, determining that one of the SSIDs is a second SSID which is in the same wireless local area network as the first SSID.
In an embodiment, the method further comprises:
determining the SSID with the same authentication information in the SSIDs connected with the terminal equipment and the MAC address of the AP equipment corresponding to the SSID with the same authentication information;
and sending the SSID with the same authentication information and the MAC address of the corresponding AP equipment to a server so that the server can update a roaming SSID list, wherein the AP equipment corresponding to the SSID with the same authentication information is in the same wireless local area network.
In an embodiment, the accessing to the wireless local area network through the AP device corresponding to the second SSID includes:
acquiring first authentication information corresponding to the first SSID from terminal equipment locally;
and connecting to the AP equipment corresponding to the second SSID based on the first authentication information and the second SSID.
In one embodiment, the authentication information includes a login password and a MAC address of the gateway.
In one embodiment, the preset conditions include:
and the network quality score of the AP equipment corresponding to the first SSID is lower than a preset threshold value.
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, the method including:
receiving a list acquisition request sent by terminal equipment;
and sending a roaming SSID list which is requested by the list acquisition request and corresponds to the first SSID to the terminal equipment, wherein at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of the AP equipment corresponding to each SSID are recorded in the roaming SSID list.
In an embodiment, the method further comprises:
receiving at least two SSIDs sent by a terminal device and MAC addresses of 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;
and adding the at least two SSIDs and the MAC addresses of the AP equipment corresponding to the at least two SSIDs into a roaming SSID list.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for accessing a wireless local area network, where the apparatus is applied to a terminal device, and the terminal device accesses the wireless local area network through an access point AP device corresponding to a first service set identifier SSID, and the apparatus includes:
the first determination module is configured to determine at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except for the first SSID under the condition that a set condition is met;
a second determination module configured to determine a second SSID in the same wireless local area network as the first SSID from the at least one SSID determined by the first determination module;
and 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:
a first determining submodule configured to determine whether a first SSID and a second SSID in the at least one SSID are in the same local area network according to first authentication information corresponding to the first SSID and at least one authentication information corresponding to the at least one SSID;
when the at least one authentication information contains the first authentication information, determining 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.
In one embodiment, the apparatus further comprises:
an obtaining module, configured to obtain a roaming SSID list corresponding to the first SSID from a server, where the roaming SSID list records at least one SSID in the same wireless local area network as the first SSID and a MAC address of an AP device corresponding to each SSID;
the second determining module includes:
a second determining sub-module, configured to determine that one SSID in the at least one SSID is a second SSID in the same wireless local area network as the first SSID when the SSID contains an SSID that is the same as an SSID in the roaming SSID list and the MAC address of the AP device corresponding to the same SSID is the same.
In one embodiment, the apparatus further comprises:
a third determining module, configured to determine an SSID with the same authentication information in SSIDs connected to the terminal device and an MAC address of an AP device corresponding to the SSID with the same authentication information;
and 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 a server, so that the server updates a roaming SSID list, wherein the AP devices corresponding to the SSIDs with the same authentication information are in the same wlan.
In one embodiment, the network connection module includes:
the acquisition sub-module is configured to locally acquire first authentication information corresponding to the first SSID from a terminal device;
and 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 acquired by the acquisition sub-module.
In one embodiment, the authentication information includes a login password and a MAC address of the gateway.
In one embodiment, the preset conditions include:
and the network quality score of the AP equipment corresponding to the first SSID is lower than a preset threshold value.
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, the apparatus including:
the terminal equipment comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is configured to receive a list acquisition request sent by the terminal equipment;
and a second sending module, configured to send a roaming SSID list corresponding to the first SSID and requested by the list acquisition request to the terminal device, where at least one SSID in the same wireless local area network as the first SSID and a MAC address of the AP device corresponding to each SSID are recorded in the roaming SSID list.
In one embodiment, the apparatus further comprises:
the second receiving module is configured to receive at least two SSIDs sent by the terminal device and MAC addresses of the AP devices corresponding to the at least two SSIDs, where 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;
a list updating module 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 a roaming SSID list.
According to a fifth aspect of the embodiments of the present disclosure, an apparatus for accessing a wireless local area network is provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a set condition is met, determining at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except the first SSID;
determining a second SSID in the same wireless local area network as the first SSID from the at least one SSID;
and accessing the wireless local area network through the AP equipment corresponding to the second SSID.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an apparatus for accessing a wireless local area network, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a list acquisition request sent by terminal equipment;
and sending a roaming SSID list which is requested by the list acquisition request and corresponds to the first SSID to the terminal equipment, wherein at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of the AP equipment corresponding to each SSID are recorded in the roaming SSID list.
In an embodiment, a second SSID in the same wireless lan as a first SSID can be determined from other SSIDs different from the first SSID and detected currently, and then the AP device corresponding to the second SSID is accessed to the wireless lan, so that the AP devices corresponding to different SSIDs in the same wireless lan access to the same wireless lan without configuring all AP devices in the same wireless lan to be the same SSID in advance by a user, which is relatively simple to operate.
In an embodiment, whether two different SSIDs are in the same wireless local area network can be determined according to 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, so that access to the same wireless local area network is achieved through AP devices corresponding to the different SSIDs in the same wireless local area network, a user does not need to configure all the AP devices in the same wireless local area network to be the same SSID in advance, and the operation is simple.
In an embodiment, whether two different SSIDs are in the same wireless local area network can be determined by automatically searching a roaming SSID list, and when the roaming SSID list records that the two different SSIDs are in the same wireless local area network, the two different SSIDs are determined to be in the same wireless local area network, so that access to the same wireless local area network is achieved through AP devices corresponding to the different SSIDs in the same wireless local area network, and a user does not need to configure all the AP devices in the same wireless local area network as the same SSID in advance, so that the operation is simple.
In an embodiment, since an AP device is sometimes added or deleted in a wlan, in order to ensure accuracy and comprehensiveness of contents in a roamable SSID list stored in a server, the terminal device in this embodiment may classify SSIDs and MAC addresses of locally connected AP devices according to authentication information, and feed back a classification result to a server, so that the server updates the roamable SSID list.
In an 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 may be directly read locally from the terminal device, and then the wireless local area network is accessed through the AP device corresponding to the second SSID based on the authentication information, without requiring a user to manually input the authentication information, which is relatively simple to operate.
In an embodiment, the network signal quality of the AP device may be determined according to the network quality parameter of the AP device, the AP device with poor network signal quality may be found in time, and the AP device with strong signal quality may be screened for connection, so as to avoid situations such as slow internet access speed of the terminal device caused by poor network signal quality of the AP device.
In an embodiment, the server may send a locally stored roaming SSID list to the terminal device, so that the terminal device determines whether two different SSIDs are in the same wlan according to the SSID list, thereby implementing access to the same wlan through AP devices corresponding to different SSIDs in the same wlan without a user configuring all AP devices in the same wlan with the same SSID in advance, which is relatively simple to operate.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
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.
Fig. 1A is a flow chart illustrating a method of accessing a wireless local area network according to an example embodiment of the present disclosure;
FIG. 1B is a diagram illustrating an application scenario of the method illustrated in FIG. 1A in accordance with an exemplary embodiment of the present disclosure;
fig. 2 is a flow chart illustrating another method of accessing a wireless local area network according to an example embodiment of the present disclosure;
fig. 3 is a flow chart illustrating another method of accessing a wireless local area network according to an example embodiment of the present disclosure;
fig. 4 is a flow chart illustrating another method of accessing a wireless local area network according to an example embodiment of the present disclosure;
fig. 5 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 6 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 7 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 8 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 9 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 10 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 11 is a block diagram illustrating another apparatus for accessing a wireless local area network according to an example embodiment;
fig. 12 is a schematic structural diagram illustrating an apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure;
fig. 13 is a schematic structural diagram illustrating another apparatus for accessing a wireless local area network according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed 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 be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
As shown in fig. 1A, fig. 1A is a flowchart illustrating a method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure, where the method is applied to a terminal device, and the terminal device accesses the wireless local area network through an access point AP device corresponding to a first service set identifier SSID, and may include the following steps:
in step 101, when a set condition is satisfied, at least one SSID other than a first SSID currently detected by a terminal device is determined.
The terminal device in this embodiment is an electronic device with a WiFi internet access function, and in practical application, the terminal device may include: smart phones, tablet computers, smart watches, computer devices, and the like.
In this embodiment, the terminal device may scan WiFi hotspots in the current network environment through a Scanning (Scanning) operation, to obtain information of the AP device corresponding to each WiFi hotspot in the current network environment, where the information includes: the service set of the AP device identifies SSID, BSSID, signal strength, encryption, authentication method, and the like, where SSID is a network name of the AP device, and BSSID is a MAC address of the AP device.
It should be noted that, the terminal device in this embodiment may perform the scanning operation when the terminal device uses the wireless network, or may perform the scanning operation when the terminal device uses the data traffic, which is not limited in this embodiment.
The AP (Access Point) device in this embodiment is a wireless switch in a wireless network, is an Access Point for a terminal device user to enter a wired network, and is mainly used for home broadband, enterprise internal network deployment, and the like, and has a wireless coverage distance of several tens of meters to hundreds of meters, and a main technology of 802.11X series. In practical applications, the AP device may include: the system comprises a simplex AP device and an extended AP device, wherein the simplex AP device does not have a routing function and is equivalent to a wireless switch, and the extended AP device has a routing function, namely a wireless router.
In step 102, a second SSID in the same wireless local area network as the first SSID is determined from the at least one SSID.
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.
In step 103, the AP device corresponding to the second SSID accesses the wireless lan.
In this embodiment, the wireless local area network accessed by the terminal device through the AP device corresponding to the second SSID is the same as the wireless local area network accessed through the AP device corresponding to the first SSID.
In an exemplary application scenario, as shown in fig. 1B, the application scenario includes: the terminal device 100 accesses a wireless local area network through the first AP device 110, the SSID of the first AP device is a first SSID, the first AP device 110, the second AP device 120, and the third AP device 130 are all in the first wireless local area network, the fourth AP device 140 is in the second wireless local area network, and all the four AP devices can be scanned by the terminal device 110.
When the set conditions are met, the terminal device may obtain, by scanning the current network environment, the first SSID of the first AP device 110, the SSID of the second AP device 120, the SSID of the third AP device 130, and the SSID of the fourth AP device 140, and because the terminal device 100 currently accesses the wireless lan through the first AP device 110, a second SSID that is in the same wireless lan as the first SSID is determined from the SSID of the second AP device 120, the SSID of the third AP device 130, and the SSID of the fourth AP device 140 obtained by scanning this time, for example, when it is determined that the SSID of the second AP device 120 is the second SSID, the terminal device 100 accesses the wireless lan through the second AP device 120.
As can be seen from the foregoing embodiment, in this embodiment, a second SSID that is in the same wireless local area network as a first SSID can be determined from other SSIDs that are different from the first SSID and are currently detected, and then the AP device corresponding to the second SSID is accessed to the wireless local area network, so that the AP devices corresponding to different SSIDs in the same wireless local area network are accessed to the same wireless local area network, and a user does not need to configure all the AP devices in the same wireless local area network as the same SSID in advance, which is relatively simple to operate.
As shown in fig. 2, fig. 2 is a flowchart illustrating another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure, where it may be determined whether two different SSIDs are in the same wireless local area network according to authentication information, and in this case, the method may include the following steps:
in step 201, when a set condition is satisfied, at least one SSID other than the first SSID currently detected by the terminal device is determined.
Step 201 in this embodiment is similar to step 101 in the embodiment shown in fig. 1A, and this embodiment is not described again.
In step 202, determining whether a first SSID and a second SSID of the at least one SSID are in the same local area network according to first authentication information corresponding to the first SSID and at least one authentication information corresponding to the at least one SSID; when at least one authentication information contains first authentication information, determining that one SSID corresponding to the first authentication information in the at least one authentication information is a second SSID which is in the same wireless local area network with the first SSID.
It should be noted that, at present, although the SSIDs of the AP devices in the same wireless lan are not completely the same, the authentication information corresponding to the AP devices is the same, and the terminal device is connected to the AP device through the SSID of the AP device and the corresponding authentication information.
In this case, the embodiment may determine whether the first SSID and the second SSID are in the same wireless lan by comparing whether the authentication information corresponding to the first SSID and the second SSID are the same, and determine that the first SSID and the second SSID are in the same wireless lan when the authentication information corresponding to the first SSID and the second SSID are the same; and when the authentication information corresponding to the first SSID is different from the authentication information corresponding to the second SSID, determining that the first SSID and the second SSID are in different wireless local area networks.
The authentication information in this embodiment may include: login password and MAC address of gateway.
In this embodiment, in a case that 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 may obtain, from the local area, the first authentication information corresponding to the first SSID and the at least one authentication information corresponding to the at least one 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, and when the authentication information is obtained by other terminal devices, the terminal device executing the method of this embodiment may obtain a lan classification result obtained according to the authentication information obtained by other terminal devices through a certain way, for example, other terminal devices upload the lan classification result obtained according to the authentication information to a server, and the terminal device directly obtains the lan classification result from the server.
In step 203, the AP device corresponding to the second SSID accesses the wireless lan.
Step 203 in this embodiment is similar to step 103 in the embodiment shown in fig. 1A, and this embodiment is not described again.
As can be seen from the above embodiments, in the embodiments, whether two different SSIDs are in the same wlan can be determined 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 wlan, so that access to the same wlan is achieved through AP devices corresponding to different SSIDs in the same wlan, without requiring a user to configure all AP devices in the same wlan as the same SSID in advance, and the operation is relatively simple.
As shown in fig. 3, fig. 3 is a flowchart illustrating another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure, where whether two different SSIDs are in the same wireless local area network may be determined according to a roaming SSID list, and the method may include the following steps:
in step 301, when a set condition is satisfied, at least one SSID other than the first SSID currently detected by the terminal device is determined.
Step 301 in this embodiment is similar to step 101 in the embodiment shown in fig. 1A, and this embodiment is not described again.
In step 302, a roaming SSID list corresponding to the first SSID is obtained from the server, where the roaming SSID list records at least one SSID in the same wireless lan as the first SSID and a MAC address of the AP device corresponding to each SSID.
The server in this embodiment stores a roaming SSID list, and the roaming SSID list may 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, where a generation process of the list is described in the embodiment shown in fig. 4 below.
For ease of understanding, the roaming SSID list is shown below in table 1.
Figure BDA0001109321180000131
In step 303, when the at least one SSID includes an SSID that is the same as an SSID in the roaming SSID list and the MAC addresses of the AP devices corresponding to the same SSID are the same, it is determined that one SSID of the same SSID is a second SSID in the same wireless lan as the first SSID.
With reference to table 1, for example, the SSID of the AP device corresponding to the first SSID is SSID1 and 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, and table 1 shows that both the first SSID and the second SSID are in the first wireless lan.
In step 304, the AP device corresponding to the second SSID accesses the wireless lan.
Step 304 in this embodiment is similar to step 103 in the embodiment shown in fig. 1A, and this embodiment is not described again.
As can be seen from the above embodiments, in this embodiment, whether two different SSIDs are in the same wlan can be determined by automatically searching the roaming SSID list, and when it is recorded in the roaming SSID list that two different SSIDs are in the same wlan, it is determined that the two different SSIDs are in the same wlan, so that access to the same wlan is achieved through AP devices corresponding to different SSIDs in the same wlan, without requiring a user to configure all AP devices in the same wlan as the same SSID in advance, which is relatively simple to operate.
Because the authentication information corresponding to the SSIDs in the same wlan is the same, it can be determined whether different SSIDs are in the same wlan according to the authentication information, based on which, in another embodiment provided by the present disclosure, the embodiment may add the following steps on the basis of the embodiment shown in fig. 3:
determining the SSID with the same authentication information in the SSIDs connected with the terminal equipment and the MAC address of the AP equipment corresponding to the SSID with the same authentication information;
and sending the SSID with the same authentication information and the MAC address of the corresponding AP equipment to a server so that the server can update a roaming SSID list, wherein the AP equipment corresponding to the SSID with the same authentication information is in the same wireless local area network.
Since AP devices are sometimes added or deleted in the wlan, in order to ensure the accuracy and comprehensiveness of the contents in the roaming SSID list stored in the server, the terminal device in this embodiment may classify the SSID and the MAC address of the locally connected AP device according to the authentication information, and feed back the classification result to the server, so that the server updates the roaming SSID list.
In another embodiment provided by the present disclosure, on the basis of any one of the above method embodiments, the step in this embodiment of accessing to the wireless local area network through the AP device corresponding to the second SSID may include:
acquiring first authentication information corresponding to the first SSID from the terminal equipment locally; and connecting to the AP equipment corresponding to the second SSID based on the first authentication information and the second SSID.
Because the first SSID and the second SSID are in the same wireless local area network, the authentication information corresponding to the first SSID is the same as the authentication information corresponding to the second SSID; and because the terminal device accesses the wireless local area network through the AP device corresponding to the first SSID, the terminal device stores authentication information corresponding to the first SSID, that is, first authentication information.
As can be seen from the above embodiments, after it is determined that the first SSID and the second SSID are in the same wlan, the embodiment may directly read the authentication information corresponding to the second SSID from the terminal device locally, and then access the wlan through the AP device corresponding to the second SSID based on the authentication information, without requiring the user to manually input the authentication information, which is relatively simple to operate.
In another embodiment provided by the present disclosure, on the basis of any one of the above method embodiments, the preset condition in this embodiment may include: and the network quality score of the AP equipment corresponding to the first SSID is lower than a preset threshold value.
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 of a certain duration, and the scoring process may include the following steps S1 and S2, wherein,
s1, acquiring a network quality parameter of the AP device corresponding to the first SSID, where the network quality parameter may include: signal strength RSSI, signal-to-noise ratio, network transmission rate, or operating frequency band;
and S2, scoring the network quality of the AP equipment corresponding to the first SSID according to the acquired network quality parameters and the preset scoring rules.
For example, the network quality parameters include RSSI, network transmission rate, and operating frequency band, and when the network transmission rate of the AP device corresponding to the first SSID is lower than a set rate threshold, the roaming score is started. The scoring rule is as follows: score +14 when RSSI > -80dbm for the AP device; score +8 when RSSI of AP device is < -80 dbm; when the operating band of the AP device is 5G spectrum and RSSI > -60dbm, score +5 (60 dbm-RSSI).
As can be seen from the above embodiments, in this 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, the AP device with strong signal quality can be screened for connection, and the situations that the network access speed of the terminal device is slow due to poor network signal quality of the AP device can be avoided.
In another embodiment provided by the present disclosure, on the basis of any one of the above method embodiments, the authentication information in this embodiment may include: login password and MAC address of gateway.
It should be noted that the MAC address of the gateway is a different concept from the MAC address of the AP device, the MAC address of the gateway is unique in a wireless lan, and the MAC address of the AP device is used to identify the uniqueness of the AP device in the network.
As shown in fig. 4, fig. 4 is a flowchart illustrating another method for accessing a wireless local area network according to an exemplary embodiment of the present disclosure, which is applied to a server, and the method may include the following steps:
in step 401, a list acquisition request sent by a terminal device is received.
The terminal device in this embodiment is an electronic device with a WiFi internet access function, and in practical application, the terminal device may include: smart phones, tablet computers, smart watches, computer devices, and the like.
In step 402, a roaming SSID list corresponding to the first SSID and requested by the list acquisition request is sent to the terminal device, where the roaming SSID list records at least one SSID in the same wireless lan as the first SSID and a MAC address of the AP device corresponding to each SSID.
The server in this embodiment stores a roaming SSID list, which may be a list manually configured by a server maintenance person or a list automatically generated by the server.
As can be seen from the foregoing embodiments, the server in this embodiment may send the locally stored roaming SSID list to the terminal device, so that the terminal device determines whether two different SSIDs are in the same wireless lan according to the SSID list, thereby implementing access to the same wireless lan through the AP devices corresponding to different SSIDs in the same wireless lan without a user configuring all AP devices in the same wireless lan to the same SSID in advance, which is relatively simple to operate.
In another embodiment provided by the present disclosure, the embodiment may add the following steps on the basis of the embodiment shown in fig. 4:
receiving at least two SSIDs sent by a terminal device and MAC addresses of 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;
and adding the at least two SSIDs and the MAC addresses of the AP equipment corresponding to the at least two SSIDs into a roaming SSID list.
In this embodiment, the server may automatically generate a roaming SSID list according to an SSID sent by the terminal device and a MAC address of the AP device, where the generation process of the roaming SSID list is as follows:
the method comprises the steps that a server receives a plurality of SSIDs which are sent by one or more mobile terminals and classified according to a wireless local area network and MAC addresses of AP equipment corresponding to the SSIDs;
after receiving the SSIDs and the MAC addresses of the AP devices corresponding to the SSIDs, the server may classify and summarize the SSIDs and the MAC addresses of the AP devices corresponding to the SSIDs according to the differences of the wireless local area networks, and divide the SSIDs and the MAC addresses of the AP devices corresponding to the SSIDs in the same wireless local area network into one wireless local area network, thereby generating a roaming SSID list.
On one hand, since the AP device is sometimes added or deleted in the wlan, 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 may receive, in real time, the SSID and the MAC address of the AP device that is locally connected to the terminal device and is sent by the terminal device according to the authentication information, so as to update the roamable SSID list in real time; on the other hand, the roaming SSID list can be generated according to the AP device connection condition uploaded by one or more terminal devices, so that the determination is performed by using the list, and the method is more accurate and higher in efficiency.
It should be noted that while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the 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 combined into one step execution, and/or one step broken down into multiple step executions.
Corresponding to the foregoing embodiments of the method for accessing a wireless local area network, the present disclosure also provides embodiments of an apparatus for accessing a wireless local area network.
As shown in fig. 5, fig. 5 is a block diagram of an apparatus for accessing a wireless local area network, which is shown in accordance with an exemplary embodiment and applied to a terminal device, where the terminal device accesses the wireless local area network through an access point AP device corresponding to a first service set identification SSID, and the apparatus may include:
a first determining module 510 configured to determine at least one SSID other than the first SSID currently detected by the terminal device if a set condition is satisfied;
a second determining module 520 configured to determine a second SSID in the same wireless local area network as the first SSID from the at least one SSID determined by the first determining module 510;
a network connection module 530 configured to access the wireless local area network through the AP device corresponding to the second SSID determined by the second determination module 520.
As can be seen from the foregoing embodiment, in this embodiment, a second SSID that is in the same wireless local area network as a first SSID can be determined from other SSIDs that are different from the first SSID and are currently detected, and then the AP device corresponding to the second SSID is accessed to the wireless local area network, so that the AP devices corresponding to different SSIDs in the same wireless local area network are accessed to the same wireless local area network, and a user does not need to configure all the AP devices in the same wireless local area network as the same SSID in advance, which is relatively simple to operate.
As shown in fig. 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, where the second determining module 520 may include, on the basis of the embodiment shown in fig. 5:
a first determining submodule 521 configured to determine whether the first SSID and a second SSID in the at least one SSID are in the same local area network according to first authentication information corresponding to the first SSID and at least one authentication information corresponding to the at least one SSID;
when at least one authentication message contains a first authentication message, determining that an SSID corresponding to the first authentication message in the at least one authentication message is a second SSID in the same wireless local area network as the first SSID.
As shown in fig. 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, where the embodiment may be based on the embodiment shown in fig. 5, and the apparatus may further include:
an obtaining module 540, configured to obtain a roaming SSID list corresponding to the first SSID from a server, where the roaming SSID list records at least one SSID in the same wireless local area network as the first SSID and a MAC address of an AP device corresponding to each SSID;
the second determining module 520 may include:
a second determining sub-module 522, configured to determine that one SSID in the at least one SSID is the same as the SSID in the roaming SSID list, and when 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.
As shown in fig. 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, where the embodiment may be based on the embodiment shown in fig. 7, and the apparatus may further include:
a third determining module 550, configured to determine an SSID with the same authentication information in SSIDs connected to the terminal device and an MAC address of an AP device corresponding to the SSID with the same authentication information;
a first sending module 560, 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 updates the roamable SSID list, where the AP devices corresponding to the SSIDs with the same authentication information are in the same wlan.
As shown in fig. 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, where the network connection module 530 may include, on the basis of the embodiment shown in fig. 5:
an obtaining submodule 531 configured to locally obtain, from a terminal device, first authentication information corresponding to the first SSID;
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 acquired by the acquisition sub-module 531.
In another embodiment provided by the present disclosure, the authentication information in this embodiment includes a login password and a MAC address of the gateway.
In another embodiment provided by the present disclosure, the preset conditions in this embodiment include:
and the network quality score of the AP equipment corresponding to the first SSID is lower than a preset threshold value.
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, and the apparatus is applied to a server, and may include:
a first receiving module 610 configured to receive a list acquisition request sent by a terminal device;
a second sending module 620, configured to send a roaming SSID list corresponding to the first SSID and requested by the list acquisition request to the terminal device, where the roaming SSID list records at least one SSID in the same wireless local area network as the first SSID and a MAC address of the AP device corresponding to each SSID.
As can be seen from the foregoing embodiments, the server in this embodiment may send the locally stored roaming SSID list to the terminal device, so that the terminal device determines whether two different SSIDs are in the same wireless lan according to the SSID list, thereby implementing access to the same wireless lan through the AP devices corresponding to different SSIDs in the same wireless lan without a user configuring all AP devices in the same wireless lan to the same SSID in advance, which is relatively simple to operate.
As shown in fig. 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, where the embodiment may be based on the embodiment shown in fig. 10, and the apparatus may further include:
a second receiving module 630, configured to receive at least two SSIDs sent by the terminal device and MAC addresses of AP devices corresponding to the at least two SSIDs, where 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;
a list updating module 640 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 roaming SSID list.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure also provides an apparatus for accessing a wireless local area network, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: when a set condition is met, determining at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except the first SSID; determining a second SSID in the same wireless local area network as the first SSID from the at least one SSID; and accessing the wireless local area network through the AP equipment corresponding to the second SSID.
Correspondingly, the present disclosure also provides an apparatus for accessing a wireless local area network, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: receiving a list acquisition request sent by terminal equipment; and sending a roaming SSID list which is requested by the list acquisition request and corresponds to the first SSID to the terminal equipment, wherein at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of the AP equipment corresponding to each SSID are recorded in the roaming SSID list.
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, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, and so forth.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone 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 a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices 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 disks.
A power component 1206 provides power to the various components of the 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 for apparatus 1200.
The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and a 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the device 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, an orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The 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.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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.
In an exemplary embodiment, the 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 Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 13 is a block diagram illustrating another apparatus 1300 for accessing a wireless local area network according to an example embodiment. For example, the apparatus 1300 may be provided as a server. Referring to fig. 13, apparatus 1300 includes a processing component 1322, which further includes one or more processors, and memory resources, represented by memory 1332, for storing instructions, such as application programs, that may be executed by processing component 1322. The application programs stored in memory 1332 may include one or more modules that each correspond to a set of instructions. Further, processing component 1322 is configured to execute the instructions to perform the method for accessing a wireless local area network described above.
The apparatus 1300 may also include a power component 1326 configured to perform power management for the apparatus 1300, a wired or wireless network interface 1350 configured to connect the apparatus 1300 to a network, and an input-output (I/O) interface 1358. The apparatus 1300 may operate based on an operating system stored in the memory 1332, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as memory 1332 including instructions, executable by processing component 1322 of apparatus 1300 to perform the above-described device control method provided by the presently disclosed subject matter is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the 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)

1. A method for accessing a wireless local area network is applied to a terminal device, wherein the terminal device accesses the wireless local area network through an Access Point (AP) device corresponding to a first Service Set Identifier (SSID), and the method comprises the following steps:
when a set condition is met, determining at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except the first SSID;
acquiring a roaming SSID list corresponding to the first SSID from a server, wherein at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of AP equipment corresponding to each SSID are recorded in the roaming SSID;
when detecting that at least one SSID except the first SSID contains the SSID which is the same as the SSID in the roaming SSID list and the MAC addresses of the AP devices corresponding to the same SSID are the same, determining that one of the same SSIDs is a second SSID which is in the same wireless local area network with the first SSID;
and accessing the wireless local area network through the AP equipment corresponding to the second SSID.
2. The method of claim 1, further comprising:
determining the SSID with the same authentication information in the SSIDs connected with the terminal equipment and the MAC address of the AP equipment corresponding to the SSID with the same authentication information;
and sending the SSID with the same authentication information and the MAC address of the corresponding AP equipment to a server so that the server can update a roaming SSID list, wherein the AP equipment corresponding to the SSID with the same authentication information is in the same wireless local area network.
3. The method of claim 1, wherein the accessing to the wireless local area network through the AP device corresponding to the second SSID comprises:
acquiring first authentication information corresponding to the first SSID from terminal equipment locally;
and connecting to the AP equipment corresponding to the second SSID based on the first authentication information and the second SSID.
4. A method according to claim 2 or 3, characterized in that the authentication information comprises a login password and the MAC address of the gateway.
5. The method according to claim 1, wherein the setting conditions include:
and the network quality score of the AP equipment corresponding to the first SSID is lower than a preset threshold value.
6. A method for accessing a wireless local area network, applied to a server, the method comprising:
receiving a list acquisition request sent by terminal equipment;
and sending a roaming SSID list which is requested by the list acquisition request and corresponds to the first SSID to the terminal equipment, wherein the roaming SSID list records at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of the AP equipment corresponding to each SSID, so that when the terminal equipment detects that at least one SSID except the first SSID contains the SSID which is the same as the SSID in the roaming SSID list and the MAC addresses of the AP equipment corresponding to the same SSID are the same, the terminal equipment determines that one SSID in the same SSID is a second SSID which is in the same wireless local area network with the first SSID, and accesses the wireless local area network through the AP equipment corresponding to the second SSID.
7. The method of claim 6, further comprising:
receiving at least two SSIDs sent by a terminal device and MAC addresses of 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;
and adding the at least two SSIDs and the MAC addresses of the AP equipment corresponding to the at least two SSIDs into a roaming SSID list.
8. A device for accessing a wireless local area network is applied to a terminal device, wherein the terminal device accesses the wireless local area network through an Access Point (AP) device corresponding to a first Service Set Identifier (SSID), and the device comprises:
the first determination module is configured to determine at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except for the first SSID under the condition that a set condition is met;
an obtaining module, configured to obtain a roaming SSID list corresponding to the first SSID from a server, where the roaming SSID list records at least one SSID in the same wireless local area network as the first SSID and a MAC address of an AP device corresponding to each SSID;
a second determining module, configured to determine, when it is detected that at least one SSID determined by the first determining module includes an SSID that is the same as an SSID in the roaming SSID list and a MAC address of an AP device corresponding to the same SSID is the same, that one SSID of the same SSID is a second SSID in the same wireless local area network as the first SSID;
and 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.
9. The apparatus of claim 8, further comprising:
a third determining module, configured to determine an SSID with the same authentication information in SSIDs connected to the terminal device and an MAC address of an AP device corresponding to the SSID with the same authentication information;
and 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 a server, so that the server updates a roaming SSID list, wherein the AP devices corresponding to the SSIDs with the same authentication information are in the same wlan.
10. The apparatus of claim 8, wherein the network connection module comprises:
the acquisition sub-module is configured to locally acquire first authentication information corresponding to the first SSID from a terminal device;
and 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 acquired by the acquisition sub-module.
11. The apparatus according to claim 9 or 10, wherein the authentication information comprises a login password and a MAC address of a gateway.
12. The apparatus of claim 8, wherein the setting condition comprises:
and the network quality score of the AP equipment corresponding to the first SSID is lower than a preset threshold value.
13. An apparatus for accessing a wireless local area network, the apparatus being applied to a server, the apparatus comprising:
the terminal equipment comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is configured to receive a list acquisition request sent by the terminal equipment;
a second sending module, configured to send a roaming SSID list corresponding to a first SSID requested by the list acquisition request to the terminal device, where the roaming SSID list records at least one SSID in the same wireless local area network as the first SSID and a MAC address of an AP device corresponding to each SSID, so that when the terminal device detects that at least one SSID except the first SSID contains an SSID same as an SSID in the roaming SSID list and the MAC addresses of the AP devices corresponding to the same SSID are the same, it determines one SSID in the same SSID as a second SSID in the same wireless local area network as the first SSID, and accesses the wireless local area network through the AP device corresponding to the second SSID.
14. The apparatus of claim 13, further comprising:
the second receiving module is configured to receive at least two SSIDs sent by the terminal device and MAC addresses of the AP devices corresponding to the at least two SSIDs, where 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;
a list updating module 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 a roaming SSID list.
15. An apparatus for accessing a wireless local area network, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the set conditions are met, determining at least one SSID (service set identifier) which is currently detected by the terminal equipment and is except for the first SSID;
acquiring a roaming SSID list corresponding to the first SSID from a server, wherein at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of AP equipment corresponding to each SSID are recorded in the roaming SSID;
when detecting that at least one SSID except the first SSID contains the SSID which is the same as the SSID in the roaming SSID list and the MAC addresses of the AP devices corresponding to the same SSID are the same, determining that one of the same SSIDs is a second SSID which is in the same wireless local area network with the first SSID;
and accessing the wireless local area network through the AP equipment corresponding to the second SSID.
16. An apparatus for accessing a wireless local area network, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a list acquisition request sent by terminal equipment;
and sending a roaming SSID list which is requested by the list acquisition request and corresponds to the first SSID to the terminal equipment, wherein the roaming SSID list records at least one SSID which is in the same wireless local area network with the first SSID and the MAC address of the AP equipment corresponding to each SSID, so that when the terminal equipment detects that at least one SSID except the first SSID contains the SSID which is the same as the SSID in the roaming SSID list and the MAC addresses of the AP equipment corresponding to the same SSID are the same, the terminal equipment determines that one SSID in the same SSID is a second SSID which is in the same wireless local area network with the first SSID, and accesses the wireless local area network through the AP equipment corresponding to the second SSID.
CN201610803425.5A 2016-09-05 2016-09-05 Method and device for accessing wireless local area network Active CN106358189B (en)

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)

* Cited by examiner, † Cited by third party
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
CN117714995A (en) * 2023-05-18 2024-03-15 荣耀终端有限公司 Wireless connection method, electronic device, wireless router and storage medium
CN118673367A (en) * 2024-08-16 2024-09-20 杭州云深科技有限公司 Clustering method, device, equipment and medium for wireless network SSID

Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
US20160381629A1 (en) Virtual sim card for accessing operator network
US20170163626A1 (en) Method and device for network access of a smart terminal device
US20160295625A1 (en) Method and apparatus for network access
US10027549B2 (en) Method and apparatus for displaying router setup interface
US20170188397A1 (en) Method and device for wireless connection establishment
CN105049416A (en) Method and apparatus for accessing to wifi network
CN106454998B (en) Wireless local area network access method, device and terminal
JP2016535523A (en) Network connection method, apparatus, program, and recording medium
EP3200421A1 (en) Method, apparatus and system for accessing wireless local area network
US20170034776A1 (en) Method, apparatus, and system for smart device to access router
CN106376057A (en) Wireless network access method and device
CN106714244B (en) Wireless access method and device of terminal and terminal
CN114867106A (en) Paging response method and device, and paging method and device
CN104684106A (en) Network connection method and device
CN108702689B (en) Cell access method, device and storage medium
US20200359300A1 (en) Information broadcast method and device, service implementation method and device, and access point
US11218940B2 (en) Cell reselection method and device, and storage medium
CN104618987B (en) Access the method and device of network
CN106792570B (en) Positioning method and device
US12096352B2 (en) Cell selection method and apparatus, communication device, and storage medium
CN110140367B (en) Control method and device for terminal access
CN104812026A (en) Cell residence method, device and mobile terminal
CN105916191A (en) Displaying method and apparatus of wireless local area network title
CN107294983B (en) Network connection method and device, user equipment and terminal

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