CN106255106A - A wireless network connection method and device - Google Patents
A wireless network connection method and device Download PDFInfo
- Publication number
- CN106255106A CN106255106A CN201610600627.XA CN201610600627A CN106255106A CN 106255106 A CN106255106 A CN 106255106A CN 201610600627 A CN201610600627 A CN 201610600627A CN 106255106 A CN106255106 A CN 106255106A
- Authority
- CN
- China
- Prior art keywords
- service set
- network
- authentication mode
- set identifier
- wireless
- 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.)
- Pending
Links
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/16—Discovering, processing access restriction or access information
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及互联网技术领域,具体涉及一种无线网络连接方法和装置。The invention relates to the technical field of the Internet, in particular to a wireless network connection method and device.
背景技术Background technique
随着互联网技术和移动客户端的飞速发展,无线网络在全球范围内的应用也成为一种趋势,人们在家中、餐厅以及商场等公共场所都可以接入无线局域网,人们越来越依赖于无线局域网这种方式来接入Internet(互联网),无线局域网极大的便利了人们的生活。在私密性比较强的场所中如家中,办公室中、会议室中,无线局域网接入点还可以设置密码,任何终端设备需要使用正确的密码才可以与无线局域网接入点建立连接。With the rapid development of Internet technology and mobile clients, the application of wireless networks worldwide has become a trend. People can access wireless local area networks in public places such as homes, restaurants, and shopping malls. People are increasingly relying on wireless local area networks. In this way to access the Internet (Internet), the wireless local area network greatly facilitates people's life. In places with strong privacy, such as homes, offices, and meeting rooms, passwords can also be set for the wireless LAN access point. Any terminal device needs to use the correct password to establish a connection with the wireless LAN access point.
目前,连接无线局域网主要依托于识别无线AP(Access point,访问接入点)发射的SSID(Service Set Identifier,服务集标识)来进行识别连接。我们给无线AP(比如路由器或wifi热点等)设置好SSID之后,无线AP把SSID写到Beacon(信标)包中,以广播的形式,每隔一个时间间隔在空中发送一次,智能终端可以通过网卡扫描即可解析该AP信息。At present, connecting to a wireless local area network mainly relies on identifying an SSID (Service Set Identifier, service set identifier) transmitted by a wireless AP (Access point, access point) to identify and connect. After we set the SSID for the wireless AP (such as a router or wifi hotspot, etc.), the wireless AP writes the SSID into the Beacon (beacon) packet, and sends it in the air every other time interval in the form of broadcast, and the smart terminal can pass The AP information can be analyzed by scanning the network card.
通常情况下,用户都会设置自己的AP正常的广播SSID,这样智能终端通过扫描后即可识别待连接的AP的各项信息,并且输入密码就可以进行连接;然而有些用户基于安全性考虑,就会将AP设置为隐藏SSID,隐藏SSID就是把这个标识隐藏起来,从而AP对外广播的信息中不包含SSID信息,而当终端连接AP为隐藏SSID AP时,智能终端需要知道待连接的AP的SSID、密码和认证方式,将这些信息一一输入后才能连接AP,操作步骤繁琐,使得网络连接的效率比较低。Usually, users will set their AP to broadcast SSID normally, so that the smart terminal can identify the information of the AP to be connected after scanning, and enter the password to connect; however, some users, based on security considerations, just The AP will be set to hide the SSID. Hiding the SSID is to hide this logo, so that the information broadcast by the AP does not include the SSID information. When the terminal connects to the AP with a hidden SSID AP, the smart terminal needs to know the SSID of the AP to be connected. , password and authentication method, the AP can only be connected after entering these information one by one, the operation steps are cumbersome, making the efficiency of network connection relatively low.
由上可知,现有技术中存在连接AP为隐藏SSID AP时,由于操作繁琐导致连接效率低的技术问题。It can be seen from the above that, in the prior art, there is a technical problem of low connection efficiency due to cumbersome operations when the connected AP is a hidden SSID AP.
发明内容Contents of the invention
本发明实施例提供一种无线网络连接方法和装置,可以解决现有技术中存在连接AP为隐藏SSID AP时,连接效率低的技术问题。Embodiments of the present invention provide a wireless network connection method and device, which can solve the technical problem of low connection efficiency in the prior art when the connected AP is a hidden SSID AP.
本发明实施例提供一种无线网络连接方法,包括以下步骤:An embodiment of the present invention provides a wireless network connection method, including the following steps:
获取网络连接信息,所述网络连接信息包括目标服务集标识;Obtain network connection information, where the network connection information includes a target service set identifier;
搜索当前环境当中所有服务集标识,以得到标识集合;Search all service set identifiers in the current environment to obtain the identifier set;
确定所述标识集合当中是否存在与所述目标服务集标识相同的服务集标识;Determine whether there is a service set identifier identical to the target service set identifier in the identifier set;
若不存在,则根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点。If not, connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method.
进一步的,在所述根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点的步骤之后,所述方法还包括:Further, after the step of connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method, the method further includes:
若连接失败,则根据第二网络认证方式连接所述目标服务集标识对应的无线访问接入点。If the connection fails, connect to the wireless access point corresponding to the target service set identifier according to the second network authentication method.
进一步的,所述则根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点的步骤具体包括:Further, the step of connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method specifically includes:
获取多个认证方式信息,以得到认证方式集合;Obtain multiple authentication method information to obtain a set of authentication methods;
在所述认证方式集合中确定第一网络认证方式;determining a first network authentication method in the authentication method set;
根据所述第一网络认证方式连接所述目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the first network authentication mode.
进一步的,所述根据第二网络认证方式连接所述目标服务集标识对应的无线访问接入点的步骤具体包括:Further, the step of connecting to the wireless access point corresponding to the target service set identifier according to the second network authentication method specifically includes:
在所述认证方式集合中确定所述第一网络认证方式以外的第二网络认证方式;determining a second network authentication method other than the first network authentication method in the authentication method set;
根据所述第二网络认证方式连接所述目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the second network authentication mode.
进一步的,所述网络连接信息还包括:鉴权信息,所述根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点的步骤具体包括:Further, the network connection information also includes: authentication information, and the step of connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method specifically includes:
根据所述鉴权信息以及所述第一网络认证方式连接所述目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the authentication information and the first network authentication mode.
本发明实施例还提供了一种无线网络连接装置,包括:信息获取模块、搜索模块、确定模块以及连接模块;The embodiment of the present invention also provides a wireless network connection device, including: an information acquisition module, a search module, a determination module, and a connection module;
所述信息获取模块,用于获取网络连接信息,所述网络连接信息包括目标服务集标识;The information acquisition module is configured to acquire network connection information, and the network connection information includes a target service set identifier;
所述搜索模块,用于搜索当前环境当中所有服务集标识,以得到标识集合;The search module is configured to search for all service set identifiers in the current environment to obtain an identifier set;
所述确定模块,用于确定所述标识集合当中是否存在与所述目标服务集标识相同的服务集标识;The determining module is configured to determine whether there is a service set identifier identical to the target service set identifier in the identifier set;
所述连接模块,用于当所述确定模块确定所述标识集合当中不存在与所述目标服务集标识相同的服务集标识时,根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点。The connection module is configured to, when the determining module determines that there is no SSID identical to the target SSID in the set of identities, connect to the wireless network corresponding to the target SSID according to the first network authentication method. access point.
进一步的,所述连接模块,还用于当根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点失败时,根据第二网络认证方式连接所述目标服务集标识对应的无线访问接入点。Further, the connection module is further configured to connect to the wireless access point corresponding to the target service set identifier according to the second network authentication method when connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method fails. Wireless access point.
进一步的,所述连接模块具体包括:获取子模块、确定子模块以及连接子模块;Further, the connection module specifically includes: an acquisition submodule, a determination submodule, and a connection submodule;
所述获取子模块,用于获取多个认证方式信息,以得到认证方式集合;The acquisition sub-module is used to acquire a plurality of authentication mode information to obtain a set of authentication modes;
所述确定子模块,用于在所述认证方式集合中确定第一网络认证方式;The determining submodule is configured to determine a first network authentication method in the authentication method set;
所述连接子模块,用于根据所述第一网络认证方式连接所述目标服务集标识对应的无线访问接入点。The connection submodule is configured to connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method.
进一步的,所述确定子模块,还用于当所述连接子模块根据第一网络认证方式连接所述目标服务集标识对应的无线访问接入点失败时,在所述认证方式集合中确定所述第一网络认证方式以外的第二网络认证方式;Further, the determining submodule is further configured to determine the set of authentication methods in the authentication method set when the connection submodule fails to connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method. A second network authentication method other than the above-mentioned first network authentication method;
所述连接子模块,还用于根据所述第二网络认证方式连接所述目标服务集标识对应的无线访问接入点。The connection submodule is further configured to connect to the wireless access point corresponding to the target service set identifier according to the second network authentication method.
进一步的,所述网络连接信息还包括:鉴权信息;Further, the network connection information also includes: authentication information;
所述连接模块,具体用于根据所述鉴权信息以及所述第一网络认证方式连接所述目标服务集标识对应的无线访问接入点。The connection module is specifically configured to connect to the wireless access point corresponding to the target service set identifier according to the authentication information and the first network authentication method.
本发明实施例首先获取网络连接信息,该网络连接信息包括目标服务集标识,搜索当前环境当中所有服务集标识,以得到标识集合,确定标识集合当中是否存在与目标服务集标识相同的服务集标识,若不存在,则根据第一网络认证方式连接目标服务集标识对应的无线访问接入点;本方案可以在获取到目标服务集标识后,判断该目标服务集标识对应的无线访问接入点是否隐藏,若是,无需手动选择认证方式便可连接该无线访问接入点,相对于现有技术减少了连接无线网络的步骤,从而有效提高连接效率。In the embodiment of the present invention, first obtain the network connection information, the network connection information includes the target service set identifier, search all the service set identifiers in the current environment to obtain the identifier set, and determine whether there is a service set identifier identical to the target service set identifier in the identifier set , if it does not exist, connect to the wireless access point corresponding to the target service set ID according to the first network authentication method; this solution can determine the wireless access point corresponding to the target service set ID after obtaining the target service set ID Whether it is hidden or not, if yes, the wireless access point can be connected without manually selecting an authentication method, which reduces the steps of connecting to the wireless network compared with the prior art, thereby effectively improving the connection efficiency.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明实施例一提供的无线网络连接方法的流程示意图;FIG. 1 is a schematic flowchart of a wireless network connection method provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的无线网络连接方法的流程示意图;FIG. 2 is a schematic flowchart of a wireless network connection method provided in Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种无线网络连接装置的结构示意图;FIG. 3 is a schematic structural diagram of a wireless network connection device provided in Embodiment 3 of the present invention;
图4为本发明实施例三提供的第二种无线网络连接装置的结构示意图。FIG. 4 is a schematic structural diagram of a second wireless network connection device provided by Embodiment 3 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供一种无线网络连接方法和装置。以下将分别进行详细说明。Embodiments of the present invention provide a wireless network connection method and device. The details will be described respectively below.
实施例一、Embodiment one,
本实施例将从无线网络连接装置的角度进行描述,该装置具体可以集成在终端中,该终端可以为移动互联网设备(如智能手机、平板电脑)等具备联网功能的电子设备。This embodiment will be described from the perspective of a wireless network connection device. Specifically, the device may be integrated into a terminal, and the terminal may be an electronic device with a networking function such as a mobile Internet device (such as a smart phone, a tablet computer).
请参阅图1,图1为本发明实施例一提供的一种无线网络连接方法的流程示意图,本实施例的无线网络连接方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a wireless network connection method provided in Embodiment 1 of the present invention. The wireless network connection method in this embodiment includes:
步骤S101,获取网络连接信息,网络连接信息包括目标服务集标识。In step S101, network connection information is obtained, and the network connection information includes a target service set identifier.
在本发明实施例当中,上述无线网络可以为WIFI网络,比如由路由器创建的无线局域网络,网络连接信息至少包括目标服务集标识,在其他实施例当中,网络信息还可以包括密码、设备ID、无线网络提供者的营业执照注册号等信息,其中设备ID和营业执照注册号唯一代表了无线网络,无线网络设备ID、无线网络营业执照注册号用于所述验证服务器验证所述无线网络的安全性。In the embodiment of the present invention, the above-mentioned wireless network may be a WIFI network, such as a wireless local area network created by a router, and the network connection information includes at least the target service set identifier. In other embodiments, the network information may also include passwords, device IDs, Information such as the business license registration number of the wireless network provider, wherein the device ID and the business license registration number uniquely represent the wireless network, and the wireless network device ID and the wireless network business license registration number are used for the verification server to verify the security of the wireless network sex.
具体的,上述获取网络连接信息的方式可以有多种,比如接收通过其他终端发送的网络连接信息,也可以通过终端上面的用户界面接受网络连接信息,该网络连接信息包括目标服务集标识,例如为需要连接路由器对应的服务集标识SSID,比如通过终端上面的用户界面接收用户手动操作输入的路由器的服务集标识,这样可以直接连接到指定的路由器,提高工作效率。对应采用何种方式获取服务集标识,其可以根据用户个人需要选择,这里不做限定。Specifically, there are many ways to obtain the network connection information, such as receiving network connection information sent by other terminals, or receiving network connection information through the user interface on the terminal. The network connection information includes the target service set identifier, for example To connect to the SSID corresponding to the router, for example, receive the SSID of the router manually input by the user through the user interface on the terminal, so that you can directly connect to the designated router and improve work efficiency. Corresponding to which method to use to obtain the service set identifier, it can be selected according to the user's personal needs, which is not limited here.
步骤S102,搜索当前环境当中所有服务集标识,以得到标识集合。Step S102, searching for all service set identifiers in the current environment to obtain an identifier set.
在实际应用当中,随着无线网络技术的快速发展,通常在某个环境中无线网络的数量不止一个,尤其在室内环境中,由于无线接入点的层层布置,使得无线网络的数量较多,用户拥有更多的连接选择。In practical applications, with the rapid development of wireless network technology, there are usually more than one wireless network in a certain environment, especially in indoor environments, due to the layered arrangement of wireless access points, the number of wireless networks is relatively large , users have more connection options.
具体的,终端在无线网络连接功能打开的情况下,搜索当前环境中多个无线网络对应的服务集标识,比如,当终端通过网卡搜索到当前环境下存在多个无线网络的情况下,获取所述多个无线网络中每个无线网络的网络信息,该网络信息包括服务集标识,可选地,还可以包括信号强度、已连接用户数量等等。Specifically, when the wireless network connection function is turned on, the terminal searches for service set identifiers corresponding to multiple wireless networks in the current environment. The network information of each wireless network in the plurality of wireless networks, the network information includes the service set identifier, and optionally, may also include signal strength, the number of connected users, and so on.
可选地,所述终端向多个无线网络中每个无线网络对应的无线访问接入点获取多个服务集标识,以得到标识集合,可以将该标识集合中的多个服务集标识进行排序,比如按照信号强度进行排序,具体的,终端可以获取标识集合当中每个服务集标识对应的无线访问接入点的信号强度,然后根据信号强度确定多个服务集标识的优先级,然后按照该优先级在标识集合当中对多个服务集标识进行排序。Optionally, the terminal acquires multiple service set identifiers from a wireless access point corresponding to each wireless network in the multiple wireless networks to obtain an identifier set, and the multiple service set identifiers in the identifier set may be sorted , such as sorting according to signal strength. Specifically, the terminal can obtain the signal strength of the wireless access point corresponding to each service set identifier in the identifier set, and then determine the priority of multiple service set identifiers according to the signal strength, and then according to the The priority ranks multiple service set identities among the set of identities.
步骤S103,确定标识集合当中是否存在与目标服务集标识相同的服务集标识,若是,则执行步骤S105,若否,则执行步骤S104。Step S103, determine whether there is an SSID identical to the target SSID in the set of identities, if yes, execute step S105, and if not, execute step S104.
具体的,以无线访问接入点为无线路由器为例,无线路由器一般都会提供“允许SSID广播”功能。如果不想让自己的无线网络被别人通过SSID名称搜索到,那么可以选择“禁止SSID广播”。你的无线网络仍然可以使用,但是各种设备无法搜索到该SSID名称,也就是说不会出现在其他终端所搜索到的可用网络列表中,也即该无线访问接入点对应的服务集标识被隐藏。Specifically, taking the wireless access point as an example of a wireless router, the wireless router generally provides a function of "allowing SSID broadcast". If you don't want your wireless network to be searched by others through SSID name, you can choose "Prohibit SSID Broadcast". Your wireless network can still be used, but various devices cannot search for the SSID name, that is to say, it will not appear in the list of available networks searched by other terminals, that is, the service set identifier corresponding to the wireless access point hidden.
在本发明实施例当中,终端可以根据目标服务集标识在标识集合当中查找,以确定标识集合当中是否存在与目标服务集标识相同的标识,若存在,即说明该目标服务集标识能被搜索到,则确定该无线访问接入点对应的目标服务集标识未被隐藏;若不存在,即说明该目标服务集标识不能被搜索到,比如路由器开启了“禁止SSID广播”功能,则确定该无线访问接入点对应的目标服务集标识被隐藏。In the embodiment of the present invention, the terminal can search the identification set according to the target service set identification to determine whether there is an identification identical to the target service set identification in the identification set, and if it exists, it means that the target service set identification can be searched , it is determined that the target service set ID corresponding to the wireless access point is not hidden; if it does not exist, it means that the target service set ID cannot be searched. The target service set identifier corresponding to the access point is hidden.
步骤S104,根据第一网络认证方式连接目标服务集标识对应的无线访问接入点。Step S104, connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method.
具体的,若标识集合当中不存在与目标服务集标识相同的服务集标识,即该目标无线访问接入点对外广播的信息中不包含服务集标识信息,则确定该目标无线访问接入点对应的目标服务集标识被隐藏,而在现有技术当中要想连接隐藏服务集标识的无线访问接入点,就必须事先知道服务集标识及认证方式才能连接上该网络。Specifically, if there is no service set identifier identical to the target service set identifier in the identifier set, that is, the information broadcast by the target wireless access point does not contain the service set identifier information, then it is determined that the target wireless access point corresponds to The target SSID of the target SSID is hidden, and in the prior art, if one wants to connect to a wireless access point with a hidden SSID, one must know the SSID and authentication method in advance to connect to the network.
比如,由于目前市面上通用的路由器都支持WPA/WPA2(Wi-Fi Protected Access,保护无线电脑网络安全系统,有WPA和WPA2两个标准)和WEP(Wired Equivalent Privacy,有线等效加密)两种类型的认证方式,其中,WPA/WPA2是应研究者在前一代的系统有线等效加密(WEP)中找到的几个严重的弱点而产生的,具有完整的标准体系和安全性,因此,优选地,可以将上述第一网络认证方式设置为WPA/WPA2认证方式,也即根据WPA/WPA2认证方式连接目标服务集标识对应的无线访问接入点。For example, because the general-purpose routers currently on the market all support WPA/WPA2 (Wi-Fi Protected Access, which protects wireless computer network security systems, there are two standards of WPA and WPA2) and WEP (Wired Equivalent Privacy, wired equivalent encryption). Type of authentication methods, wherein, WPA/WPA2 is produced in response to several serious weaknesses found by researchers in the previous generation of system Wired Equivalent Privacy (WEP), and has a complete standard system and security. Therefore, it is preferred Specifically, the first network authentication method may be set as the WPA/WPA2 authentication method, that is, the WPA/WPA2 authentication method is used to connect to the wireless access point corresponding to the target service set identifier.
可选地,若根据上述认证方式连接无线访问接入点失败,比如该第一网络认证方式与路由器设置不匹配,则可以根据其他认证方式连接无线访问接入点,比如根据WPA/WPA2认证方式无法连接目标服务集标识对应的无线访问接入点,则可以根据WEP认证方式连接目标服务集标识对应的无线访问接入点。也即在根据第一网络认证方式连接目标服务集标识对应的无线访问接入点的步骤之后,该方法还可以包括:Optionally, if the connection to the wireless access point fails according to the above authentication method, for example, the first network authentication method does not match the router settings, then the wireless access point can be connected according to other authentication methods, such as according to the WPA/WPA2 authentication method If the wireless access point corresponding to the target service set identifier cannot be connected, the wireless access point corresponding to the target service set identifier may be connected according to the WEP authentication mode. That is, after the step of connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method, the method may further include:
若连接失败,则根据第二网络认证方式连接目标服务集标识对应的无线访问接入点。If the connection fails, connect to the wireless access point corresponding to the target service set identifier according to the second network authentication method.
进一步的,上述则根据第一网络认证方式连接目标服务集标识对应的无线访问接入点的步骤可以具体包括:Further, the above step of connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method may specifically include:
获取多个认证方式信息,以得到认证方式集合;Obtain multiple authentication method information to obtain a set of authentication methods;
在认证方式集合中确定第一网络认证方式;Determine the first network authentication method in the authentication method set;
根据该第一网络认证方式连接目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the first network authentication mode.
可选地,上述根据第二网络认证方式连接目标服务集标识对应的无线访问接入点的步骤也可以具体包括:Optionally, the above step of connecting to the wireless access point corresponding to the target service set identifier according to the second network authentication method may also specifically include:
在认证方式集合中确定第一网络认证方式以外的第二网络认证方式;determining a second network authentication method other than the first network authentication method in the authentication method set;
根据该第二网络认证方式连接目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the second network authentication mode.
其中,上述认证方式可以不止有WPA/WPA2和WEP两种,因此上述认证方式集合中可能有两种或两种以上的认证方式,本发明对此不作进一步限制。Wherein, the above-mentioned authentication methods may not only include WPA/WPA2 and WEP, so there may be two or more authentication methods in the above-mentioned authentication method set, which is not further limited in the present invention.
步骤S105,直接连接目标服务集标识对应的无线访问接入点。Step S105, directly connect to the wireless access point corresponding to the target service set identifier.
具体的,若标识集合当中存在与目标服务集标识相同的服务集标识,即该目标无线访问接入点对外广播的信息中包含服务集标识信息,则确定该目标无线访问接入点对应的目标服务集标识未被隐藏,可以直接连接该目标服务集标识对应的无线访问接入点。Specifically, if there is a service set identifier identical to the target service set identifier in the identifier set, that is, the information broadcast by the target wireless access point includes service set identifier information, then determine the target service set identifier corresponding to the target wireless access point. The SSID is not hidden, and the wireless access point corresponding to the target SSID can be directly connected.
可选地,为了提高无线网络的安全性,用户往往会对无线访问接入点设置密码,当然,一些公共场所的开放性无线网络可能不设置密码,比如机场、车站、超市等等,然而对于设置了密码的接入点,若对其进行连接还需要获取其密码,因此,步骤S101中的网络连接信息还可以包括:鉴权信息,步骤根据第一网络认证方式连接目标服务集标识对应的无线访问接入点可以具体包括:Optionally, in order to improve the security of the wireless network, users often set passwords for wireless access points. Of course, some open wireless networks in public places may not set passwords, such as airports, stations, supermarkets, etc. However, for For an access point with a password set, its password needs to be obtained if the access point is connected to it. Therefore, the network connection information in step S101 may also include: authentication information. Wireless access points can specifically include:
根据鉴权信息以及第一网络认证方式连接目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the authentication information and the first network authentication mode.
可选地,步骤根据第二网络认证方式连接目标服务集标识对应的无线访问接入点也可以具体包括:Optionally, the step of connecting to the wireless access point corresponding to the target service set identifier according to the second network authentication method may also specifically include:
根据鉴权信息以及第二网络认证方式连接目标服务集标识对应的无线访问接入点。Connect to the wireless access point corresponding to the target service set identifier according to the authentication information and the second network authentication mode.
优选地,本发明实施例还可以在接入无线网络之后,可以进一步保存该无线访问接入点的服务集标识和密码,便于后续该终端设备更快的接入该无线访问接入点,减少输入密码的操作,提高用户体验。比如,在选定需要接入的无线访问接入点之后,用户可通过终端提供的选择输入框选择是否需要保存该无线访问接入点的密码,若是,则保存用户输入的密码,以在下次接入该无线访问接入点时直接获取保存的所述密码。Preferably, in the embodiment of the present invention, after accessing the wireless network, the service set identifier and password of the wireless access point can be further saved, so that the terminal device can access the wireless access point faster and reduce The operation of entering a password improves user experience. For example, after selecting the wireless access point that needs to be accessed, the user can select whether to save the password of the wireless access point through the selection input box provided by the terminal, and if so, save the password entered by the user for next time The saved password is obtained directly when accessing the wireless access point.
进一步的,在连接无线网络后,本发明实施例还可以包括:接收并显示终端反馈的接入结果信息。其中,该接入结果信息可以包括接入成功信息或接入失败信息。Further, after connecting to the wireless network, the embodiment of the present invention may further include: receiving and displaying access result information fed back by the terminal. Wherein, the access result information may include access success information or access failure information.
由上可知,本发明实施例首先获取网络连接信息,该网络连接信息包括目标服务集标识,搜索当前环境当中所有服务集标识,以得到标识集合,确定标识集合当中是否存在与目标服务集标识相同的服务集标识,若不存在,则根据第一网络认证方式连接目标服务集标识对应的无线访问接入点;本方案可以在获取到目标服务集标识后,判断该目标服务集标识对应的无线访问接入点是否隐藏,若是,无需手动选择认证方式便可连接该无线访问接入点,相对于现有技术减少了连接无线网络的步骤,从而有效提高连接效率,另外本实施例还具有实施简单、成本低的优点。As can be seen from the above, the embodiment of the present invention first obtains the network connection information, the network connection information includes the target service set identifier, searches all the service set identifiers in the current environment to obtain the identifier set, and determines whether there is an ID identical to the target service set identifier in the identifier set. If it does not exist, connect to the wireless access point corresponding to the target service set ID according to the first network authentication method; this solution can determine the wireless access point corresponding to the target service set ID after obtaining the target service set ID Whether the access point is hidden, if so, the wireless access point can be connected without manually selecting the authentication method, which reduces the steps of connecting to the wireless network compared to the prior art, thereby effectively improving the connection efficiency. In addition, this embodiment also has the implementation The advantages of simplicity and low cost.
实施例二、Embodiment two,
本实施例将在实施例一的基础上,以无线音箱连接无线网络为例进行具体说明。This embodiment will be described in detail on the basis of Embodiment 1 by taking a wireless speaker connected to a wireless network as an example.
请参阅图2,图2为本发明实施例二提供的一种无线网络连接方法的流程示意图,本实施例的无线网络连接方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a wireless network connection method provided in Embodiment 2 of the present invention. The wireless network connection method in this embodiment includes:
步骤S201,无线音箱打开混杂模式。In step S201, the wireless speaker turns on the promiscuous mode.
在本实施例中,无线访问接入点(比如为路由器或手机创建的热点)将其对应的服务集标识隐藏,譬如打开路由器的“禁止SSID广播”功能,并设置密码,选择一种认证方式进行加密,通常会从WPA/WPA2和WEP两种类型的认证方式中选择一种,可以支持2.4G和5G频段。而当手机连接上该路由器后,可以通过算法将该无线访问接入点的网络连接信息封装至elian包,并发送广播。In this embodiment, the wireless access point (such as a hotspot created for a router or a mobile phone) hides its corresponding service set identifier, such as turning on the "prohibit SSID broadcast" function of the router, setting a password, and selecting an authentication method For encryption, usually choose one of the two types of authentication methods, WPA/WPA2 and WEP, and can support 2.4G and 5G frequency bands. When the mobile phone is connected to the router, the network connection information of the wireless access point can be encapsulated into an elian packet through an algorithm, and broadcast.
无线音箱可以打开混杂模式(sniffer监听模式),其中,在该模式下可以监视网络的状态、数据流动情况以及网络上传输的信息,不管是在有线网络还是在无线网络中,它都能够给予网管管理人员实时的网络监视、数据包捕获以及故障诊断分析能力。具体的,无线音箱打开sniffer模式用于截获上述elian包。The wireless speaker can turn on the promiscuous mode (sniffer monitoring mode), in which, in this mode, the status of the network, data flow and information transmitted on the network can be monitored, whether it is in a wired network or a wireless network, it can give the network management Managers have real-time network monitoring, data packet capture and fault diagnosis and analysis capabilities. Specifically, the wireless speaker turns on the sniffer mode to intercept the above-mentioned elian packet.
步骤S202,无线音箱获取终端发送的网络连接信息,其中该网络连接信息可以包括目标无线访问接入点对应的目标服务集标识和密码。In step S202, the wireless speaker acquires network connection information sent by the terminal, where the network connection information may include a target service set identifier and a password corresponding to the target wireless access point.
比如,无线音箱在sniffer模式下截获手机发送广播中的elian包,从而解析得到网络连接信息,该网络连接信息可以包括目标服务集标识和密码,其中,该网络连接信息还可以包括手机的标识信息,该标识信息可以为移动终端的IP地址、手机号码、MAC地址或是IMEI码(International Mobile Equipment Identity,移动设备国际识别码)等等。For example, the wireless speaker intercepts the elian packet sent by the mobile phone in the sniffer mode, thereby analyzing and obtaining the network connection information, the network connection information may include the target service set identifier and password, wherein the network connection information may also include the identification information of the mobile phone , the identification information may be an IP address, a mobile phone number, a MAC address or an IMEI code (International Mobile Equipment Identity, mobile equipment international identification code) of the mobile terminal and the like.
步骤S203,无线音箱通过网卡扫描当前环境中所有的无线访问接入点,并获取其对应的服务集标识,以得到标识集合。Step S203, the wireless speaker scans all the wireless access points in the current environment through the network card, and obtains their corresponding service set identifiers, so as to obtain the identifier set.
比如,无线音箱可以安装wpa_supplicant无线网络配置工具,然后运行命令行工具wpa_cli调用相关命令使用无线音箱中的网卡扫描当前环境中所有无线访问接入点信息。For example, a wireless speaker can install the wpa_supplicant wireless network configuration tool, and then run the command line tool wpa_cli to call related commands to use the network card in the wireless speaker to scan all wireless access point information in the current environment.
可选地,无线音箱可以向多个无线网络中每个无线网络对应的无线访问接入点获取多个服务集标识,以得到标识集合,可以将该标识集合中的多个服务集标识进行排序,比如按照信号强度进行排序,具体的,无线音箱可以通过网卡检测标识集合当中每个服务集标识对应的无线访问接入点的信号强度,然后根据信号强度确定多个服务集标识的优先级,然后按照该优先级在标识集合当中对多个服务集标识进行排序。Optionally, the wireless speaker can obtain multiple service set identifiers from the wireless access point corresponding to each wireless network in the multiple wireless networks to obtain a set of identifiers, and the multiple service set identifiers in the set of identifiers can be sorted , such as sorting according to signal strength. Specifically, the wireless speaker can detect the signal strength of the wireless access point corresponding to each service set identifier in the identifier set through the network card, and then determine the priority of multiple service set identifiers according to the signal strength. Then sort the multiple service set identifiers in the identifier set according to the priority.
步骤S204,无线音箱判断上述所有无线访问接入点对应的服务集标识当中是否存在与目标服务集标识相同的标识,若是,则执行步骤S205,若否,则执行步骤S206。Step S204, the wireless speaker judges whether there is an identifier identical to the target SSID among the SSIDs corresponding to all the wireless access points, if yes, execute step S205, and if not, execute step S206.
具体的,无线音箱可以根据目标服务集标识在标识集合当中查找,以确定标识集合当中是否存在与目标服务集标识相同的标识,若存在,即说明该目标服务集标识能被搜索到,则确定该无线访问接入点对应的目标服务集标识未被隐藏;若不存在,即说明该目标服务集标识不能被搜索到,比如路由器开启了“禁止SSID广播”功能,则确定该无线访问接入点对应的目标服务集标识被隐藏。Specifically, the wireless speaker can search the identity set according to the target service set identity to determine whether there is an identity identical to the target service set identity in the identity set. If it exists, it means that the target service set identity can be searched, and then determine The target service set ID corresponding to the wireless access point is not hidden; if it does not exist, it means that the target service set ID cannot be searched. The target service set ID corresponding to the point is hidden.
步骤S205,无线音箱根据目标服务集标识和密码直接连接目标无线访问接入点。Step S205, the wireless speaker directly connects to the target wireless access point according to the target service set identifier and password.
具体的,若标识集合当中存在与目标服务集标识相同的服务集标识,即该目标无线访问接入点对外广播的信息中包含服务集标识信息,则确定该目标无线访问接入点对应的目标服务集标识未被隐藏,无线音箱可以直接根据密码连接该目标服务集标识对应的无线访问接入点。Specifically, if there is a service set identifier identical to the target service set identifier in the identifier set, that is, the information broadcast by the target wireless access point includes service set identifier information, then determine the target service set identifier corresponding to the target wireless access point. The service set identifier is not hidden, and the wireless speaker can directly connect to the wireless access point corresponding to the target service set identifier according to the password.
步骤S206,无线音箱使用WPA/WPA2认证方式连接目标无线访问接入点。In step S206, the wireless speaker uses WPA/WPA2 authentication to connect to the target wireless access point.
具体的,若标识集合当中不存在与目标服务集标识相同的服务集标识,即该目标无线访问接入点对外广播的信息中不包含服务集标识信息,则确定该目标无线访问接入点对应的目标服务集标识被隐藏,无线音箱可以使用WPA/WPA2认证方式连接目标无线访问接入点。Specifically, if there is no service set identifier identical to the target service set identifier in the identifier set, that is, the information broadcast by the target wireless access point does not contain the service set identifier information, then it is determined that the target wireless access point corresponds to The target service set identifier is hidden, and the wireless speaker can use WPA/WPA2 authentication to connect to the target wireless access point.
当然,在其他实施例当中,无线音箱也可以通过其他认证方式连接目标无线访问接入点。Of course, in other embodiments, the wireless speaker can also connect to the target wireless access point through other authentication methods.
步骤S207,无线音箱判断与目标无线访问接入点是否连接成功,若是,则不做进一步操作,若否,则执行步骤S208。In step S207, the wireless speaker judges whether the connection with the target wireless access point is successful, if yes, no further operation is performed, if not, step S208 is performed.
步骤S208,无线音箱使用WEP认证方式连接目标无线访问接入点。In step S208, the wireless speaker connects to the target wireless access point using WEP authentication.
若无线音箱使用WPA/WPA2认证方式无法连接上述目标无线访问接入点,则可以切换至WEP认证方式连接目标无线访问接入点。If the wireless speaker cannot connect to the above target wireless access point using the WPA/WPA2 authentication method, you can switch to the WEP authentication method to connect to the target wireless access point.
由上可知,在本发明实施例中无线音箱打开sniffer模式,并在该模式下获取终端发送的网络连接信息,其中该网络连接信息可以包括目标无线访问接入点对应的目标服务集标识和密码,通过网卡扫描当前环境中所有的无线访问接入点,并获取其对应的服务集标识,以得到标识集合,判断上述所有无线访问接入点对应的服务集标识当中是否存在与目标服务集标识相同的标识,若是,则根据目标服务集标识和密码直接连接目标无线访问接入点,若否,则使用WPA/WPA2认证方式连接目标无线访问接入点,若进一步连接失败,则使用WEP认证方式连接目标无线访问接入点;本方案可以在获取到目标服务集标识后,判断该目标服务集标识对应的无线访问接入点是否隐藏,若是,无需手动选择认证方式便可连接该无线访问接入点,相对于现有技术减少了连接无线网络的步骤,从而有效提高连接效率,另外本实施例还具有实施简单、成本低的优点。It can be seen from the above that in the embodiment of the present invention, the wireless speaker turns on the sniffer mode, and obtains the network connection information sent by the terminal in this mode, wherein the network connection information may include the target service set identifier and password corresponding to the target wireless access point , scan all the wireless access points in the current environment through the network card, and obtain their corresponding service set identifiers to obtain the identifier set, and judge whether there is a target service set identifier among the service set identifiers corresponding to all the above wireless access points The same ID, if yes, then directly connect to the target wireless access point according to the target service set ID and password, if not, use WPA/WPA2 authentication to connect to the target wireless access point, if further connection fails, use WEP authentication Connect to the target wireless access point through the method; after obtaining the target service set ID, this solution can determine whether the wireless access point corresponding to the target service set ID is hidden. If so, the wireless access point can be connected without manually selecting the authentication method. Compared with the prior art, the access point reduces the steps of connecting to the wireless network, thus effectively improving the connection efficiency. In addition, this embodiment also has the advantages of simple implementation and low cost.
实施例三、Embodiment three,
为了更好地实施上述方法实施例,本发明还提供了一种无线网络连接装置,该装置具体可以集成在终端中,该终端可以为移动互联网设备(如智能手机、平板电脑)等具备联网功能的电子设备。In order to better implement the above method embodiments, the present invention also provides a wireless network connection device, which can be integrated into a terminal, and the terminal can be a mobile Internet device (such as a smart phone, a tablet computer) and the like with a networking function electronic equipment.
将无线网络连接装置集成在终端中的方式有多种,比如以软件或者硬件的方式集成在终端设备中。There are many ways to integrate the wireless network connection device into the terminal, for example, integrating into the terminal device in the form of software or hardware.
如图3所示,该无线网络连接装置可以包括:信息获取模块301、搜索模块302、确定模块303以及连接模块304;As shown in Figure 3, the wireless network connection device may include: an information acquisition module 301, a search module 302, a determination module 303 and a connection module 304;
该信息获取模块301,用于获取网络连接信息,所述网络连接信息包括目标服务集标识;The information acquiring module 301 is configured to acquire network connection information, where the network connection information includes a target service set identifier;
具体的,该信息获取模块301获取网络连接信息的方式可以有多种,比如接收通过其他终端发送的网络连接信息,也可以通过终端上面的用户界面接受网络连接信息,该网络连接信息包括目标服务集标识。Specifically, the information acquisition module 301 can acquire network connection information in various ways, such as receiving network connection information sent by other terminals, or receiving network connection information through the user interface on the terminal. The network connection information includes the target service Set ID.
该搜索模块302,用于搜索当前环境当中所有服务集标识,以得到标识集合;The search module 302 is configured to search for all service set identifiers in the current environment to obtain an identifier set;
具体的,终端在无线网络连接功能打开的情况下,该搜索模块302搜索当前环境中多个无线网络对应的服务集标识,比如,当终端通过网卡搜索到当前环境下存在多个无线网络的情况下,获取所述多个无线网络中每个无线网络的网络信息,该网络信息包括服务集标识,可选地,还可以包括信号强度、已连接用户数量等等。Specifically, when the wireless network connection function of the terminal is turned on, the search module 302 searches for service set identifiers corresponding to multiple wireless networks in the current environment, for example, when the terminal searches through the network card that there are multiple wireless networks in the current environment Next, acquire network information of each wireless network in the multiple wireless networks, where the network information includes a service set identifier, and optionally, may also include signal strength, number of connected users, and the like.
该确定模块303,用于确定标识集合当中是否存在与目标服务集标识相同的服务集标识;The determining module 303 is configured to determine whether there is a service set identifier identical to the target service set identifier in the identifier set;
该连接模块304,用于当确定模块303确定标识集合当中不存在与目标服务集标识相同的服务集标识时,根据第一网络认证方式连接目标服务集标识对应的无线访问接入点。The connecting module 304 is configured to connect to the wireless access point corresponding to the target SSID according to the first network authentication method when the determining module 303 determines that there is no SSID identical to the target SSID in the ID set.
具体的,当确定模块303确定标识集合当中不存在与目标服务集标识相同的服务集标识时,即说明该目标服务集标识不能被搜索到,比如路由器开启了“禁止SSID广播”功能,则确定该无线访问接入点对应的目标服务集标识被隐藏。此时可以由连接模块304根据第一网络认证方式连接目标服务集标识对应的无线访问接入点。Specifically, when the determining module 303 determines that there is no SSID identical to the target SSID in the set of identities, it means that the target SSID cannot be searched. The target service set identifier corresponding to the wireless access point is hidden. At this time, the connection module 304 may connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method.
上述连接模块304,还用于当根据第一网络认证方式连接目标服务集标识对应的无线访问接入点失败时,根据第二网络认证方式连接目标服务集标识对应的无线访问接入点。The connection module 304 is further configured to connect to the wireless access point corresponding to the target service set identifier according to the second network authentication method when connecting to the wireless access point corresponding to the target service set identifier according to the first network authentication method fails.
进一步的,如图4所示,上述连接模块304可以具体包括:获取子模块3041、确定子模块3042以及连接子模块3043;Further, as shown in FIG. 4, the connection module 304 may specifically include: an acquisition submodule 3041, a determination submodule 3042, and a connection submodule 3043;
该获取子模块3041,用于获取多个认证方式信息,以得到认证方式集合;The obtaining sub-module 3041 is used to obtain a plurality of authentication method information to obtain a set of authentication methods;
该确定子模块3042,用于在认证方式集合中确定第一网络认证方式;The determination sub-module 3042 is configured to determine the first network authentication mode in the authentication mode set;
该连接子模块3043,用于根据第一网络认证方式连接目标服务集标识对应的无线访问接入点。The connection submodule 3043 is configured to connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method.
可选的,当连接子模块3043根据第一网络认证方式连接目标服务集标识对应的无线访问接入点失败时,该确定子模块3042,还用于在认证方式集合中确定所述第一网络认证方式以外的第二网络认证方式;Optionally, when the connection submodule 3043 fails to connect to the wireless access point corresponding to the target service set identifier according to the first network authentication method, the determination submodule 3042 is also used to determine the first network in the authentication method set A second network authentication method other than the authentication method;
该连接子模块3043,还用于根据第二网络认证方式连接目标服务集标识对应的无线访问接入点。The connection submodule 3043 is further configured to connect to the wireless access point corresponding to the target service set identifier according to the second network authentication method.
进一步的,网络连接信息还可以包括:鉴权信息;Further, the network connection information may also include: authentication information;
该连接模块304,具体用于根据鉴权信息以及第一网络认证方式连接目标服务集标识对应的无线访问接入点。The connection module 304 is specifically configured to connect to the wireless access point corresponding to the target service set identifier according to the authentication information and the first network authentication method.
由上可知,本发明实施例采用信息获取模块301获取网络连接信息,该网络连接信息包括目标服务集标识,搜索模块302搜索当前环境当中所有服务集标识,以得到标识集合,确定模块303确定标识集合当中是否存在与目标服务集标识相同的服务集标识,若不存在,则由连接模块304根据第一网络认证方式连接目标服务集标识对应的无线访问接入点;本方案可以在获取到目标服务集标识后,判断该目标服务集标识对应的无线访问接入点是否隐藏,若是,无需手动选择认证方式便可连接该无线访问接入点,相对于现有技术减少了连接无线网络的步骤,从而有效提高连接效率,另外本实施例还具有实施简单、成本低的优点。As can be seen from the above, the embodiment of the present invention uses the information acquisition module 301 to obtain network connection information, the network connection information includes the target service set identifier, the search module 302 searches all service set identifiers in the current environment to obtain the identifier set, and the determination module 303 determines the identifier Whether there is a service set identifier identical to the target service set identifier in the collection, if not, the connection module 304 connects to the wireless access point corresponding to the target service set identifier according to the first network authentication method; this solution can obtain the target service set identifier After the service set identification, it is judged whether the wireless access point corresponding to the target service set identification is hidden. If so, the wireless access point can be connected without manually selecting the authentication method, which reduces the steps of connecting to the wireless network compared with the prior art , so as to effectively improve the connection efficiency. In addition, this embodiment also has the advantages of simple implementation and low cost.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read OnlyMemory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the information publishing method. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本发明实施例提供的一种无线网络连接方法和装置进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A wireless network connection method and device provided by the embodiment of the present invention has been introduced in detail above. Its functional modules can be integrated into one processing chip, or each module can exist separately physically, or it can be two or more than two modules. integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those skilled in the art, according to the present invention Thoughts, specific implementation methods and scope of application all have changes. In summary, the contents of this specification should not be construed as limiting the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610600627.XA CN106255106A (en) | 2016-07-26 | 2016-07-26 | A wireless network connection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610600627.XA CN106255106A (en) | 2016-07-26 | 2016-07-26 | A wireless network connection method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106255106A true CN106255106A (en) | 2016-12-21 |
Family
ID=57604417
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610600627.XA Pending CN106255106A (en) | 2016-07-26 | 2016-07-26 | A wireless network connection method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106255106A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106686588A (en) * | 2017-02-20 | 2017-05-17 | 广东欧珀移动通信有限公司 | A wireless fidelity Wi-Fi connection method and mobile terminal |
| CN106804055A (en) * | 2017-02-20 | 2017-06-06 | 广东欧珀移动通信有限公司 | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal |
| CN106888496A (en) * | 2017-02-20 | 2017-06-23 | 广东欧珀移动通信有限公司 | A wireless fidelity Wi-Fi connection method and mobile terminal |
| CN108111588A (en) * | 2017-12-15 | 2018-06-01 | 四川爱联科技有限公司 | The method for improving the internet of things equipment distribution efficiency based on WIFI |
| WO2018149150A1 (en) * | 2017-02-20 | 2018-08-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Wireless fidelity connection method, mobile terminal |
| CN110431868A (en) * | 2017-08-23 | 2019-11-08 | 华为技术有限公司 | Wi-Fi hotspot connection method and terminal |
| CN111132206A (en) * | 2019-12-30 | 2020-05-08 | 深圳市高德信通信股份有限公司 | Wireless network system connected with wireless network equipment |
| CN119854894A (en) * | 2024-12-02 | 2025-04-18 | 浙江吉利控股集团有限公司 | Method, device, storage medium and program product for switching AP on vehicle |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1485751A (en) * | 2002-08-21 | 2004-03-31 | 国际商业机器公司 | Basal plate for LCD device and LCD device having the basal plate |
| CN101141259A (en) * | 2007-10-22 | 2008-03-12 | 杭州华三通信技术有限公司 | Method and device of access point equipment for preventing error access |
| US20100067406A1 (en) * | 2008-09-17 | 2010-03-18 | Brother Kogyo Kabushiki Kaisha | Wireless communication device, method to output identifier, and computer usable medium therefor |
| CN103139775A (en) * | 2011-12-02 | 2013-06-05 | 中国移动通信集团上海有限公司 | Access method of wireless local area network (WLAN), access device of WLAN and access system of WLAN |
| CN103188766A (en) * | 2011-12-30 | 2013-07-03 | 中兴通讯股份有限公司 | Method of uniform configuration for wireless access points and access controller |
-
2016
- 2016-07-26 CN CN201610600627.XA patent/CN106255106A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1485751A (en) * | 2002-08-21 | 2004-03-31 | 国际商业机器公司 | Basal plate for LCD device and LCD device having the basal plate |
| CN101141259A (en) * | 2007-10-22 | 2008-03-12 | 杭州华三通信技术有限公司 | Method and device of access point equipment for preventing error access |
| US20100067406A1 (en) * | 2008-09-17 | 2010-03-18 | Brother Kogyo Kabushiki Kaisha | Wireless communication device, method to output identifier, and computer usable medium therefor |
| CN103139775A (en) * | 2011-12-02 | 2013-06-05 | 中国移动通信集团上海有限公司 | Access method of wireless local area network (WLAN), access device of WLAN and access system of WLAN |
| CN103188766A (en) * | 2011-12-30 | 2013-07-03 | 中兴通讯股份有限公司 | Method of uniform configuration for wireless access points and access controller |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11044766B2 (en) | 2017-02-20 | 2021-06-22 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for Wi-Fi connection and related products |
| CN106686588B (en) * | 2017-02-20 | 2020-02-07 | Oppo广东移动通信有限公司 | Wireless fidelity Wi-Fi connection method and mobile terminal |
| CN106888496A (en) * | 2017-02-20 | 2017-06-23 | 广东欧珀移动通信有限公司 | A wireless fidelity Wi-Fi connection method and mobile terminal |
| US11323873B2 (en) | 2017-02-20 | 2022-05-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for wireless fidelity connection and related products |
| WO2018149136A1 (en) * | 2017-02-20 | 2018-08-23 | 广东欧珀移动通信有限公司 | Wireless fidelity (wifi) connection method and related product |
| WO2018149150A1 (en) * | 2017-02-20 | 2018-08-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Wireless fidelity connection method, mobile terminal |
| US10299197B2 (en) | 2017-02-20 | 2019-05-21 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Wireless fidelity connection method, mobile terminal and storage medium |
| CN106804055B (en) * | 2017-02-20 | 2019-05-28 | Oppo广东移动通信有限公司 | A kind of Wireless Fidelity Wi-Fi connection method and mobile terminal |
| CN106804055A (en) * | 2017-02-20 | 2017-06-06 | 广东欧珀移动通信有限公司 | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal |
| CN106686588A (en) * | 2017-02-20 | 2017-05-17 | 广东欧珀移动通信有限公司 | A wireless fidelity Wi-Fi connection method and mobile terminal |
| US10873900B2 (en) | 2017-02-20 | 2020-12-22 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for wireless fidelity connection and related products |
| CN110431868A (en) * | 2017-08-23 | 2019-11-08 | 华为技术有限公司 | Wi-Fi hotspot connection method and terminal |
| US11277744B2 (en) | 2017-08-23 | 2022-03-15 | Huawei Technologies Co., Ltd. | Wi-Fi hotspot connection method and terminal |
| CN108111588B (en) * | 2017-12-15 | 2021-08-31 | 四川爱联科技股份有限公司 | Method for improving distribution network efficiency of Internet of things equipment based on WIFI |
| CN108111588A (en) * | 2017-12-15 | 2018-06-01 | 四川爱联科技有限公司 | The method for improving the internet of things equipment distribution efficiency based on WIFI |
| CN111132206A (en) * | 2019-12-30 | 2020-05-08 | 深圳市高德信通信股份有限公司 | Wireless network system connected with wireless network equipment |
| CN119854894A (en) * | 2024-12-02 | 2025-04-18 | 浙江吉利控股集团有限公司 | Method, device, storage medium and program product for switching AP on vehicle |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106255106A (en) | A wireless network connection method and device | |
| KR101910477B1 (en) | Control access point | |
| US9572190B2 (en) | Device and method for associating with WiFi networks | |
| US8634393B2 (en) | Channel scanning in a network having one or more access points | |
| US20120076072A1 (en) | System and method for maintaining privacy in a wireless network | |
| CN107852410A (en) | Dissect rogue access point | |
| JP6071947B2 (en) | Terminal for position information service, wireless signal detection device and server | |
| US10070359B2 (en) | Dynamic generation of per-station realm lists for hot spot connections | |
| CN105657706A (en) | An access method, related equipment and access device | |
| CN107027121A (en) | A kind of WiFi network safety access method and device | |
| CN108093390B (en) | Intelligent device discovery method based on characteristic information | |
| EP3114887B1 (en) | Determination method and corresponding terminal, computer program product and storage medium | |
| US10206111B2 (en) | Wireless local area network user-side device and information processing method | |
| CN109195203A (en) | parameter configuration method, device, terminal and storage medium of wireless local area network | |
| KR102266044B1 (en) | Method for connecting terminal and access point | |
| CN110139277B (en) | Method and device for detecting wireless hot spot | |
| EP3637859B1 (en) | Hidden hotspot scanning based on a match of mac addresses | |
| CN112153645A (en) | Anti-network-rubbing method and device and router | |
| CN105282825A (en) | WLAN (Wireless Local Area Network) access method, device and system | |
| CN112135253B (en) | Network connection method and device | |
| CN106878049B (en) | Configuration method and device | |
| KR20160141598A (en) | WLAN State Information Server and Method for Providing WLAN State Information thereof, User Terminal and Method for Acquiring WLAN State Information thereof | |
| US20170041969A1 (en) | Connection information sharing server, a method of sharing connection information, and a program for connection information sharing server | |
| KR101564001B1 (en) | Device for securely managemnet of wired and wireless communications | |
| CN116390094A (en) | A wireless internet of things security management method, device, storage medium and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161221 |