[go: up one dir, main page]

CN109041058B - WIFI hotspot connection method and device - Google Patents

WIFI hotspot connection method and device Download PDF

Info

Publication number
CN109041058B
CN109041058B CN201810878069.2A CN201810878069A CN109041058B CN 109041058 B CN109041058 B CN 109041058B CN 201810878069 A CN201810878069 A CN 201810878069A CN 109041058 B CN109041058 B CN 109041058B
Authority
CN
China
Prior art keywords
password
wifi hotspot
information
wifi
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810878069.2A
Other languages
Chinese (zh)
Other versions
CN109041058A (en
Inventor
刘存栋
卜云涛
董涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810878069.2A priority Critical patent/CN109041058B/en
Publication of CN109041058A publication Critical patent/CN109041058A/en
Application granted granted Critical
Publication of CN109041058B publication Critical patent/CN109041058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种WIFI热点连接的方法和装置,涉及计算机技术领域,所述方法包括:通过获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,达到了有效判断WIFI密码是否正确,排除无效密码,降低获取WIFI密码错误率的技术效果。

Figure 201810878069

The present invention provides a method and device for connecting to a WIFI hotspot, and relates to the field of computer technology. The method includes: obtaining whether a target user is connected to a WIFI hotspot, wherein the target user uses a first password issued by a server to connect to a WIFI connection; when the target user is not connected to the WIFI hotspot, obtain the creator information of the WIFI hotspot; determine whether the creator information is consistent with the predetermined information; if inconsistent, determine that the first password is an invalid password. It solves the technical problem that the correct rate of the WIFI password provided by the free WIFI APP in the prior art is not high, resulting in a low probability of successfully connecting to the WIFI, and effectively determines whether the WIFI password is correct, eliminates invalid passwords, and reduces the acquisition of WIFI passwords. The technical effect of error rates.

Figure 201810878069

Description

一种WIFI热点连接的方法和装置Method and device for WIFI hotspot connection

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种WIFI热点连接的方法和装置。The present invention relates to the field of computer technology, and in particular, to a method and device for WIFI hotspot connection.

背景技术Background technique

现如今公共场合基本实现WIFI覆盖,但为了保护WIFI网络安全和速度,往往设置密码,而通过人工告知密码不够便捷,于是关于免费WIFI的APP应时而生。Nowadays, WIFI coverage is basically achieved in public places, but in order to protect the security and speed of WIFI network, passwords are often set, and it is not convenient to tell the password manually, so the APP about free WIFI is born.

但是现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题。However, the free WIFI APP in the prior art has the technical problem that the correct rate of the provided WIFI password is not high, resulting in a low probability of successfully connecting to the WIFI.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种WIFI热点连接的方法和装置,解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,达到了有效判断WIFI密码是否正确,排除错误密码,降低获取WIFI密码错误率的技术效果。The embodiments of the present invention provide a method and device for connecting to a WIFI hotspot, which solves the technical problem in the prior art that the correct rate of the WIFI password provided by the free WIFI APP is not high, resulting in a low probability of successfully connecting to the WIFI. In order to effectively judge whether the WIFI password is correct, eliminate the wrong password, and reduce the technical effect of obtaining the WIFI password error rate.

鉴于上述问题,提出了本申请实施例以便提供一种WIFI热点连接的方法和装置。In view of the above problems, the embodiments of the present application are proposed to provide a method and apparatus for connecting to a WIFI hotspot.

第一方面,本发明提供了一种WIFI热点连接的方法,应用于一服务器,所述方法包括:获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。In a first aspect, the present invention provides a method for connecting to a WIFI hotspot, which is applied to a server. The method includes: obtaining whether a target user is connected to a WIFI hotspot, wherein the target user uses a first password issued by the server to connect to a WIFI hotspot. WIFI connection; when the target user is not connected to a WIFI hotspot, obtain the creator information of the WIFI hotspot; determine whether the creator information is consistent with the predetermined information; if not, then determine that the first password is an invalid password .

优选的,所述方法还包括:获得连接所述WIFI热点的失效密码的数量;当数量大于第一预定阈值时,获得第一结果,所述第一结果为所述第一密码已更改。Preferably, the method further includes: obtaining the number of invalid passwords connected to the WIFI hotspot; when the number is greater than a first predetermined threshold, obtaining a first result, where the first result is that the first password has been changed.

优选的,所述方法还包括获得所述WIFI热点的第二密码,所述第二密码为所述WIFI热点的新的连接密码;用所述第二密码替换所述第一密码,其中,所述第二密码为所述服务器下发给目标用户用于连接所述WIFI热点。Preferably, the method further comprises obtaining a second password of the WIFI hotspot, where the second password is a new connection password of the WIFI hotspot; replacing the first password with the second password, wherein the The second password is issued by the server to the target user for connecting to the WIFI hotspot.

优选的,所述方法还包括:获得连接所述WIFI热点的失效密码的比例;当比例大于第二预定阈值时,获得第二结果,所述第二结果为所述第一密码已更改。Preferably, the method further includes: obtaining a ratio of invalid passwords for connecting to the WIFI hotspot; when the ratio is greater than a second predetermined threshold, obtaining a second result, where the second result is that the first password has been changed.

优选的,获得所述WIFI热点的创建者信息,具体为:获得所述WIFI热点的创建应用信息;其中,所述方法还包括:判断所述创建应用信息与预定的应用是否一致;如不一致,则判断所述第一密码为失效密码。Preferably, obtaining the creator information of the WIFI hotspot is specifically: obtaining the creation application information of the WIFI hotspot; wherein, the method further includes: judging whether the created application information is consistent with a predetermined application; if not, Then it is judged that the first password is an invalid password.

优选的,所述方法还包括:获得所述目标用户的操作系统的版本信息;判断所述版本信息是否满足预定条件;当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。Preferably, the method further comprises: obtaining the version information of the operating system of the target user; judging whether the version information satisfies a predetermined condition; when the predetermined condition is met, obtaining a third result, and the third result is used for correction Whether the first password is an invalid password.

优选的,所述方法还包括:获得第一时间区间;根据所述第一时间区间和所述第一结果获得第四结果,所述第四结果为所述第一密码已更改;或,根据所述第一时间区间和所述第二结果获得第五结果,所述第五结果为所述第一结果已更改。Preferably, the method further comprises: obtaining a first time interval; obtaining a fourth result according to the first time interval and the first result, the fourth result being that the first password has been changed; or, according to The first time interval and the second result obtain a fifth result, the fifth result being that the first result has been modified.

第二方面,本发明提供了一种WIFI热点连接的装置,所述装置包括:In a second aspect, the present invention provides a device for connecting to a WIFI hotspot, the device comprising:

第一获得单元,所述第一获得单元用于获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;a first obtaining unit, the first obtaining unit is used to obtain whether the target user is connected to a WIFI hotspot, wherein the target user uses the first password issued by the server to connect to the WIFI;

第二获得单元,所述第二获得单元用于当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;a second obtaining unit, the second obtaining unit is configured to obtain the creator information of the WIFI hotspot when the target user is not connected to the WIFI hotspot;

第一判断单元,所述第一判断单元用于判断所述创建者信息与预定信息是否一致;a first judging unit, the first judging unit is used to judge whether the creator information is consistent with the predetermined information;

第二判断单元,所述第二判断单元用于如不一致,则判断所述第一密码为失效密码。A second judging unit, the second judging unit is configured to judge that the first password is an invalid password if they are inconsistent.

优选的,所述装置还包括:Preferably, the device further includes:

第三获得单元,所述第三获得单元用于获得连接所述WIFI热点的失效密码的数量;a third obtaining unit, the third obtaining unit is configured to obtain the number of invalid passwords connected to the WIFI hotspot;

第四获得单元,所述第四获得单元用于当数量大于第一预定阈值时,获得第一结果,所述第一结果为所述第一密码已更改。a fourth obtaining unit, configured to obtain a first result when the number is greater than a first predetermined threshold, where the first result is that the first password has been changed.

优选的,所述装置还包括:Preferably, the device further includes:

第五获得单元,所述第五获得单元用于获得所述WIFI热点的第二密码,所述第二密码为所述WIFI热点的新的连接密码;a fifth obtaining unit, the fifth obtaining unit is configured to obtain a second password of the WIFI hotspot, where the second password is a new connection password of the WIFI hotspot;

第一替换单元,所述第一替换单元用于用所述第二密码替换所述第一密码,其中,所述第二密码为所述服务器下发给目标用户用于连接所述WIFI热点。A first replacement unit, the first replacement unit is configured to replace the first password with the second password, wherein the second password is issued by the server to the target user for connecting to the WIFI hotspot.

优选的,所述装置还包括:Preferably, the device further includes:

第六获得单元,所述第六获得单元用于获得连接所述WIFI热点的失效密码的比例;a sixth obtaining unit, where the sixth obtaining unit is configured to obtain the proportion of invalid passwords connected to the WIFI hotspot;

第七获得单元,所述第七获得单元用于当比例大于第二预定阈值时,获得第二结果,所述第二结果为所述第一密码已更改。A seventh obtaining unit, configured to obtain a second result when the ratio is greater than a second predetermined threshold, where the second result is that the first password has been changed.

优选的,所述装置还包括:Preferably, the device further includes:

第八获得单元,所述第八获得单元用于获得所述WIFI热点的创建应用信息;其中,所述方法还包括:an eighth obtaining unit, the eighth obtaining unit is used to obtain the creation application information of the WIFI hotspot; wherein, the method further includes:

第三判断单元,所述第三判断单元用于判断所述创建应用信息与预定的应用是否一致;a third judging unit, the third judging unit is used to judge whether the created application information is consistent with a predetermined application;

第四判断单元,所述第四判断单元用于如不一致,则判断所述第一密码为失效密码。a fourth judging unit, the fourth judging unit is configured to judge that the first password is an invalid password if they are inconsistent.

优选的,所述装置还包括:Preferably, the device further includes:

第九获得单元,所述第九获得单元用于获得所述目标用户的操作系统的版本信息;a ninth obtaining unit, the ninth obtaining unit is used to obtain the version information of the operating system of the target user;

第五判断单元,所述第五判断单元用于判断所述版本信息是否满足预定条件;a fifth judging unit, the fifth judging unit is used to judge whether the version information satisfies a predetermined condition;

第十获得单元,所述第十获得单元用于当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。A tenth obtaining unit, the tenth obtaining unit is configured to obtain a third result when a predetermined condition is satisfied, and the third result is used to correct whether the first password is an invalid password.

优选的,所述装置还包括:Preferably, the device further includes:

第十一获得单元,所述第十一获得单元用于获得第一时间区间;an eleventh obtaining unit, the eleventh obtaining unit is configured to obtain the first time interval;

第十二获得单元,所述第十二获得单元用于根据所述第一时间区间和所述第一结果获得第四结果,所述第四结果为所述第一密码已更改;或,A twelfth obtaining unit, the twelfth obtaining unit is configured to obtain a fourth result according to the first time interval and the first result, where the fourth result is that the first password has been changed; or,

第十三获得单元,所述第十三获得单元用于根据所述第一时间区间和所述第二结果获得第五结果,所述第五结果为所述第一结果已更改。A thirteenth obtaining unit, the thirteenth obtaining unit is configured to obtain a fifth result according to the first time interval and the second result, where the fifth result is that the first result has been changed.

第三方面,本发明提供了一种WIFI热点连接的装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。In a third aspect, the present invention provides a device for connecting to a WIFI hotspot, comprising a memory, a processor and a computer program stored in the memory and running on the processor, the processor implements the following steps when executing the program: Obtain whether the target user is connected to the WIFI hotspot, wherein the target user uses the first password issued by the server to connect to the WIFI; when the target user is not connected to the WIFI hotspot, obtain the creator information of the WIFI hotspot; determine Whether the creator information is consistent with the predetermined information; if not, it is determined that the first password is an invalid password.

本申请实施例中的上述一个或多个技术方案,至少具有如下一种或多种技术效果:The above-mentioned one or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:

1.本申请实施例提供的一种WIFI热点连接的方法和装置,通过获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,达到了有效判断WIFI密码是否正确,排除无效密码,降低获取WIFI密码错误率的技术效果。1. A method and device for connecting to a WIFI hotspot provided by the embodiments of the present application, by obtaining whether the target user is connected to a WIFI hotspot, wherein the target user uses the first password issued by the server to connect to the WIFI; When the user is not connected to the WIFI hotspot, the creator information of the WIFI hotspot is obtained; it is judged whether the creator information is consistent with the predetermined information; if not, the first password is judged to be an invalid password. It solves the technical problem that the correct rate of the WIFI password provided by the free WIFI APP in the prior art is not high, resulting in a low probability of successfully connecting to the WIFI, and effectively determines whether the WIFI password is correct, eliminates invalid passwords, and reduces the acquisition of WIFI passwords. The technical effect of error rates.

2.本申请实施例通过获得所述目标用户的操作系统的版本信息;判断所述版本信息是否满足预定条件;当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。进一步解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,进一步达到了提高判断所述第一密码是否为失效密码的准确性的技术效果。2. In this embodiment of the present application, the version information of the operating system of the target user is obtained; it is judged whether the version information satisfies a predetermined condition; when the predetermined condition is satisfied, a third result is obtained, and the third result is used to correct the Whether the first password is an invalid password. It further solves the technical problem that the correct rate of the WIFI password provided by the free WIFI APP in the prior art is not high, resulting in a low probability of successfully connecting to WIFI, and further improves the accuracy of judging whether the first password is an invalid password. Sexual technical effects.

3.本申请通过获得第一时间区间;根据所述第一时间区间和所述第一结果获得第四结果,所述第四结果为所述第一密码已更改;或,根据所述第一时间区间和所述第二结果获得第五结果,所述第五结果为所述第一密码已更改。这样获得的统计结果更加准确,排除了间隔时间交长的反馈数据,保证统计的数据都是集中在同一时间段内的有效数据,从而达到提高判断所述第一密码更改的准确性的效果。3. The present application obtains a first time interval; obtains a fourth result according to the first time interval and the first result, and the fourth result is that the first password has been changed; or, according to the first The time interval and the second result obtain a fifth result, the fifth result being that the first password has been changed. The statistical results obtained in this way are more accurate, and the feedback data with long intervals is excluded, so that the statistical data are all valid data concentrated in the same time period, thereby achieving the effect of improving the accuracy of judging the change of the first password.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

图1为本发明实施例中一种WIFI热点连接的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for connecting to a WIFI hotspot according to an embodiment of the present invention;

图2为本发明实施例中一种WIFI热点连接的装置的结构示意图;FIG. 2 is a schematic structural diagram of a device for connecting to a WIFI hotspot according to an embodiment of the present invention;

图3为本发明实施例中另一种WIFI热点连接的装置的结构示意图.3 is a schematic structural diagram of another device for connecting to a WIFI hotspot in an embodiment of the present invention.

附图标号说明:总线300,接收器301,处理器302,发送器303,存储器304,总线接口306。Reference numerals indicate: bus 300 , receiver 301 , processor 302 , transmitter 303 , memory 304 , bus interface 306 .

具体实施方式Detailed ways

本发明实施例提供了一种WIFI热点连接的方法和装置,用于解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,本发明提供的技术方案总体思路如下:The embodiments of the present invention provide a method and device for connecting to a WIFI hotspot, which are used to solve the technical problem that the correct rate of the WIFI password provided by the free WIFI APP in the prior art is not high, resulting in a low probability of successfully connecting to the WIFI. , the general idea of the technical solution provided by the present invention is as follows:

在本发明实施例的技术方案中,通过获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。达到了有效判断WIFI密码是否正确,排除错误密码,降低获取WIFI密码错误率的技术效果。In the technical solution of the embodiment of the present invention, whether the target user is connected to the WIFI hotspot is obtained, wherein the target user uses the first password issued by the server to connect to the WIFI; when the target user is not connected to the WIFI hotspot, Obtain the creator information of the WIFI hotspot; determine whether the creator information is consistent with the predetermined information; if they are inconsistent, determine that the first password is an invalid password. The technical effect of effectively judging whether the WIFI password is correct, eliminating the wrong password, and reducing the error rate of obtaining the WIFI password is achieved.

下面通过附图以及具体实施例对本发明技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。The technical solutions of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. If there is no conflict, the embodiments of the present application and the technical features in the embodiments may be combined with each other.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.

为了更清楚公开本申请实施例所提供的一种WIFI热点连接的方法,下面介绍一些术语。In order to more clearly disclose the method for connecting to a WIFI hotspot provided by the embodiments of the present application, some terms are introduced below.

实施例一Example 1

图1为本发明实施例中一种WIFI热点连接的方法的流程示意图。如图1所示,应用于一服务器,所述方法包括:FIG. 1 is a schematic flowchart of a method for connecting to a WIFI hotspot according to an embodiment of the present invention. As shown in Figure 1, applied to a server, the method includes:

步骤110:获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;Step 110: Obtain whether the target user is connected to a WIFI hotspot, wherein the target user uses the first password issued by the server to connect to the WIFI;

具体而言,所述目标用户为使用本申请提供的免费连接WIFI的服务器的用户,其中所述目标用户为不同的多个电子产品用户,可以是智能手机用户、智能手表用户,平板电脑等能够连接WIFI的电子产品的用户。所述目标用户利用所述服务器下发的所述第一密码,连接与所述第一密码对应的WIFI热点,用户在使用所述第一密码进行WIFI连接的时候,会向所述服务器反馈热点连接情况,所述服务器根据所述用户反馈的热点连接情况,可以得知所述目标用户是否连接上所述WIFI热点。Specifically, the target user is a user who uses the free WIFI connection server provided by this application, wherein the target user is a plurality of different electronic product users, which can be a smartphone user, a smart watch user, a tablet computer, etc. Users of WIFI-connected electronics. The target user uses the first password issued by the server to connect to the WIFI hotspot corresponding to the first password. When the user uses the first password to connect to the WIFI, the user will feedback the hotspot to the server. Connection status, the server can know whether the target user is connected to the WIFI hotspot according to the hotspot connection status fed back by the user.

步骤120:当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;Step 120: when the target user is not connected to a WIFI hotspot, obtain creator information of the WIFI hotspot;

步骤130:判断所述创建者信息与预定信息是否一致;Step 130: Determine whether the creator information is consistent with the predetermined information;

步骤140:如不一致,则判断所述第一密码为失效密码。Step 140: If they are inconsistent, determine that the first password is an invalid password.

进一步的,获得所述WIFI热点的创建者信息,具体为获得所述WIFI热点的创建应用信息;其中,所述方法还包括:判断所述创建应用信息与预定的应用是否一致;如不一致,则判断所述第一密码为失效密码。Further, obtaining the creator information of the WIFI hotspot is specifically obtaining the creation application information of the WIFI hotspot; wherein, the method further includes: judging whether the created application information is consistent with a predetermined application; if not, then It is judged that the first password is an invalid password.

具体而言,所述目标用户没有连接WIFI热点是指所述目标用户使用所述WIFI热点无法正常访问外网或者直接显示无法连接的情况,在这种情况下,需要获得所述WIFI创建者信息,所述WIFI创建者信息为所述WIFI热点的创建应用信息,如果当前创建应用信息不为空,且与所述预定的应用不同,其中,所述预定的应用即为本申请提供的应用,则说明第一次创建这个WIFI热点的应用不是本申请提供的应用,所以,本申请提供的应用就没有权限去更新所述WIFI热点中的密码了,这个时候,我们下发的密码就不会生效了,也就是说所述第一密码为实效密码。Specifically, the fact that the target user is not connected to the WIFI hotspot refers to the situation that the target user cannot access the external network normally using the WIFI hotspot or directly shows that the connection cannot be connected. In this case, the WIFI creator information needs to be obtained , the WIFI creator information is the creation application information of the WIFI hotspot. If the current creation application information is not empty and is different from the predetermined application, the predetermined application is the application provided by this application, It means that the application that created this WIFI hotspot for the first time is not the application provided by this application. Therefore, the application provided by this application has no right to update the password in the WIFI hotspot. At this time, the password we issued will not be Effective, that is to say, the first password is an effective password.

如果所述创建应用信息为空,则说明没有应用曾经创建过这个WIFI热点,我们是第一个,因此该次下发的密码可以生效,可以正常的进行密码准确性判断。If the application creation information is empty, it means that no application has ever created this WIFI hotspot, and we are the first, so the password issued this time can take effect, and the password accuracy can be judged normally.

如果述创建应用信息不为空,且和所述预定的应用相同,说明当前WIFI热点的创建者就是本申请实施例提供的应用之前创建的,此时我们下发的密码是可以生效的,可以正常的进行密码准确性判断。If the created application information is not empty and is the same as the predetermined application, it means that the creator of the current WIFI hotspot was created before the application provided by the embodiment of this application. At this time, the password we issued can take effect. The password accuracy is judged normally.

进一步的,如果同一段时间内,N个所述目标用户都上报该WIFI热点密码不正确,我们就认为所述第一密码已经被改过了。对于判断所述第一密码是否已经更改,本申请实施例提供了两种判断方法,下面分两个具体实施方式进行解释说明。Further, if within the same period of time, the N target users all report that the password of the WIFI hotspot is incorrect, we consider that the first password has been changed. For judging whether the first password has been changed, the embodiment of the present application provides two judging methods, which are explained below in two specific implementation manners.

具体实施方式一Specific implementation one

获得连接所述WIFI热点的失效密码的数量;当数量大于第一预定阈值时,获得第一结果,所述第一结果为所述第一密码已更改。Obtain the number of invalid passwords connected to the WIFI hotspot; when the number is greater than a first predetermined threshold, obtain a first result, where the first result is that the first password has been changed.

具体而言,当所述目标用户将是否为失效密码的信息反馈至服务器端后,所述服务器统计所述WIFI热点的失效密码的数量,当失效密码的数量大于所述第一预定阈值,获得第一结果,所述第一阈值为判断所述WIFI密码是否失效的临界值,所述第一预定阈值可以根据实际情况进行设定,本申请对此不作任何限制,所述第一结果为所述第一密码已更改,换言之,当失效密码的数量大于所述第一预定阈值,则说明所述第一密码已经更改,如果所述失效密码的数量小于或等于所述第一预定阈值,则所述第一密码没有更改。Specifically, after the target user feeds back the information on whether the password is an invalid password to the server, the server counts the number of invalid passwords of the WIFI hotspot, and when the number of invalid passwords is greater than the first predetermined threshold, obtain The first result is that the first threshold is a critical value for judging whether the WIFI password is invalid. The first predetermined threshold can be set according to the actual situation, which is not limited in this application, and the first result is the first result. The first password has been changed, in other words, when the number of invalid passwords is greater than the first predetermined threshold, it means that the first password has been changed, and if the number of invalid passwords is less than or equal to the first predetermined threshold, then The first password is not changed.

进一步的,所述方法还包括获得所述WIFI热点的第二密码,所述第二密码为所述WIFI热点的新的连接密码;用所述第二密码替换所述第一密码,其中,所述第二密码为所述服务器下发给目标用户用于连接所述WIFI热点。Further, the method further includes obtaining a second password of the WIFI hotspot, where the second password is a new connection password of the WIFI hotspot; replacing the first password with the second password, wherein the The second password is issued by the server to the target user for connecting to the WIFI hotspot.

具体而言,由于所述第一密码存在失效的可能,所以当所述第一密码为失效密码时,所述服务器下发第二密码,所述第二密码为新的连接密码,将所述第二密码替换所述第一密码,使得所述目标用户使用所述第二密码能够连接所述WIFI热点。Specifically, since the first password may be invalid, when the first password is an invalid password, the server issues a second password, and the second password is a new connection password. The second password replaces the first password, so that the target user can connect to the WIFI hotspot using the second password.

进一步的,所述方法还包括:获得所述目标用户的操作系统的版本信息;判断所述版本信息是否满足预定条件;当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。Further, the method further includes: obtaining version information of the target user's operating system; judging whether the version information satisfies a predetermined condition; when the predetermined condition is met, obtaining a third result, and the third result is used for correction Whether the first password is an invalid password.

具体而言,获得所述目标用户的操作系统的版本信息,本申请实施例设定所述预定条件为Android 6.0版本,所述预定条件即为特殊情况,或者与其他版本情况不同的个别情况的版本,本申请实施例以Android 6.0版本为例进行解释说明。如果所述目标用户的操作系统的版本为Android 6.0版本,则获得所述第三结果,所述第三结果用于修正所述第一密码是否为失效密码,具体的,所述第三结果为如果所述服务器接收到目标用户的操作系统为Android 6.0版本的反馈信息,则所述服务器选择不相信所述反馈信息,也就是说不将所述反馈信息统计在判断所述第一密码是否为失效密码的数据内。从而提高判断所述第一密码是否为失效密码的准确性。Specifically, the version information of the operating system of the target user is obtained. In the embodiment of the present application, the predetermined condition is set to be the Android 6.0 version, and the predetermined condition is a special case, or an individual case that is different from other versions. version, the embodiments of this application take Android 6.0 version as an example for explanation. If the version of the operating system of the target user is the Android 6.0 version, the third result is obtained, and the third result is used to correct whether the first password is an invalid password. Specifically, the third result is: If the server receives the feedback information that the target user's operating system is Android 6.0, the server chooses not to believe the feedback information, that is, the feedback information is not counted in judging whether the first password is In the data of the expired password. Thus, the accuracy of judging whether the first password is an invalid password is improved.

进一步的,所述方法还包括:获得第一时间区间;根据所述第一时间区间和所述第一结果获得第四结果,所述第四结果为所述第一密码已更改。Further, the method further includes: obtaining a first time interval; obtaining a fourth result according to the first time interval and the first result, where the fourth result is that the first password has been changed.

具体而言,所述第一时间区间为获得第一结果的时间区间,也就是说,在一段时间内,判断所述WIFI热点的失效密码的数量,所述第一时间区间可以是一天、一周等,具体时间段可以根据实际情况进行设置。这样获得的统计结果更加准确,排除了间隔时间交长的反馈数据,保证统计的数据都是集中在同一时间段内的有效数据,从而达到提高判断所述第一密码更改的准确性的效果。Specifically, the first time interval is the time interval in which the first result is obtained, that is, the number of invalid passwords of the WIFI hotspot is determined within a period of time, and the first time interval may be one day or one week. etc. The specific time period can be set according to the actual situation. The statistical results obtained in this way are more accurate, and the feedback data with long intervals is excluded, so that the statistical data are all valid data concentrated in the same time period, thereby achieving the effect of improving the accuracy of judging the change of the first password.

具体实施方式二Specific embodiment two

获得连接所述WIFI热点的失效密码的比例;当比例大于第二预定阈值时,获得第二结果,所述第二结果为所述第一密码已更改。Obtain the ratio of invalid passwords for connecting to the WIFI hotspot; when the ratio is greater than a second predetermined threshold, obtain a second result, where the second result is that the first password has been changed.

具体而言,当所述目标用户将是否为失效密码的信息反馈至服务器端后,所述服务器统计所述WIFI热点的失效密码的比例,当所述失效密码的比例达到一定值时,则说明所述第一密码已更改。所述第二预定阈值就是所述第一密码被更改时所述失效密码比例的临界值,也就是说当所述失效密码的比例达到所述第二预定阈值时,则可以确定所述第一密码已经被更改了。Specifically, after the target user feeds back the information on whether the password is an invalid password to the server, the server counts the ratio of the invalid password of the WIFI hotspot. When the ratio of the invalid password reaches a certain value, it means that The first password has been changed. The second predetermined threshold is the critical value of the proportion of the invalid passwords when the first password is changed, that is to say, when the proportion of the invalid passwords reaches the second predetermined threshold, the first password can be determined. Password has been changed.

进一步的,所述方法还包括获得所述WIFI热点的第二密码,所述第二密码为所述WIFI热点的新的连接密码;用所述第二密码替换所述第一密码,其中,所述第二密码为所述服务器下发给目标用户用于连接所述WIFI热点。Further, the method further includes obtaining a second password of the WIFI hotspot, where the second password is a new connection password of the WIFI hotspot; replacing the first password with the second password, wherein the The second password is issued by the server to the target user for connecting to the WIFI hotspot.

具体而言,由于所述第一密码存在失效的可能,所以当所述第一密码为失效密码时,所述服务器下发第二密码,所述第二密码为新的连接密码,将所述第二密码替换所述第一密码,使得所述目标用户使用所述第二密码能够连接所述WIFI热点。Specifically, since the first password may be invalid, when the first password is an invalid password, the server issues a second password, and the second password is a new connection password. The second password replaces the first password, so that the target user can connect to the WIFI hotspot using the second password.

进一步的,所述方法还包括:获得所述目标用户的操作系统的版本信息;判断所述版本信息是否满足预定条件;当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。Further, the method further includes: obtaining version information of the target user's operating system; judging whether the version information satisfies a predetermined condition; when the predetermined condition is met, obtaining a third result, and the third result is used for correction Whether the first password is an invalid password.

具体而言,获得所述目标用户的操作系统的版本信息,本申请实施例设定所述预定条件为Android 6.0版本,所述预定条件即为特殊情况,或者与其他版本情况不同的个别情况的版本,本申请实施例以Android 6.0版本为例进行解释说明。如果所述目标用户的操作系统的版本为Android 6.0版本,则获得所述第三结果,所述第三结果用于修正所述第一密码是否为失效密码,具体的,所述第三结果为如果所述服务器接收到目标用户的操作系统为Android 6.0版本的反馈信息,则所述服务器选择不相信所述反馈信息,也就是说不将所述反馈信息统计在判断所述第一密码是否为失效密码的数据内。从而提高判断所述第一密码是否为失效密码的准确性。Specifically, the version information of the operating system of the target user is obtained. In the embodiment of the present application, the predetermined condition is set to be the Android 6.0 version, and the predetermined condition is a special case, or an individual case that is different from other versions. version, the embodiments of this application take Android 6.0 version as an example for explanation. If the version of the operating system of the target user is the Android 6.0 version, the third result is obtained, and the third result is used to correct whether the first password is an invalid password. Specifically, the third result is: If the server receives the feedback information that the target user's operating system is Android 6.0, the server chooses not to believe the feedback information, that is, the feedback information is not counted in judging whether the first password is In the data of the expired password. Thus, the accuracy of judging whether the first password is an invalid password is improved.

进一步的,所述方法还包括:根据所述第一时间区间和所述第二结果获得第五结果,所述第五结果为所述第一结果已更改。Further, the method further includes: obtaining a fifth result according to the first time interval and the second result, where the fifth result is that the first result has been changed.

具体而言,所述第一时间区间为获得第一结果的时间区间,也就是说,在一段时间内,判断所述WIFI热点的失效密码的数量,所述第一时间区间可以是一天、一周等,具体时间段可以根据实际情况进行设置。这样获得的统计结果更加准确,排除了间隔时间交长的反馈数据,保证统计的数据都是集中在同一时间段内的有效数据,从而达到提高判断所述第一密码更改的准确性的效果。Specifically, the first time interval is the time interval in which the first result is obtained, that is, the number of invalid passwords of the WIFI hotspot is determined within a period of time, and the first time interval may be one day or one week. etc. The specific time period can be set according to the actual situation. The statistical results obtained in this way are more accurate, and the feedback data with long intervals is excluded, so that the statistical data are all valid data concentrated in the same time period, thereby achieving the effect of improving the accuracy of judging the change of the first password.

实施例2Example 2

基于与前述实施例中一种WIFI热点连接的方法同样的发明构思,本发明还提供一种WIFI热点连接的装置,如图2所示,包括:Based on the same inventive concept as the method for connecting to a WIFI hotspot in the foregoing embodiment, the present invention also provides a device for connecting to a WIFI hotspot, as shown in FIG. 2 , including:

第一获得单元,所述第一获得单元用于获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;a first obtaining unit, the first obtaining unit is used to obtain whether the target user is connected to a WIFI hotspot, wherein the target user uses the first password issued by the server to connect to the WIFI;

第二获得单元,所述第二获得单元用于当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;a second obtaining unit, the second obtaining unit is configured to obtain the creator information of the WIFI hotspot when the target user is not connected to the WIFI hotspot;

第一判断单元,所述第一判断单元用于判断所述创建者信息与预定信息是否一致;a first judging unit, the first judging unit is used to judge whether the creator information is consistent with the predetermined information;

第二判断单元,所述第二判断单元用于如不一致,则判断所述第一密码为失效密码。A second judging unit, the second judging unit is configured to judge that the first password is an invalid password if they are inconsistent.

进一步的,所述装置还包括:Further, the device also includes:

第三获得单元,所述第三获得单元用于获得连接所述WIFI热点的失效密码的数量;a third obtaining unit, the third obtaining unit is configured to obtain the number of invalid passwords connected to the WIFI hotspot;

第四获得单元,所述第四获得单元用于当数量大于第一预定阈值时,获得第一结果,所述第一结果为所述第一密码已更改。a fourth obtaining unit, configured to obtain a first result when the number is greater than a first predetermined threshold, where the first result is that the first password has been changed.

进一步的,所述装置还包括:Further, the device also includes:

第五获得单元,所述第五获得单元用于获得所述WIFI热点的第二密码,所述第二密码为所述WIFI热点的新的连接密码;a fifth obtaining unit, the fifth obtaining unit is configured to obtain a second password of the WIFI hotspot, where the second password is a new connection password of the WIFI hotspot;

第一替换单元,所述第一替换单元用于用所述第二密码替换所述第一密码,其中,所述第二密码为所述服务器下发给目标用户用于连接所述WIFI热点。A first replacement unit, the first replacement unit is configured to replace the first password with the second password, wherein the second password is issued by the server to the target user for connecting to the WIFI hotspot.

进一步的,所述装置还包括:Further, the device also includes:

第六获得单元,所述第六获得单元用于获得连接所述WIFI热点的失效密码的比例;a sixth obtaining unit, where the sixth obtaining unit is configured to obtain the proportion of invalid passwords connected to the WIFI hotspot;

第七获得单元,所述第七获得单元用于当比例大于第二预定阈值时,获得第二结果,所述第二结果为所述第一密码已更改。A seventh obtaining unit, configured to obtain a second result when the ratio is greater than a second predetermined threshold, where the second result is that the first password has been changed.

进一步的,所述装置还包括:Further, the device also includes:

第八获得单元,所述第八获得单元用于获得所述WIFI热点的创建应用信息;其中,所述方法还包括:an eighth obtaining unit, the eighth obtaining unit is used to obtain the creation application information of the WIFI hotspot; wherein, the method further includes:

第三判断单元,所述第三判断单元用于判断所述创建应用信息与预定的应用是否一致;a third judging unit, the third judging unit is used to judge whether the created application information is consistent with a predetermined application;

第四判断单元,所述第四判断单元用于如不一致,则判断所述第一密码为失效密码。a fourth judging unit, the fourth judging unit is configured to judge that the first password is an invalid password if they are inconsistent.

进一步的,所述装置还包括:Further, the device also includes:

第九获得单元,所述第九获得单元用于获得所述目标用户的操作系统的版本信息;a ninth obtaining unit, the ninth obtaining unit is used to obtain the version information of the operating system of the target user;

第五判断单元,所述第五判断单元用于判断所述版本信息是否满足预定条件;a fifth judging unit, the fifth judging unit is used to judge whether the version information satisfies a predetermined condition;

第十获得单元,所述第十获得单元用于当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。A tenth obtaining unit, the tenth obtaining unit is configured to obtain a third result when a predetermined condition is satisfied, and the third result is used to correct whether the first password is an invalid password.

进一步的,所述装置还包括:Further, the device also includes:

第十一获得单元,所述第十一获得单元用于获得第一时间区间;an eleventh obtaining unit, the eleventh obtaining unit is configured to obtain the first time interval;

第十二获得单元,所述第十二获得单元用于根据所述第一时间区间和所述第一结果获得第四结果,所述第四结果为所述第一密码已更改;或,A twelfth obtaining unit, the twelfth obtaining unit is configured to obtain a fourth result according to the first time interval and the first result, where the fourth result is that the first password has been changed; or,

第十三获得单元,所述第十三获得单元用于根据所述第一时间区间和所述第二结果获得第五结果,所述第五结果为所述第一结果已更改。A thirteenth obtaining unit, the thirteenth obtaining unit is configured to obtain a fifth result according to the first time interval and the second result, where the fifth result is that the first result has been changed.

前述图1实施例1中的一种WIFI热点连接的方法的各种变化方式和具体实例同样适用于本实施例的一种WIFI热点连接的装置,通过前述对一种WIFI热点连接的方法的详细描述,本领域技术人员可以清楚的知道本实施例中一种WIFI热点连接的装置的实施方法,所以为了说明书的简洁,在此不再详述。The various variations and specific examples of the method for connecting to a WIFI hotspot in Embodiment 1 of FIG. 1 are also applicable to a device for connecting to a WIFI hotspot in this embodiment. Description, those skilled in the art can clearly know the implementation method of a WIFI hotspot connection device in this embodiment, so for the sake of brevity of the description, it will not be described in detail here.

基于上述如图1所示方法,相应的,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。Based on the above method as shown in FIG. 1 , correspondingly, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented: obtaining whether the target user is connected Connecting to a WIFI hotspot, wherein the target user uses the first password issued by the server to connect to WIFI; when the target user is not connected to a WIFI hotspot, obtain the creator information of the WIFI hotspot; determine the creator information Whether it is consistent with the predetermined information; if not, it is determined that the first password is an invalid password.

实施例3Example 3

基于与前述实施例中一种WIFI热点连接的方法同样的发明构思,本发明还提供一种WIFI热点连接的装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该程序被处理器执行时实现前文所述一种WIFI热点连接的方法的任一方法的步骤。Based on the same inventive concept as the method for connecting to a WIFI hotspot in the foregoing embodiment, the present invention also provides a device for connecting to a WIFI hotspot, including a memory, a processor and a computer program stored in the memory and running on the processor , when the program is executed by the processor, implements the steps of any one of the aforementioned methods for connecting to a WIFI hotspot.

其中,在图3中,总线架构(用总线300来代表),总线300可以包括任意数量的互联的总线和桥,总线300将包括由处理器302代表的一个或多个处理器和存储器304代表的存储器的各种电路链接在一起。总线300还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口306在总线300和接收器301和发送器303之间提供接口。接收器301和发送器303可以是同一个元件,即收发机,提供用于在传输介质上与各种其他装置通信的单元。3, the bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 will include one or more processors represented by processor 302 and memory 304 The various circuits of the memory are linked together. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and thus will not be described further herein. Bus interface 306 provides an interface between bus 300 and receiver 301 and transmitter 303 . Receiver 301 and transmitter 303 may be the same element, a transceiver, providing means for communicating with various other devices over a transmission medium.

处理器302负责管理总线300和通常的处理,而存储器304可以被用于存储处理器302在执行操作时所使用的信息。The processor 302 is responsible for managing the bus 300 and general processing, while the memory 304 may be used to store information used by the processor 302 in performing operations.

本申请实施例中的上述一个或多个技术方案,至少具有如下一种或多种技术效果:The above-mentioned one or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:

1.本申请实施例提供的一种WIFI热点连接的方法和装置,通过获得目标用户是否连接上WIFI热点,其中,所述目标用户使用服务器下发的第一密码进行WIFI连接;当所述目标用户没有连接上WIFI热点时,获得所述WIFI热点的创建者信息;判断所述创建者信息与预定信息是否一致;如不一致,则判断所述第一密码为失效密码。解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,达到了有效判断WIFI密码是否正确,排除无效密码,降低获取WIFI密码错误率的技术效果。1. A method and device for connecting to a WIFI hotspot provided by the embodiments of the present application, by obtaining whether the target user is connected to a WIFI hotspot, wherein the target user uses the first password issued by the server to connect to the WIFI; When the user is not connected to the WIFI hotspot, the creator information of the WIFI hotspot is obtained; it is judged whether the creator information is consistent with the predetermined information; if not, the first password is judged to be an invalid password. It solves the technical problem that the correct rate of the WIFI password provided by the free WIFI APP in the prior art is not high, resulting in a low probability of successfully connecting to the WIFI, and effectively determines whether the WIFI password is correct, eliminates invalid passwords, and reduces the acquisition of WIFI passwords. The technical effect of error rates.

2.本申请实施例通过获得所述目标用户的操作系统的版本信息;判断所述版本信息是否满足预定条件;当满足预定条件时,获得第三结果,所述第三结果用于修正所述第一密码是否为失效密码。进一步解决了现有技术中的免费WIFI的APP存在提供的WIFI密码的正确率不高,导致成功连接WIFI的几率低下的技术问题,进一步达到了提高判断所述第一密码是否为失效密码的准确性的技术效果。2. In this embodiment of the present application, the version information of the operating system of the target user is obtained; it is judged whether the version information satisfies a predetermined condition; when the predetermined condition is satisfied, a third result is obtained, and the third result is used to correct the Whether the first password is an invalid password. It further solves the technical problem that the correct rate of the WIFI password provided by the free WIFI APP in the prior art is not high, resulting in a low probability of successfully connecting to WIFI, and further improves the accuracy of judging whether the first password is an invalid password. Sexual technical effects.

3.本申请通过获得第一时间区间;根据所述第一时间区间和所述第一结果获得第四结果,所述第四结果为所述第一密码已更改;或,根据所述第一时间区间和所述第二结果获得第五结果,所述第五结果为所述第一密码已更改。这样获得的统计结果更加准确,排除了间隔时间交长的反馈数据,保证统计的数据都是集中在同一时间段内的有效数据,从而达到提高判断所述第一密码更改的准确性的效果。3. The present application obtains a first time interval; obtains a fourth result according to the first time interval and the first result, and the fourth result is that the first password has been changed; or, according to the first The time interval and the second result obtain a fifth result, the fifth result being that the first password has been changed. The statistical results obtained in this way are more accurate, and the feedback data with long intervals is excluded, so that the statistical data are all valid data concentrated in the same time period, thereby achieving the effect of improving the accuracy of judging the change of the first password.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

可以理解的是,上述方法及装置中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。It can be understood that the relevant features in the above-mentioned methods and apparatuses may refer to each other. In addition, "first", "second", etc. in the above-mentioned embodiments are used to distinguish each embodiment, and do not represent the advantages and disadvantages of each embodiment.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It should be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, Figure, or its description. However, this disclosure should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the invention within and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的WiFi识别装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components of the WiFi identification device according to the embodiment of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Claims (11)

1. A WIFI hotspot connection method is applied to a server and comprises the following steps:
whether a target user is connected with a WIFI hotspot is obtained, wherein the target user uses a first password issued by a server to carry out WIFI connection;
when the target user is not connected with a WIFI hotspot, creator information of the WIFI hotspot is obtained, whether the creator information is consistent with preset information or not is judged, the creator information is creation application information of the WIFI hotspot, and the preset information is preset application;
if not, the first password is judged to be a failure password.
2. The method of claim 1, wherein the method further comprises:
obtaining the number of invalid passwords connected with the WIFI hotspot;
when the number is greater than a first predetermined threshold, obtaining a first result that the first password has changed.
3. The method of claim 2, further comprising
Obtaining a second password of the WIFI hotspot, wherein the second password is a new connection password of the WIFI hotspot;
and replacing the first password with the second password, wherein the second password is issued by the server to a target user for connecting the WIFI hotspot.
4. The method of claim 1, wherein the method further comprises:
obtaining the proportion of invalid passwords connected with the WIFI hotspot;
when the ratio is greater than a second predetermined threshold, obtaining a second result, the second result being that the first password has been changed.
5. The method of claim 1, wherein the obtaining creator information of the WIFI hotspot specifically comprises:
acquiring creating application information of the WIFI hotspot; wherein the method further comprises:
judging whether the created application information is consistent with a preset application or not;
and if the first password is inconsistent with the second password, judging that the first password is a failure password.
6. The method of claim 1, wherein the method further comprises:
obtaining version information of the operating system of the target user;
judging whether the version information meets a preset condition or not;
and when a preset condition is met, obtaining a third result, wherein the third result is used for correcting whether the first password is a failure password.
7. The method of claim 2, wherein the method further comprises:
obtaining a first time interval;
and obtaining a fourth result according to the first time interval and the first result, wherein the fourth result is that the first password is changed.
8. The method of claim 4, wherein the method further comprises:
obtaining a first time interval;
and obtaining a fifth result according to the first time interval and the second result, wherein the fifth result is that the first password is changed.
9. An apparatus for WIFI hotspot connection, the apparatus comprising:
the first obtaining unit is used for obtaining whether a target user is connected with a WIFI hotspot or not, wherein the target user uses a first password issued by a server to carry out WIFI connection;
a second obtaining unit, configured to obtain creator information of a WIFI hotspot when the target user is not connected to the WIFI hotspot;
a first judging unit, configured to judge whether creator information is consistent with predetermined information, where the creator information is creation application information of the WIFI hotspot, and the predetermined information is a predetermined application;
and the second judgment unit is used for judging the first password to be the invalid password if the first password is inconsistent with the second password.
10. A WIFI hotspot connecting device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of:
Whether a target user is connected with a WIFI hotspot is obtained, wherein the target user uses a first password issued by a server to carry out WIFI connection;
when the target user is not connected with a WIFI hotspot, creator information of the WIFI hotspot is obtained, whether the creator information is consistent with preset information or not is judged, the creator information is creation application information of the WIFI hotspot, and the preset information is preset application;
if not, the first password is judged to be a failure password.
11. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of: whether a target user is connected with a WIFI hotspot is obtained, wherein the target user uses a first password issued by a server to carry out WIFI connection;
when the target user is not connected with a WIFI hotspot, creator information of the WIFI hotspot is obtained, whether the creator information is consistent with preset information or not is judged, the creator information is creation application information of the WIFI hotspot, and the preset information is preset application;
if not, the first password is judged to be a failure password.
CN201810878069.2A 2018-08-03 2018-08-03 WIFI hotspot connection method and device Active CN109041058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810878069.2A CN109041058B (en) 2018-08-03 2018-08-03 WIFI hotspot connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810878069.2A CN109041058B (en) 2018-08-03 2018-08-03 WIFI hotspot connection method and device

Publications (2)

Publication Number Publication Date
CN109041058A CN109041058A (en) 2018-12-18
CN109041058B true CN109041058B (en) 2022-06-10

Family

ID=64649323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810878069.2A Active CN109041058B (en) 2018-08-03 2018-08-03 WIFI hotspot connection method and device

Country Status (1)

Country Link
CN (1) CN109041058B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363893B (en) * 2020-10-14 2023-11-17 连尚(新昌)网络科技有限公司 Method and equipment for determining hotspot sharing password failure

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716793A (en) * 2013-12-20 2014-04-09 小米科技有限责任公司 Access point information sharing method and device
JP2014175989A (en) * 2013-03-12 2014-09-22 Nec Access Technica Ltd Wireless access point device, control method therefor, radio communication system and program
CN105554752A (en) * 2015-11-27 2016-05-04 东莞酷派软件技术有限公司 Hotspot sharing method and related equipment
CN106102059A (en) * 2016-06-01 2016-11-09 上海连尚网络科技有限公司 For determining the possessory method and apparatus of hotspot
CN106130977A (en) * 2016-06-27 2016-11-16 上海斐讯数据通信技术有限公司 The connection control method of a kind of wireless router and wireless router
CN106255104A (en) * 2016-07-29 2016-12-21 海尔优家智能科技(北京)有限公司 A kind of smart machine Auto-reconnect method and apparatus
CN107548090A (en) * 2016-06-29 2018-01-05 上海连尚网络科技有限公司 For the method and apparatus for the owner for determining hotspot group
WO2018010256A1 (en) * 2016-07-15 2018-01-18 中兴通讯股份有限公司 Method and device for wi-fi sharing
CN107708176A (en) * 2017-11-27 2018-02-16 广东欧珀移动通信有限公司 A network connection method, network connection device and mobile terminal
CN107786998A (en) * 2017-08-31 2018-03-09 上海连尚网络科技有限公司 A kind of processing method of network connection, device, equipment and computer-readable storage medium
CN108303954A (en) * 2017-10-31 2018-07-20 深圳市盛阳科技股份有限公司 A kind of method and device of control hotel guest room electric appliance

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3695538B2 (en) * 2003-06-04 2005-09-14 日本電気株式会社 Network service connection method / program / recording medium / system, access point, wireless user terminal
US9173103B2 (en) * 2014-01-30 2015-10-27 International Business Machines Corporation Signal security for wireless access point
US9338651B2 (en) * 2014-05-09 2016-05-10 Verizon Patent And Licensing Inc. Proactive assistance in obtaining a wireless network connection
CN105246075B (en) * 2014-07-09 2017-09-12 腾讯科技(深圳)有限公司 access point connection method and device
CN104618873B (en) * 2015-01-15 2018-11-30 腾讯科技(深圳)有限公司 Access-in point information sharing method and device
JP6589449B2 (en) * 2015-08-07 2019-10-16 セイコーエプソン株式会社 Wireless communication apparatus, wireless communication system, wireless communication method, and program
US10313351B2 (en) * 2016-02-22 2019-06-04 At&T Intellectual Property I, L.P. Dynamic passcodes in association with a wireless access point
CN107529161A (en) * 2016-06-21 2017-12-29 上海云视科技股份有限公司 A kind of method, Wi-Fi hotspot and WiFi terminal for accessing Wi-Fi hotspot

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014175989A (en) * 2013-03-12 2014-09-22 Nec Access Technica Ltd Wireless access point device, control method therefor, radio communication system and program
CN103716793A (en) * 2013-12-20 2014-04-09 小米科技有限责任公司 Access point information sharing method and device
CN105554752A (en) * 2015-11-27 2016-05-04 东莞酷派软件技术有限公司 Hotspot sharing method and related equipment
CN106102059A (en) * 2016-06-01 2016-11-09 上海连尚网络科技有限公司 For determining the possessory method and apparatus of hotspot
CN106130977A (en) * 2016-06-27 2016-11-16 上海斐讯数据通信技术有限公司 The connection control method of a kind of wireless router and wireless router
CN107548090A (en) * 2016-06-29 2018-01-05 上海连尚网络科技有限公司 For the method and apparatus for the owner for determining hotspot group
WO2018010256A1 (en) * 2016-07-15 2018-01-18 中兴通讯股份有限公司 Method and device for wi-fi sharing
CN107635229A (en) * 2016-07-15 2018-01-26 中兴通讯股份有限公司 A method and device for WIFI sharing
CN106255104A (en) * 2016-07-29 2016-12-21 海尔优家智能科技(北京)有限公司 A kind of smart machine Auto-reconnect method and apparatus
CN107786998A (en) * 2017-08-31 2018-03-09 上海连尚网络科技有限公司 A kind of processing method of network connection, device, equipment and computer-readable storage medium
CN108303954A (en) * 2017-10-31 2018-07-20 深圳市盛阳科技股份有限公司 A kind of method and device of control hotel guest room electric appliance
CN107708176A (en) * 2017-11-27 2018-02-16 广东欧珀移动通信有限公司 A network connection method, network connection device and mobile terminal

Also Published As

Publication number Publication date
CN109041058A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109766082B (en) Method and device for application program page jump
CN103619058B (en) The method for regulating emission power and device of wireless routing device
US20150378714A1 (en) Providing Context-Specific Software Updates to Client Applications
CN105630585A (en) Periodic task processing method and apparatus
CN110995539A (en) Business system monitoring method and device and computer equipment
CN105429813A (en) Docker monitoring method and client
CN112306567B (en) Cluster management system and container management and control method
CN107920103A (en) A kind of method and system and client and server of information push
CN105978966A (en) Data transmission method and device of mobile terminal
CN109041058B (en) WIFI hotspot connection method and device
CN110569038B (en) Random verification parameter design method, device, computer equipment and storage medium
CN112632165A (en) Page form export EXCEL method and device, computer equipment and storage medium
CN111338628A (en) Component rendering method and device
CN110968367A (en) E-commerce commodity field configuration method, device, server and storage medium
US10520929B2 (en) Techniques for implementing universal commands in a welding or cutting system
US10521841B2 (en) Method and apparatus for integrating an e-commerce provider with third-party vendors
CN113886590A (en) Data summarizing method and device, computer equipment and storage medium
CN109445973A (en) Position the method and device of application crash
CN109597819B (en) Method and apparatus for updating a database
CN111666557A (en) Apparatus and method for software enabled access to protected hardware resources
CN113744008A (en) Resource bit delivery method and device, electronic equipment and storage medium
CN111126004A (en) Product serial code generation method, apparatus, device and computer-readable storage medium
CN105512332A (en) Method for linking and adjusting data between databases, device and system
CN112118567A (en) Device upgrading method, electronic device and medium
CN103761247B (en) A kind of processing method and processing device of error file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant