CN105119776B - A kind of WiFi connection failures reason detection method and system - Google Patents
A kind of WiFi connection failures reason detection method and system Download PDFInfo
- Publication number
- CN105119776B CN105119776B CN201510565173.2A CN201510565173A CN105119776B CN 105119776 B CN105119776 B CN 105119776B CN 201510565173 A CN201510565173 A CN 201510565173A CN 105119776 B CN105119776 B CN 105119776B
- Authority
- CN
- China
- Prior art keywords
- wireless access
- access point
- connection
- identity authentication
- response
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- 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
- H04W24/00—Supervisory, monitoring or testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
一种WiFi连接失败原因检测方法及系统,所述方法包括如下步骤:步骤1.移动终端实时扫描无线访问接入点,当扫描到无线访问接入点时,发送连接请求;步骤2.连接到无线访问接入点,发起身份认证请求,设置一连接超时闹钟进行计时;步骤3.在预设时间内收到无线访问接入点回复的身份认证响应,则判定为网络连接正常;步骤4.在预设时间内未收到认证完成的消息,则判定为网络连接异常。本发明通过设置一连接超时闹钟,在预设定时间内收到AP回复的身份认证响应,上报身份认证结果,若认证失败显示密码错误,否则发起取消认证请求,同时上报连接超时消息,收到消息后显示连接超时,能方便快捷地分析出用户连接失败的原因为网络堵塞导致的连接超时或密码错误。
A method and system for detecting the cause of a WiFi connection failure, the method comprising the following steps: Step 1. The mobile terminal scans a wireless access point in real time, and when scanning to a wireless access point, sends a connection request; Step 2. Connects to The wireless access point initiates an identity authentication request, and sets a connection timeout alarm clock for timing; step 3. Receives the identity authentication response returned by the wireless access point within the preset time, then it is determined that the network connection is normal; step 4. If the authentication completion message is not received within the preset time, it is determined that the network connection is abnormal. The present invention sets a connection timeout alarm clock, receives an identity authentication response from the AP within a preset time, and reports the identity authentication result. If the authentication fails, the password is wrong; After the message, the connection timeout is displayed, and it is convenient and quick to analyze that the reason for the user's connection failure is the connection timeout or password error caused by network congestion.
Description
技术领域technical field
本发明涉及WiFi连接技术,特别是涉及一种WiFi连接失败原因检测方法及系统。The present invention relates to WiFi connection technology, in particular to a method and system for detecting the cause of WiFi connection failure.
背景技术Background technique
随着移动通信技术的发展,Wi-Fi 技术的普及,人们经常通过Wi-Fi 连接热点上网。基于安全性的考虑,大多数热点都是被加密的,连接热点都需要通过身份认证。目前广泛使用的认证方式是WPA。WPA全名为Wi-Fi Protected Access,是一种基于标准的可互操作的WLAN安全性增强解决方案,WPA可保证WLAN用户的数据受到保护,并且只有授权的网络用户才可以访问WLAN网络。wpa_supplicant 是WPA在软件的实现,是一个开源的项目,目前Android 都使用wpa_supplicant 去实现WPA协议。With the development of mobile communication technology and the popularization of Wi-Fi technology, people often connect to hotspots to surf the Internet through Wi-Fi. Based on security considerations, most hotspots are encrypted, and connection to hotspots requires identity authentication. The authentication method widely used at present is WPA. The full name of WPA is Wi-Fi Protected Access. It is a standard-based interoperable WLAN security enhancement solution. WPA can ensure that the data of WLAN users is protected, and only authorized network users can access the WLAN network. wpa_supplicant is the implementation of WPA in software. It is an open source project. Currently, Android uses wpa_supplicant to implement the WPA protocol.
现有技术中,连接到一个受WPA保护的AP正常流程如下:扫描到AP, 发起连接请求;关联到AP(无线访问接入点(WirelessAccessPoint)), 发起身份认证请求(这个阶段只能发送身份认证相关的数据帧,不能访问外网);如果认证失败,断了连接;身份认证通过,建立网络连接。(这个时候,手机才可以访问外网。)In the prior art, the normal process of connecting to an AP protected by WPA is as follows: scan to the AP, initiate a connection request; associate to the AP (Wireless Access Point (WirelessAccessPoint)), initiate an identity authentication request (at this stage, only identity Authentication-related data frames, cannot access the external network); if the authentication fails, the connection is disconnected; if the identity authentication passes, the network connection is established. (At this time, the mobile phone can access the external network.)
在身份认证失败的原因有可能由于网络堵塞导致的连接超时,也有可能是用户输入的密码错误。当前的手机终端上没有对此进行区分,这很容易给用户造成误导。因此,有必要去区分身份认证失败的原因,提高用户体验。The reason for the authentication failure may be that the connection timed out due to network congestion, or the password entered by the user may be wrong. This distinction is not made on current mobile terminals, which is likely to mislead users. Therefore, it is necessary to distinguish the reasons for identity authentication failures and improve user experience.
发明内容Contents of the invention
本发明的目的在于克服现有技术的不足,提供一种WiFi连接失败原因检测方法及系统,能方便快捷地分析WiFi连接身份认证失败的原因,提升用户体验。The purpose of the present invention is to overcome the deficiencies of the prior art, and provide a method and system for detecting the cause of WiFi connection failure, which can conveniently and quickly analyze the cause of the failure of WiFi connection identity authentication, and improve user experience.
为了达到上述目的,本发明采用的技术方案是:In order to achieve the above object, the technical scheme adopted in the present invention is:
一种WiFi连接失败原因检测方法,包括如下步骤:A method for detecting the cause of a WiFi connection failure, comprising the steps of:
步骤1.移动终端实时扫描无线访问接入点,当扫描到无线访问接入点时,发送连接请求;Step 1. The mobile terminal scans the wireless access point in real time, and sends a connection request when the wireless access point is scanned;
步骤2.连接到无线访问接入点,发起身份认证请求,设置一连接超时闹钟进行计时;Step 2. Connect to the wireless access point, initiate an identity authentication request, and set a connection timeout alarm clock for timing;
步骤3.在预设时间内收到无线访问接入点回复的身份认证响应,则判定为网络连接正常;Step 3. After receiving the identity authentication response from the wireless access point within the preset time, it is determined that the network connection is normal;
步骤4.在预设时间内未收到认证完成的消息,则判定为网络连接异常。Step 4. If the authentication completion message is not received within the preset time, it is determined that the network connection is abnormal.
作为本发明的较佳实施例,本发明所述方法还包括:As a preferred embodiment of the present invention, the method of the present invention also includes:
预设置一连接超时闹钟,将连接超时闹钟与无线访问接入点连接请求进行关联,预设连接请求的响应时间,若在预设时间内响应则判定为网络连接正常,若在预设时间内无响应则判定为网络连接异常。Preset a connection timeout alarm clock, associate the connection timeout alarm clock with the connection request of the wireless access point, preset the response time of the connection request, if the response is within the preset time, it is determined that the network connection is normal, if within the preset time If there is no response, it is determined that the network connection is abnormal.
作为本发明的较佳实施例,本发明步骤3具体包括:As a preferred embodiment of the present invention, step 3 of the present invention specifically includes:
步骤301.预设时间内收到无线访问接入点回复的身份认证响应,获取无线访问接入点的响应信息;Step 301. Receive an identity authentication response from the wireless access point within a preset time, and obtain the response information of the wireless access point;
步骤302.根据无线访问接入点的响应信息,上报身份认证信息;Step 302. Report identity authentication information according to the response information of the wireless access point;
步骤303.实时接收无线访问接入点的上报身份认证结果;Step 303. Receive the identity authentication result reported by the wireless access point in real time;
步骤304.身份认证通过则建立网络连接,身份认证失败则用户界面显示密码错误。Step 304. If the identity authentication is passed, a network connection is established, and if the identity authentication fails, the user interface displays a password error.
作为本发明的较佳实施例,本发明步骤4具体包括:As a preferred embodiment of the present invention, step 4 of the present invention specifically includes:
步骤401.在预设时间内未收到认证完成的消息,向底层驱动发起取消身份认证请求;Step 401. If no authentication completion message is received within the preset time, a request to cancel identity authentication is sent to the underlying driver;
步骤402.上报连接超时信息;Step 402. Report connection timeout information;
步骤403.用户界面显示连接超时。Step 403. The user interface displays that the connection timed out.
作为本发明的较佳实施例,本发明所述方法还包括:当存在多个无线访问接入点时,逐个扫描无线访问接入点,重复执行步骤1-4。As a preferred embodiment of the present invention, the method of the present invention further includes: when there are multiple wireless access points, scanning the wireless access points one by one, and repeatedly executing steps 1-4.
本发明还公开了一种WiFi连接失败原因检测系统,包括:The present invention also discloses a WiFi connection failure cause detection system, including:
扫描发送单元,用于移动终端实时扫描无线访问接入点,当扫描到无线访问接入点时,发送连接请求;The scanning sending unit is used for the mobile terminal to scan the wireless access point in real time, and when the wireless access point is scanned, send a connection request;
计时单元,用于连接到无线访问接入点,发起身份认证请求,设置一连接超时闹钟进行计时;The timing unit is used to connect to the wireless access point, initiate an identity authentication request, and set a connection timeout alarm clock for timing;
第一判断单元,用于在预设时间内收到无线访问接入点回复的身份认证响应,则判定为网络连接正常;The first judging unit is configured to receive an identity authentication response from the wireless access point within a preset time, and judge that the network connection is normal;
第二判断单元,用于在预设时间内未收到认证完成的消息,则判定为网络连接异常。The second judging unit is configured to judge that the network connection is abnormal if the message that the authentication is completed is not received within a preset time.
作为本发明的较佳实施例,本发明所述系统还包括:As a preferred embodiment of the present invention, the system of the present invention also includes:
设置单元,用于预设置一连接超时闹钟,将连接超时闹钟与无线访问接入点连接请求进行关联,预设连接请求的响应时间,若在预设时间内响应则判定为网络连接正常,若在预设时间内无响应则判定为网络连接异常。The setting unit is used to pre-set a connection timeout alarm clock, associate the connection timeout alarm clock with the wireless access point connection request, and preset the response time of the connection request. If the response is within the preset time, it is determined that the network connection is normal. If If there is no response within the preset time, it is determined that the network connection is abnormal.
作为本发明的较佳实施例,本发明第一判断单元具体包括:As a preferred embodiment of the present invention, the first judging unit of the present invention specifically includes:
获取单元,用于预设时间内收到无线访问接入点回复的身份认证响应,获取无线访问接入点的响应信息;The obtaining unit is used to receive the identity authentication response replied by the wireless access point within a preset time, and obtain the response information of the wireless access point;
上报单元,用于根据无线访问接入点的响应信息,上报身份认证信息;A reporting unit, configured to report identity authentication information according to the response information of the wireless access point;
接收单元,用于实时接收无线访问接入点的上报身份认证结果;The receiving unit is used to receive the identity authentication result reported by the wireless access point in real time;
执行单元,用于身份认证通过则建立网络连接,身份认证失败则用户界面显示密码错误。The execution unit is used to establish a network connection if the identity authentication is passed, and to display a password error on the user interface if the identity authentication fails.
作为本发明的较佳实施例,本发明第二判断单元具体包括:As a preferred embodiment of the present invention, the second judging unit of the present invention specifically includes:
取消请求单元,用于在预设时间内未收到认证完成的消息,向底层驱动发起取消身份认证请求;The cancel request unit is used to initiate a request to cancel the identity authentication to the underlying driver if the message that the authentication is completed is not received within the preset time;
上报单元,用于上报连接超时信息;A reporting unit, configured to report connection timeout information;
执行单元,用于用户界面显示连接超时。The execution unit is used for the user interface to display connection timeout.
作为本发明的较佳实施例,本发明所述系统还包括:循环判断单元,用于当存在多个无线访问接入点时,逐个扫描无线访问接入点,重复执行检测步骤。As a preferred embodiment of the present invention, the system of the present invention further includes: a loop judging unit, configured to scan the wireless access points one by one when there are multiple wireless access points, and repeatedly execute the detection step.
与现有技术相比,本发明的有益效果是:通过设置一连接超时闹钟,在预设定时间内收到AP回复的身份认证响应,根据AP的响应消息,上报身份认证结果,若认证失败,显示密码错误,在预设定时间内没有收到认证完成的消息,向底层驱动发起取消认证请求,同时上报连接超时消息,收到消息后显示连接超时,能方便快捷地分析出用户连接失败的原因为网络堵塞导致的连接超时或密码错误。Compared with the prior art, the beneficial effect of the present invention is: by setting a connection timeout alarm clock, receiving the identity authentication response replied by the AP within the preset time, and reporting the identity authentication result according to the response message of the AP, if the authentication fails , it shows that the password is wrong, and if the authentication completion message is not received within the preset time, a request to cancel the authentication is sent to the underlying driver, and a connection timeout message is reported at the same time. After receiving the message, the connection timeout is displayed, which can easily and quickly analyze the user connection failure The reason is that the connection timed out due to network congestion or the password is wrong.
附图说明Description of drawings
图1为本发明的方法流程图。Fig. 1 is a flow chart of the method of the present invention.
具体实施方式detailed description
本发明的主旨在于克服现有技术的不足,提供一种WiFi连接失败原因检测方法,告知用户连接失败的原因是网络堵塞导致的连接超时还是密码错误。下面结合实施例参照附图进行详细说明,以便对本发明的技术特征及优点进行更深入的诠释。The gist of the present invention is to overcome the deficiencies of the prior art and provide a method for detecting the cause of a WiFi connection failure, which informs the user whether the cause of the connection failure is a connection timeout caused by network congestion or a password error. The following will describe in detail with reference to the accompanying drawings in conjunction with the embodiments, so as to further explain the technical features and advantages of the present invention.
本发明的方法流程图如图1所示,一种WiFi连接失败原因检测方法,包括如下步骤。The flow chart of the method of the present invention is shown in FIG. 1 , a method for detecting the cause of a WiFi connection failure includes the following steps.
S0.预设置一连接超时闹钟,将连接超时闹钟与无线访问接入点连接请求进行关联,预设连接请求的响应时间,若在预设时间内响应则判定为网络连接正常,若在预设时间内无响应则判定为网络连接异常。与现有技术不同的是,本发明通过设置一连接超时闹钟,例如定时一分钟,若在一分钟内未收到认证完成的消息则判定为网络连接异常,无法完成连接,若在一分钟内收到无线访问接入点回复的身份认证响应,则判定为网络连接正常,用户可以正常进行身份验证,例如输入密码等操作。S0. Preset a connection timeout alarm clock, associate the connection timeout alarm clock with the wireless access point connection request, preset the response time of the connection request, if the response is within the preset time, it is determined that the network connection is normal, if it is within the preset time If there is no response within a certain period of time, it is determined that the network connection is abnormal. Different from the prior art, the present invention sets a connection timeout alarm clock, for example, timing for one minute. If the authentication completion message is not received within one minute, it is determined that the network connection is abnormal and the connection cannot be completed. After receiving the identity authentication response from the wireless access point, it is determined that the network connection is normal, and the user can normally perform identity authentication, such as inputting a password and other operations.
S1.移动终端实时扫描无线访问接入点(或简称AP点),当扫描到无线访问接入点时,发送连接请求;实际生活中,有可能用户移动终端所处的环境可能包括多个无线访问接入点,那么当存在多个无线访问接入点时,逐个扫描无线访问接入点,重复执行,直至找到一个可以连接的无线访问接入点。若扫描的第一个无线访问接入点就可以正常连接及上网,那么停止扫描其他无线访问接入点。S1. The mobile terminal scans the wireless access point (or AP point for short) in real time, and sends a connection request when the wireless access point is scanned; in real life, it is possible that the environment where the user's mobile terminal is located may include multiple wireless access point, then when there are multiple wireless access points, scan the wireless access points one by one, and repeat until a wireless access point that can be connected is found. If the first scanned wireless access point can be connected and surf the Internet normally, then stop scanning other wireless access points.
S2.连接到无线访问接入点,发起身份认证请求,设置一连接超时闹钟进行计时;此时,当移动终端发起身份认证请求时,即设置超时闹钟计时,例如计时一分钟,当然,用户可以根据实际情况调节计时的长短,通过调节计时长短提升用户体验。S2. Connect to the wireless access point, initiate an identity authentication request, and set a connection timeout alarm clock for timing; at this time, when the mobile terminal initiates an identity authentication request, the timeout alarm clock is set for timing, such as timing for one minute, of course, the user can Adjust the length of the timing according to the actual situation, and improve the user experience by adjusting the length of the timing.
S3.在预设时间内收到无线访问接入点回复的身份认证响应,则判定为网络连接正常。S3. After receiving an identity authentication response from the wireless access point within a preset time, it is determined that the network connection is normal.
作为本发明的较佳实施例,本发明步骤3具体包括:As a preferred embodiment of the present invention, step 3 of the present invention specifically includes:
步骤301.预设时间内收到无线访问接入点回复的身份认证响应,获取无线访问接入点的响应信息;一般无线访问接入点回复的身份认证响应为当前网络正常,不存在忙碌或堵塞,即提供一个可以输入用户账号、密码的界面;Step 301. Receive the identity authentication response from the wireless access point within the preset time, and obtain the response information of the wireless access point; generally, the identity authentication response returned by the wireless access point is that the current network is normal, and there is no busy or Blocking, that is, providing an interface where user account numbers and passwords can be entered;
步骤302.根据无线访问接入点的响应信息,上报身份认证信息;用户根据无线访问接入点输入用户账号、密码,上报身份认证信息;Step 302. According to the response information of the wireless access point, report the identity authentication information; the user inputs the user account and password according to the wireless access point, and reports the identity authentication information;
步骤303.实时接收无线访问接入点的上报身份认证结果;在此过程中,无线访问接入点的设备对用户账号、密码进行判断,判断是否输入正确;Step 303. Receive the identity authentication result reported by the wireless access point in real time; during this process, the device of the wireless access point judges the user account and password to determine whether the input is correct;
步骤304.身份认证通过则建立网络连接,身份认证失败则用户界面显示密码错误。若用户账号、密码正确则建立网络连接,若用户账号、密码错误则在移动终端的用户界面显示密码错误,以告知用户连接失败的原因是网络堵塞导致的连接超时还是密码错误。Step 304. If the identity authentication is passed, a network connection is established, and if the identity authentication fails, the user interface displays a password error. If the user account number and password are correct, a network connection is established, and if the user account number and password are wrong, the password error will be displayed on the user interface of the mobile terminal to inform the user that the reason for the connection failure is the connection timeout caused by network congestion or the password error.
S4.在预设时间内未收到认证完成的消息,则判定为网络连接异常。S4. If the message that the authentication is completed is not received within the preset time, it is determined that the network connection is abnormal.
作为本发明的较佳实施例,本发明步骤4具体包括:As a preferred embodiment of the present invention, step 4 of the present invention specifically includes:
步骤401.在预设时间内未收到认证完成的消息,向底层驱动发起取消身份认证请求;若未收到,则说明当前网络异常,例如网络繁忙或堵塞,用户连接超时,此时需要向底层驱动发起取消身份认证请求;Step 401. If no authentication completion message is received within the preset time, a request to cancel identity authentication is sent to the underlying driver; if not received, it indicates that the current network is abnormal, such as the network is busy or congested, and the user connection times out. The underlying driver initiates a request to cancel identity authentication;
步骤402.上报连接超时信息;将连接超时信息进行上报,提醒用户;Step 402. Report the connection timeout information; report the connection timeout information to remind the user;
步骤403.用户界面接收到上报的连接超时信息后,在用户界面显示连接超时,以告知用户连接失败的原因是网络堵塞导致的连接超时还是密码错误。Step 403. After receiving the reported connection timeout information, the user interface displays the connection timeout on the user interface to inform the user whether the reason for the connection failure is the connection timeout caused by network congestion or a wrong password.
作为本发明的较佳实施例,本发明所述方法还包括:当存在多个无线访问接入点时,逐个扫描无线访问接入点,重复执行步骤1-4。实际生活中,有可能用户移动终端所处的环境可能包括多个无线访问接入点,那么当存在多个无线访问接入点时,逐个扫描无线访问接入点,重复执行,直至找到一个可以连接的无线访问接入点。若扫描的第一个无线访问接入点就可以正常连接及上网,那么停止扫描其他无线访问接入点。As a preferred embodiment of the present invention, the method of the present invention further includes: when there are multiple wireless access points, scanning the wireless access points one by one, and repeatedly executing steps 1-4. In real life, it is possible that the environment where the mobile terminal of the user is located may include multiple wireless access points, then when there are multiple wireless access points, scan the wireless access points one by one, and execute repeatedly until one that can connected wireless access point. If the first scanned wireless access point can be connected and surf the Internet normally, then stop scanning other wireless access points.
本发明还公开了一种WiFi连接失败原因检测系统,包括:The present invention also discloses a WiFi connection failure cause detection system, including:
扫描发送单元,用于移动终端实时扫描无线访问接入点,当扫描到无线访问接入点时,发送连接请求;The scanning sending unit is used for the mobile terminal to scan the wireless access point in real time, and when the wireless access point is scanned, send a connection request;
计时单元,用于连接到无线访问接入点,发起身份认证请求,设置一连接超时闹钟进行计时;The timing unit is used to connect to the wireless access point, initiate an identity authentication request, and set a connection timeout alarm clock for timing;
第一判断单元,用于在预设时间内收到无线访问接入点回复的身份认证响应,则判定为网络连接正常;The first judging unit is configured to receive an identity authentication response from the wireless access point within a preset time, and judge that the network connection is normal;
第二判断单元,用于在预设时间内未收到认证完成的消息,则判定为网络连接异常。The second judging unit is configured to judge that the network connection is abnormal if the message that the authentication is completed is not received within a preset time.
作为本发明的较佳实施例,本发明所述系统还包括:As a preferred embodiment of the present invention, the system of the present invention also includes:
设置单元,用于预设置一连接超时闹钟,将连接超时闹钟与无线访问接入点连接请求进行关联,预设连接请求的响应时间,若在预设时间内响应则判定为网络连接正常,若在预设时间内无响应则判定为网络连接异常。The setting unit is used to pre-set a connection timeout alarm clock, associate the connection timeout alarm clock with the wireless access point connection request, and preset the response time of the connection request. If the response is within the preset time, it is determined that the network connection is normal. If If there is no response within the preset time, it is determined that the network connection is abnormal.
作为本发明的较佳实施例,本发明第一判断单元具体包括:As a preferred embodiment of the present invention, the first judging unit of the present invention specifically includes:
获取单元,用于预设时间内收到无线访问接入点回复的身份认证响应,获取无线访问接入点的响应信息;The obtaining unit is used to receive the identity authentication response replied by the wireless access point within a preset time, and obtain the response information of the wireless access point;
上报单元,用于根据无线访问接入点的响应信息,上报身份认证信息;A reporting unit, configured to report identity authentication information according to the response information of the wireless access point;
接收单元,用于实时接收无线访问接入点的上报身份认证结果;The receiving unit is used to receive the identity authentication result reported by the wireless access point in real time;
执行单元,用于身份认证通过则建立网络连接,身份认证失败则用户界面显示密码错误。The execution unit is used to establish a network connection if the identity authentication is passed, and to display a password error on the user interface if the identity authentication fails.
作为本发明的较佳实施例,本发明第二判断单元具体包括:As a preferred embodiment of the present invention, the second judging unit of the present invention specifically includes:
取消请求单元,用于在预设时间内未收到认证完成的消息,向底层驱动发起取消身份认证请求;The cancel request unit is used to initiate a request to cancel the identity authentication to the underlying driver if the message that the authentication is completed is not received within the preset time;
上报单元,用于上报连接超时信息;A reporting unit, configured to report connection timeout information;
执行单元,用于用户界面显示连接超时。The execution unit is used for the user interface to display connection timeout.
作为本发明的较佳实施例,本发明所述系统还包括:循环判断单元,用于当存在多个无线访问接入点时,逐个扫描无线访问接入点,重复执行检测步骤。As a preferred embodiment of the present invention, the system of the present invention further includes: a loop judging unit, configured to scan the wireless access points one by one when there are multiple wireless access points, and repeatedly execute the detection step.
通过以上实施例中的技术方案对本发明进行清楚、完整的描述,显然所描述的实施例为本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The present invention is clearly and completely described through the technical solutions in the above embodiments, and it is obvious that the described embodiments are part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510565173.2A CN105119776B (en) | 2015-09-08 | 2015-09-08 | A kind of WiFi connection failures reason detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510565173.2A CN105119776B (en) | 2015-09-08 | 2015-09-08 | A kind of WiFi connection failures reason detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105119776A CN105119776A (en) | 2015-12-02 |
CN105119776B true CN105119776B (en) | 2017-10-31 |
Family
ID=54667674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510565173.2A Expired - Fee Related CN105119776B (en) | 2015-09-08 | 2015-09-08 | A kind of WiFi connection failures reason detection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105119776B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107454657B (en) * | 2016-05-31 | 2020-10-27 | 九阳股份有限公司 | Voice network distribution method |
CN106162718A (en) * | 2016-08-18 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of WiFi network access detection method and device |
CN107453945A (en) * | 2017-07-14 | 2017-12-08 | 上海斐讯数据通信技术有限公司 | Because router netting twine disconnects the solution method and system for causing network not connect |
CN107493206B (en) * | 2017-08-16 | 2019-04-23 | Oppo广东移动通信有限公司 | A network detection method, network detection device and intelligent terminal |
CN107979863B (en) * | 2017-11-27 | 2020-03-17 | Oppo广东移动通信有限公司 | WiFi automatic connection method, system and terminal equipment |
CN109005187A (en) * | 2018-08-21 | 2018-12-14 | 广州飞硕信息科技股份有限公司 | A kind of communication information guard method and device |
CN111385244B (en) * | 2018-12-27 | 2022-12-27 | 中国移动通信集团四川有限公司 | Abnormal flow identification method, device, equipment, system and medium |
CN112395586A (en) * | 2019-08-15 | 2021-02-23 | 奇安信安全技术(珠海)有限公司 | File access control method, device, system, storage medium and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009132977A1 (en) * | 2008-04-30 | 2009-11-05 | Thales | Reliable resource integrated in a biometric data control device ensuring inspection security and data security |
CN103037358A (en) * | 2012-12-24 | 2013-04-10 | 杭州浦禾通信技术有限公司 | Network communication method and network communication system of mobile terminal based on android system |
-
2015
- 2015-09-08 CN CN201510565173.2A patent/CN105119776B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009132977A1 (en) * | 2008-04-30 | 2009-11-05 | Thales | Reliable resource integrated in a biometric data control device ensuring inspection security and data security |
CN103037358A (en) * | 2012-12-24 | 2013-04-10 | 杭州浦禾通信技术有限公司 | Network communication method and network communication system of mobile terminal based on android system |
Also Published As
Publication number | Publication date |
---|---|
CN105119776A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105119776B (en) | A kind of WiFi connection failures reason detection method and system | |
TWI634771B (en) | Wisdom device and method and device for establishing Bluetooth connection between devices | |
KR100688272B1 (en) | Recording medium recording wireless communication system, communication device, communication control method and communication control program | |
US9450750B2 (en) | Communication apparatus and secret information sharing method | |
US9253638B2 (en) | Single card multi-mode multi-operator authentication method and device | |
JP4621200B2 (en) | Communication apparatus, communication system, and authentication method | |
US9363672B2 (en) | Method and network node device for controlling the run of technology specific push-button configuration sessions within a heterogeneous or homogenous wireless network and heterogeneous or homogenous wireless network | |
CN107567017B (en) | Wireless connection system, device and method | |
US9832640B2 (en) | Wireless connection authentication method and server | |
WO2018076598A1 (en) | Access method for access point, apparatus, and system | |
CN105979516A (en) | Wireless fidelity connection method and system between intelligent terminal and router | |
US8805278B2 (en) | Main board, and method of implementing network/card locking and mobile terminal in which network/card locking is implemented | |
CN112351471A (en) | Method for accessing device to gateway, gateway device and computer readable storage medium | |
US9843444B2 (en) | Communication apparatus, control method, and storage medium | |
CN106211355B (en) | Equipment and system for controlling data interaction and working method thereof | |
CN106162718A (en) | A kind of WiFi network access detection method and device | |
US11818583B2 (en) | Method and device for unlocking communication, and computer storage medium | |
CN103228062B (en) | The control method of communicator and communicator | |
CN106792687B (en) | Connection method and system of WIFI network of mobile terminal | |
CN110087338A (en) | A method and device for authentication in narrowband Internet of Things | |
CN107969000B (en) | Method, device, equipment and medium for detecting state of uplink of wireless repeater | |
WO2011107039A2 (en) | Method and device for using wireless local area network service | |
CN110234113B (en) | Network connection method, terminal and computer readable storage medium | |
JP4138802B2 (en) | Communication apparatus and communication method | |
CN113260015B (en) | Task processing method and access and mobility management functional entity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171031 |