A kind of WIFI quick connecting methods and system
Technical field
The present invention relates to wireless communication field more particularly to a kind of WIFI quick connecting methods and systems.
Background technology
With the fast development of wireless communication technique, current wireless Local Area Network technology is widely used in home network.Due to
The opening of wireless network, any access point do not have encrypted in Wi-Fi, can connect to cable network, to using
Family brings great security risk.And cipher mode is set to wireless network, need user in access point AP manual setting nets
Then network name (SSID) and security key need input security key in the terminal networked that could access the wireless network in installation
Network, this gives the ordinary user for not having wireless professional knowledge to bring a set threshold again, especially more and more household electrics instantly
Device has network savvy, but most of household electrical appliance do not have networking cipher input equipment, needs mobile by mobile phone etc.
Equipment carries out network connection, is not easy to the network connection of household electrical appliance itself, inconvenient and have security breaches.
In order to adapt to business demand, simplify user configuration, the WPS (Wi-FiProtected organized to set up by Wi-Fi Alliance
Setup, Wi-Fi protection setting) standard, it is directed generally to simplify installation and the security performance configuration work of WLAN.WPS
User can be helped to automatically configure network name SSID (Service SetIdentifier, service set), configuration WPA (Wi-Fi
Protected Access, Wi-Fi Protected Access) data encoding and authentication function, user need to only input personal information code
PIN (PersonalIdentification Number, personal identification number) presses WPS buttons (or PBC), can be safe
Ground is connected into WLAN (Wireless Local Area Networks, Wireless LAN), enormously simplifies wireless security setting
Operation.
But standard WPS interconnection techniques are terminals detects frame by broadcast, then returns the determining connection of packet by receiving AP
As long as object, to avoid conflict that from will stopping connecting, can encounter misconnection, connection occur more routers support WPS at this time
The case where failure.Simultaneously if there is disabled user detects that AP provides PBC services, before validated user pushes button, rob
The probe request with PBC information are first sent, then AP will not do any verification operation, is directly registered and is assisted according to WPS
View accesses disabled user in network, and validated user is excluded except network, brings serious security risk.
The patent of Publication No. CN102457850A discloses a kind of access point and wireless stations secure connection access point
Method so that user can be while fast and easily accessing network using WPS, and can guarantee the safety of wireless network.
The method includes:In WPS (Wi-Fi protection settings) connection procedure, after AP opens WPS connections, start timing, in timing
Without WPS connections in time, after timing time arrival, if there are two detecting in the timing time or had
More than two STA open WPS connections, then terminate this WPS connection procedure, although this method can carry to a certain extent
The safety of high wireless network, but this method, which is AP, to be connect when only sending out connection request there are one terminal with terminal, and prison is worked as
Hear that the when of there are multiple terminals to send out connection request gives a warning, however user will also re-operate after alerting, if every time
There is an extra connection request, can not will establish connection forever.
The patent of Publication No. CN107613575A discloses a kind of quick connecting method based on WPS, and wireless device is used
To solve the problem of that connecting router in a manner of existing WPS is likely to encounter misconnection, connection failure.This method includes:S1, sentence
Whether disconnected wireless device selects self-defined WPS, if so, establishing wireless signal scan list;Within the scope of S2, scanning preset channel
Simultaneously the wireless signal scan list is added in the wireless signal by wireless signal;S3, to the wireless signal in the list into
Row condition filter is to obtain connecting object.The present invention is based on the certification of WPS modes and catenation principles, are carried out in probe portion self-defined
Modification, the case where so as to avoid most of misconnection and connection failure.But this method is by signal strength, MAC Address
Equal conditional filterings go out unique AP and are attached, and screening conditions priority can not cover changeable user's scene, still be difficult to
The case where appearance avoided accidentally connects.
Invention content
The purpose of the present invention is in view of the drawbacks of the prior art, provide the WIFI based on fingerprint identification technology quickly to connect
Method and system realize the quick connection of terminal device and target AP by using the function of WPS and the uniqueness of fingerprint, and
And avoid it is above-mentioned it is of the existing technology accidentally connect and safety problem, promote user experience.
In order to achieve the goal above, the present invention uses following technical scheme:
A kind of WIFI quick connecting methods, including step:
S1. receiving terminal apparatus carries the WPS broadcast detectable signal frames of user fingerprints information;
S2. judge whether the user is authorized user according to mandate fingerprint base;If so, jumping to step S3;
S3. it establishes and connects with the terminal device.
Further, the step S2 is specially:
S201. the user fingerprints information in the WPS broadcast detectable signal frame is parsed;
S202. it searches to authorize and whether there is finger print information identical with the user fingerprints information in fingerprint base;If in the presence of,
Then the user is authorized user.
Further, the finger print information for authorizing fingerprint base to store authorized user by way of advance typing.
Further, further include step:
Judge whether the user carries out finger print information record within a preset period of time when the user is unauthorized user
Enter;
It is connected if so, being established with the terminal device after finger print information typing.
Further, further include step after the step S3:
It monitors whether to receive the instruction for deleting the user fingerprints information in the mandate fingerprint base in real time;
If so, disconnecting the connection with the terminal device.
Correspondingly, also providing a kind of WIFI quickly connects system, including:
Receiving module, the WPS that user fingerprints information is carried for receiving terminal apparatus broadcast detectable signal frame;
First judgment module, for judging whether the user is authorized user according to mandate fingerprint base;
First link block is connected for being established with the terminal device when the user is authorized user.
Further, first judgment module includes:
Parsing module, for parsing the user fingerprints information in the WPS broadcast detectable signal frame;
Searching module is believed for searching to authorize in fingerprint base with the presence or absence of fingerprint identical with the user fingerprints information
Breath.
Further, the finger print information for authorizing fingerprint base to store authorized user by way of advance typing.
Further, further include:
Second judgment module, for judging that the user is within a preset period of time when the user is unauthorized user
No progress finger print information typing;
Second link block, carried out within a preset period of time for unauthorized user after finger print information typing with the terminal
Equipment establishes connection.
Further, further include:
Monitoring modular deletes the user fingerprints information for monitoring whether to receive in real time in the mandate fingerprint base
Instruction;
Module is disconnected, for breaking when deleting the instruction of the user fingerprints information in receiving the mandate fingerprint base
Open the connection with the terminal device.
Compared with prior art, the present invention realizes the quick connection of terminal device and target AP by using the function of WPS,
And in conjunction with the uniqueness of fingerprint, terminal device is not coupled to other non-mesh that may be present in environment in linking objective AP
It marks on AP;The illegal terminal equipment on periphery also hardly possible access AP, therefore be not in accidentally to connect situation, securely and reliably.
Description of the drawings
Fig. 1 is a kind of WIFI quick connecting methods flow chart that embodiment one provides;
Fig. 2 is that a kind of WIFI that embodiment one provides quickly connects system construction drawing;
Fig. 3 is a kind of WIFI quick connecting methods flow chart that embodiment two provides;
Fig. 4 is that a kind of WIFI that embodiment two provides quickly connects system construction drawing.
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way
Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in schema then
Draw, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
The technology of the present invention is related to a kind of WIFI quick connecting methods and system based on fingerprint identification technology, with interconnection
The development of network technology, most of home have numerous equipment to need to network, and set up the home network of an all standing, are numerous families
Joint demand, wireless network also increasingly becomes the object that people are favored, the present invention is just since it has larger flexibility
It is the defect for existing wireless connection technology, is realized eventually by using the wireless quick function of WPS and the uniqueness of fingerprint
The quick connection of end equipment and target AP, avoid it is of the existing technology accidentally connect and safety problem, promote user experience.
Embodiment one
The present embodiment provides a kind of WIFI quick connecting methods, as shown in Figure 1, including step:
S11. receiving terminal apparatus carries the WPS broadcast detectable signal frames of user fingerprints information;
S12. judge whether the user is authorized user according to mandate fingerprint base;If so, jumping to step S13;
S13. it establishes and connects with the terminal device.
Optionally, the terminal device can be the smart home device for wirelessly needing to network, such as audio & video equipment, illumination
The smart home devices such as system, curtain control, Digital Theater System, network home appliance, or mobile phone, Intelligent bracelet etc. can be worn
Wear equipment.
It should be noted that the terminal device and target AP in the present embodiment all support WPS functions, it is provided with WPS functions
Button, the terminal device and target AP have fingerprint identification function, are provided with fingerprint identification module.
Optionally, the fingerprint identification module of the terminal device and target AP can be integrated in the terminal device and target
On the WPS function buttons of AP.
Specifically, the WPS functions of being established in connection foregoing description target AP in the terminal device and target AP first must
Must be open state, when the terminal device, which is wanted to establish with target AP, to be connected, user presses in the terminal device and integrates
There is the WPS function buttons request of fingerprint identification module to establish with target AP to connect, because the WPS functions on the terminal device are pressed
Key is integrated with fingerprint identification module, and when user presses WPS function buttons, the fingerprint identification module on WPS function buttons will
It identifies the user fingerprints information, and the user fingerprints information is encrypted, and encrypted user fingerprints information is added
It is downloaded on WPS broadcast detectable signal frames.
At this point, the WPS functions of target AP are also at open state, after the terminal device also opens WPS functions, send out
After the WPS broadcast detectable signal frames for carrying user fingerprints information, target AP receives the terminal device by WPS functions and carries
The WPS of user fingerprints information broadcasts detectable signal frame.
Target AP is received described in the terminal device carries and judge after the WPS broadcast detectable signal frames of user fingerprints information
Whether user is authorized user, is connected with this to determine whether being established with the terminal device.
Optionally, the step S12 is specially:
S1201. the user fingerprints information in the WPS detections frame is parsed;
S1202. it searches to authorize and whether there is finger print information identical with the user fingerprints information in fingerprint base;If depositing
, then the user be authorized user.
Specifically, after target AP receives the WPS broadcast detectable signal frames that the terminal device carries user fingerprints information,
Can parse first WPS broadcast detectable signal frame in user fingerprints information, then by the user fingerprints information with it is described
All authorized user's finger print informations in fingerprint base are authorized to be compared one by one in target AP, if in the mandate fingerprint base
Finger print information identical with the user fingerprints information is found, then the user is authorized user, then target AP and the terminal
Equipment establishes connection.
Optionally, the finger print information for authorizing fingerprint base to store authorized user by way of advance typing.
Target AP can be by the finger print information of the advance typing authorized user of fingerprint identification module, for example, target AP is to be in
Used under the occasion of front yard, then target AP will typing all kinsfolks in advance finger print information, kinsfolk is just to authorize to use
Family can be established when one kinsfolk's using terminal equipment of any of which with target AP and connect, come by using finger print information
Determine whether user is authorized user, and the uniqueness of fingerprint is utilized so that the disabled user on the peripheries target AP is it is not possible that and mesh
It marks AP and establishes connection, meanwhile, authorized user only stores finger print information on target AP so that authorized user will not be connected to ring
There are on other non-targeted AP in border, the case where accidentally connecting is avoided the occurrence of, securely and reliably.
Optionally, further include step:
Judge whether the user carries out finger print information record within a preset period of time when the user is unauthorized user
Enter;
It is connected if so, being established with the terminal device after finger print information typing.
Specifically, when user is unauthorized user, target AP can judge that the user no can carry out in preset time
The typing of finger print information connects if so, directly being established with the terminal device after user fingerprints information typing, when unauthorized
User after target AP carries out finger print information typing, authorizes in fingerprint base within a preset period of time and there is the unauthorized user
Finger print information, then the unauthorized user just becomes authorized user, and target AP can continue to judge in this preset time period
Whether the user is authorized user, and the unauthorized user finger print information typing at this time has been changed to authorized user, therefore
Target AP can be established with the terminal device and be connect.Because possible unauthorized user be family increase newly personnel either family at
Member relatives and friends can allow these users carry out network connection, but also do not come and progress fingerprint typing, at this time this
A little users just cannot connect to target AP, at this time can within a preset period of time on target AP these users of typing fingerprint
Information so that become authorized user, realization is quickly established with target AP to be connect, and network is successfully accessed, without user in terminal
A connection request is being carried out in equipment.
Optionally, the preset time period is 30 seconds.
Correspondingly, the present embodiment, which also provides a kind of WIFI, quickly connects system, as shown in Fig. 2, including:
Receiving module 11, the WPS that user fingerprints information is carried for receiving terminal apparatus broadcast detectable signal frame;
First judgment module 12, for judging whether the user is authorized user according to mandate fingerprint base;
First link block 13 is connected for being established with the terminal device when the user is authorized user.
Specifically, first judgment module includes:
Parsing module, for parsing the user fingerprints information in the WPS broadcast detectable signal frame;
Searching module is believed for searching to authorize in fingerprint base with the presence or absence of fingerprint identical with the user fingerprints information
Breath.
Specifically, the finger print information for authorizing fingerprint base to store authorized user by way of advance typing.
Specifically, further including:
Second judgment module, for judging that the user is within a preset period of time when the user is unauthorized user
No progress finger print information typing;
Second link block, carried out within a preset period of time for unauthorized user after finger print information typing with the terminal
Equipment establishes connection.
The present embodiment realizes the quick connection of terminal device and target AP by using the function of WPS, and combines fingerprint
Uniqueness, terminal device is not coupled in environment in linking objective AP on other non-targeted AP that may be present;Periphery
Illegal terminal equipment also hardly possible access AP, therefore be not in accidentally to connect situation, securely and reliably.
Embodiment two
The present embodiment provides a kind of WIFI quick connecting methods, as described in Figure 3, including step:
S21. receiving terminal apparatus carries the WPS broadcast detectable signal frames of user fingerprints information;
S22. judge whether the user is authorized user according to mandate fingerprint base;If so, jumping to step S23;
S23. it establishes and connects with the terminal device;
S24. it monitors whether to receive the instruction for deleting the user fingerprints information in the mandate fingerprint base in real time;If
It is then to jump to step S25;
S25. the connection with the terminal device is disconnected.
Optionally, the terminal device can be the smart home device for wirelessly needing to network, such as audio & video equipment, illumination
The smart home devices such as system, curtain control, Digital Theater System, network home appliance, or mobile phone, Intelligent bracelet etc. can be worn
Wear equipment.
It should be noted that the terminal device and target AP in the present embodiment all support WPS functions, it is provided with WPS functions
Button, the terminal device and target AP have fingerprint identification function, are provided with fingerprint identification module.
Optionally, the fingerprint identification module of the terminal device and target AP can be integrated in the terminal device and target
On the WPS function buttons of AP.
Specifically, the WPS functions of being established in connection foregoing description target AP in the terminal device and target AP first must
Must be open state, when the terminal device, which is wanted to establish with target AP, to be connected, user presses in the terminal device and integrates
There is the WPS function buttons request of fingerprint identification module to establish with target AP to connect, because the WPS functions on the terminal device are pressed
Key is integrated with fingerprint identification module, and when user presses WPS function buttons, the fingerprint identification module on WPS function buttons will
It identifies the user fingerprints information, and the user fingerprints information is encrypted, and encrypted user fingerprints information is added
It is downloaded on WPS broadcast detectable signal frames.
At this point, the WPS functions of target AP are also at open state, after the terminal device also opens WPS functions, send out
After the WPS broadcast detectable signal frames for carrying user fingerprints information, target AP receives the terminal device by WPS functions and carries
The WPS of user fingerprints information broadcasts detectable signal frame.
Target AP is received described in the terminal device carries and judge after the WPS broadcast detectable signal frames of user fingerprints information
Whether user is authorized user, is connected with this to determine whether being established with the terminal device.
Optionally, the step S22 is specially:
S2201. the user fingerprints information in the WPS detections frame is parsed;
S2202. it searches to authorize and whether there is finger print information identical with the user fingerprints information in fingerprint base;If depositing
, then the user be authorized user.
Specifically, after target AP receives the WPS broadcast detectable signal frames that the terminal device carries user fingerprints information,
Can parse first WPS broadcast detectable signal frame in user fingerprints information, then by the user fingerprints information with it is described
All authorized user's finger print informations in fingerprint base are authorized to be compared one by one in target AP, if in the mandate fingerprint base
Finger print information identical with the user fingerprints information is found, then the user is authorized user, then target AP and the terminal
Equipment establishes connection.
Optionally, the finger print information for authorizing fingerprint base to store authorized user by way of advance typing.
Target AP can be by the finger print information of the advance typing authorized user of fingerprint identification module, for example, target AP is to be in
Used under the occasion of front yard, then target AP will typing all kinsfolks in advance finger print information, kinsfolk is just to authorize to use
Family can be established when one kinsfolk's using terminal equipment of any of which with target AP and connect, come by using finger print information
Determine whether user is authorized user, and the uniqueness of fingerprint is utilized so that the disabled user on the peripheries target AP is it is not possible that and mesh
It marks AP and establishes connection, meanwhile, authorized user only stores finger print information on target AP so that authorized user will not be connected to ring
There are on other non-targeted AP in border, the case where accidentally connecting is avoided the occurrence of, securely and reliably.
Optionally, further include step:
Judge whether the user carries out finger print information record within a preset period of time when the user is unauthorized user
Enter;
It is connected if so, being established with the terminal device after finger print information typing.
Specifically, when user is unauthorized user, target AP can judge that the user no can carry out in preset time
The typing of finger print information connects if so, directly being established with the terminal device after user fingerprints information typing, when unauthorized
User after target AP carries out finger print information typing, authorizes in fingerprint base within a preset period of time and there is the unauthorized user
Finger print information, then the unauthorized user just becomes authorized user, and target AP can continue to judge in this preset time period
Whether the user is authorized user, and the unauthorized user finger print information typing at this time has been changed to authorized user, therefore
Target AP can be established with the terminal device and be connect.Because possible unauthorized user be family increase newly personnel either family at
Member relatives and friends can allow these users carry out network connection, but also do not come and progress fingerprint typing, at this time this
A little users just cannot connect to target AP, at this time can within a preset period of time on target AP these users of typing fingerprint
Information so that become authorized user, realization is quickly established with target AP to be connect, and network is successfully accessed, without user in terminal
A connection request is being carried out in equipment.
Optionally, the preset time period is 30 seconds.
Specifically, after terminal device and target AP establish connection, terminal device may be because position movement or
Other reasons, it is desirable to be connected on other AP, therefore target AP can detect the user fingerprints information authorized in fingerprint base in real time
Whether it is deleted, if detecting that the finger print information of the user is deleted, is disconnected with the terminal device, at this point, eventually
End equipment can be established with other AP and be connected.
Correspondingly, the present embodiment, which also provides a kind of WIFI, quickly connects system, as shown in figure 4, including:
Receiving module 21, the WPS that user fingerprints information is carried for receiving terminal apparatus broadcast detectable signal frame;
First judgment module 22, for judging whether the user is authorized user according to mandate fingerprint base;
First link block 23 is connected for being established with the terminal device when the user is authorized user.
Monitoring modular 24 deletes the user fingerprints information for monitoring whether to receive in real time in the mandate fingerprint base
Instruction;
Module 25 is disconnected, for when deleting the instruction of the user fingerprints information in receiving the mandate fingerprint base
Disconnect the connection with the terminal device.
The present embodiment deletes the user fingerprints information by the way that whether examinations receive in the mandate fingerprint base
Instruction with terminal device to determine whether will disconnect so that when the terminal device of user is wanted to connect other AP, can and
When disconnect with the connection of target AP, promote user experience.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.