CN106973423A - WiFi automatic connection methods and device - Google Patents
WiFi automatic connection methods and device Download PDFInfo
- Publication number
- CN106973423A CN106973423A CN201710214855.8A CN201710214855A CN106973423A CN 106973423 A CN106973423 A CN 106973423A CN 201710214855 A CN201710214855 A CN 201710214855A CN 106973423 A CN106973423 A CN 106973423A
- Authority
- CN
- China
- Prior art keywords
- wifi
- wireless router
- signal
- information
- access information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Abstract
The present invention relates to a kind of WiFi automatic connection methods and device, terminal initiates connection WiFi request, according to the wireless router that can be connected around connection WiFi request detection.The WiFi signal that the wireless router that receiving to connect is launched, WiFi signal includes handshaking information and access information, and therefrom obtains handshaking information.When filtering out terminal from the wireless router that can be connected according to handshaking information and presetting the wireless router for needing to connect, then access information is obtained in the WiFi signal launched from the wireless router filtered out, WiFi connections are set up according to access information.Terminal all need not be participated in artificially from Target Wireless router is chosen to corresponding access information, whole process is got, so drastically increasing the automaticity of screening Target Wireless router, improve efficiency.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of WiFi automatic connection methods and device.
Background technology
WiFi (WirelessFidelity, Wireless Fidelity) technology is that one kind can be by PC, handheld device (as slapped
Upper computer, mobile phone) etc. the short range wireless transmission technology that wirelessly interconnects of terminal.With intelligent terminal technology and
The development of WiFi technology, WiFi is applied in office space and family more and more widely.Intelligent terminal only has access without circuit
WiFi could be used by device, and general wireless router is all provided with username and password and is used to test access terminal progress identity
Card, access is just permitted when being verified.So terminal is when carrying out WiFi connections, first automatically retrieval to neighbouring WiFi, so
After need to manually select one of WiFi and input password, automaticity is very low.If many terminals need access
During WiFi, manually select and input process is very troublesome and time-consuming.
The content of the invention
Based on this, it is necessary to can realize the quick WiFi for setting up WiFi connections there is provided a kind of for above-mentioned technical problem
Automatic connection method and device.
A kind of WiFi automatic connection methods, methods described includes:
Initiate connection WiFi request;
According to the wireless router that can be connected around the request detection of the connection WiFi, receiving described can connect
The WiFi signal that wireless router is launched, the WiFi signal includes handshaking information and access information, and therefrom acquisition is shaken hands
Information;
Needs are preset when filtering out terminal from the wireless router that can be connected according to the handshaking information
Access letter is obtained during the wireless router of connection, then in the WiFi signal launched from the wireless router filtered out
Breath;
WiFi connections are set up according to the access information.
A kind of WiFi Automatic Link Establishments, described device includes:
Initiation module is asked, the request for initiating connection WiFi;
Handshaking information acquisition module, for the wireless routing that can be connected around the request detection according to the connection WiFi
Device, receives the WiFi signal that the wireless router that can be connected is launched, the WiFi signal is comprising handshaking information and connects
Enter information, and therefrom obtain handshaking information;
Access information acquisition module, for being sieved when according to the handshaking information from the wireless router that can be connected
Select terminal preset need connect wireless router when, then launched from the wireless router filtered out
Access information is obtained in WiFi signal;
WiFi connection establishment modules, for setting up WiFi connections according to the access information.
Above-mentioned WiFi automatic connection methods and device, wireless router initiate connection to WiFi signal, terminal is around launched
WiFi request, the wireless router that terminal can be connected around the request detection according to connection WiFi, receives what can be connected
The WiFi signal that wireless router is launched, WiFi signal includes handshaking information and access information, and therefrom obtains handshaking information.
Terminal is filtered out from the wireless router that can be connected and is preset according to handshaking information needs the wireless router of connection, then
Obtain access information in the WiFi signal launched from the wireless router filtered out, and according to access information and filter out
Wireless router sets up WiFi connections.
Handshaking information and access information are contained in the WiFi signal of wireless router transmitting, and because terminal can basis
Handshaking information, terminal is filtered out from the wireless router that can be connected and presets the wireless router i.e. target for needing to connect
Wireless router.Terminal obtains access information from the WiFi signal of the Target Wireless router again, directly according to access information
Set up and be connected with the wireless router filtered out.Terminal from Target Wireless router is chosen to getting corresponding access information,
Whole process all need not be participated in artificially, so drastically increasing the automaticity of screening Target Wireless router, be improved
Efficiency.So as to be achieved that terminal needs the Target Wireless router being connected to set up WiFi connections automatically with presetting.No
Need to manually select each terminal successively SSID (Service Set Identifier, service set) and to input WiFi close
Code, so can realize that many terminals are quick and automation access Target Wireless router corresponding to WiFi wireless networks.
Brief description of the drawings
Fig. 1 is the applied environment figure of WiFi automatic connection methods in one embodiment;
Fig. 2 is the flow chart of WiFi automatic connection methods in one embodiment;
Fig. 3 is the flow chart of WiFi automatic connection methods in one embodiment;
Fig. 4 is the flow chart of WiFi automatic connection methods in one embodiment;
Fig. 5 is the structural representation of WiFi Automatic Link Establishments in one embodiment;
Fig. 6 is the structural representation of handshaking information acquisition module in Fig. 5;
Fig. 7 is the structural representation of access information acquisition module in Fig. 5.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, below in conjunction with the accompanying drawings to the present invention
Embodiment be described in detail.Many details are elaborated in the following description to fully understand this hair
It is bright.But the invention can be embodied in many other ways as described herein, those skilled in the art can be not
Similar improvement is done in the case of running counter to intension of the present invention, therefore the present invention is not limited to the specific embodiments disclosed below.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Each technical characteristic of above example can carry out arbitrary group
Close, to make description succinct, combination not all possible to each technical characteristic in above-described embodiment is all described, however,
As long as contradiction is not present in the combination of these technical characteristics, the scope of this specification record is all considered to be.
WiFi automatic connection methods provided in an embodiment of the present invention can be applied in environment as shown in Figure 1.With reference to Fig. 1 institutes
Show, wireless router 102 accesses internet by netting twine, and wire signal is switched into wireless WiFi signal and launched, support
The terminal 104 of WiFi function is wirelessly connected with wireless router 102, it is achieved thereby that terminal 104 can be accessed mutually
Networking is surfed the Net or communicated.Terminal 104 can support the intelligent terminal of WiFi function, such as mobile phone, computer and POS
Deng.The outside transmitting WiFi signal of wireless router 102 includes handshaking information and access information.
In one embodiment, as shown in Figure 2 there is provided a kind of WiFi automatic connection methods, in this way applied to Fig. 1
In terminal exemplified by illustrate, including:
Step 210, connection WiFi request is initiated.
When there is many terminals to need access WiFi, terminal initiates connection WiFi request.Specially user clicks on
The button or program of WiFi connections trigger the order of WiFi connections, are also not necessarily limited to certainly with upper type.Terminal probably every
100MS is issued by Probe Request (probe requests thereby) frame, for carrying out WiFi connections.
Step 220, according to the wireless router that can be connected around connection WiFi request detection, receive what can be connected
The WiFi signal that wireless router is launched, WiFi signal includes handshaking information and access information, and therefrom obtains handshaking information.
After WiFi connecting valves on opening a terminal, terminal begins to the WiFi that can be connected around detection.Wirelessly
Router outwards launches WiFi signal, the intensity for the WiFi signal that terminal detection surrounding wireless router is launched, when WiFi letters
Number intensity exceed setting signal threshold value, then judge that the wireless router for launching WiFi signal can be connected.
SSID information and other information are generally comprised in the common WiFi signal that wireless router is sent, but does not include connecing
Enter encrypted message.SSID is the name of the WiFi signal of wireless router transmitting, and terminal recognizes different according to SSID
The WiFi signal that wireless router is launched.It is different from the WiFi signal that other common wireless routers are sent, the present embodiment
In WiFi signal include handshaking information and access information, handshaking information and access information are all by encryption and are one
One is corresponding.Wherein handshaking information includes SSID (the Service Set Identifier, services set of corresponding wireless router
Mark), for judging whether the SSID and the SSID of the wireless router that setting needs are connected in terminal match, wherein access letter
Breath is directly exactly access pin, and the corresponding wireless router of the handshaking information is connected available for terminal.
Terminal receives the WiFi signal that the wireless router that can be connected is launched, i.e., receive handshaking information and access simultaneously
First each handshaking information of reception is decrypted for information, terminal, the handshaking information after being decrypted, the handshaking information after decryption
Include the SSID of corresponding wireless router.May now there are multiple wireless routers that can be connected, so needing to be sieved
Choosing.Certainly, terminal can also receive wireless aps (Wireless Access Point, access points) outwards transmitting WiFi letters
Number.
Step 230, needs are preset when filtering out terminal from the wireless router that can be connected according to handshaking information
During the wireless router of connection, then access information is obtained in the WiFi signal launched from the wireless router filtered out.
According to the handshaking information after decryption, setting in the SSID and terminal in each handshaking information is needed into the wireless of connection
The SSID of router is matched, if matching, is screened according to the handshaking information of matching from the wireless router that can be connected
Go out Target Wireless router SSID.Target Wireless router is the wireless router of setting needs connection in terminal.Terminal from
The access information corresponding to Target Wireless router is obtained in the access information received, to corresponding to Target Wireless router
Access information is decrypted, and obtains the access information after decryption.
Step 240, WiFi connections are set up according to access information.
Access information corresponding to Target Wireless router after decryption is input to WiFi linkage interfaces by terminal, according to
Access information sets up WiFi connections.
In the present embodiment, handshaking information and access information are contained in the WiFi signal of wireless router transmitting, and because
Terminal can filter out terminal and preset the target for needing to connect according to handshaking information from the wireless router that can be connected
Wireless router.Terminal obtains access information from the WiFi signal of the Target Wireless router again, directly according to access information
WiFi is set up with the wireless router filtered out to be connected.Terminal is believed from selection Target Wireless router to corresponding access is got
Breath, whole process all need not be participated in artificially, so drastically increasing the automaticity of screening Target Wireless router, be carried
High efficiency.So as to be achieved that terminal needs the Target Wireless router being connected to set up WiFi connections automatically with presetting.
SSID need not be manually selected successively to each terminal and input WiFi passwords, and then can realize that many terminals are quick and automate
Access the WiFi wireless networks corresponding to Target Wireless router.
In one embodiment, as shown in figure 3, according to the wireless routing that can be connected around connection WiFi request detection
Device, the WiFi signal that the wireless router that receiving to connect is launched, WiFi signal includes handshaking information and access information, and
Handshaking information is therefrom obtained, including:
Step 222, the intensity for the WiFi signal launched according to wireless router around connection WiFi request detection, when
The intensity of WiFi signal exceedes the nothing that setting signal threshold value then judges to launch the wireless router of WiFi signal to connect
Line router.
After WiFi connecting valves on opening a terminal, terminal begins to the WiFi that can be connected around detection.Wirelessly
Router outwards launches WiFi signal, the intensity for the WiFi signal that terminal detection surrounding wireless router is launched, when WiFi letters
Number intensity exceed setting signal threshold value, then judge that the wireless router for launching WiFi signal can be connected.Specifically,
When the intensity of WiFi signal is more than -90dbm, being judged as the corresponding wireless router of the WiFi signal can connect, at it
In his embodiment, the intensity of WiFi signal can also be more than other customized numerical value.Certainly, terminal can also be received wirelessly
AP (Wireless Access Point, access points) outwards launches WiFi signal.
Step 224, the WiFi signal that the wireless router that receiving to connect is launched, WiFi signal includes the first signal
Bag and secondary signal bag.
May now there are multiple wireless routers that can be connected, terminal receives all wireless router institutes that can be connected
The WiFi signal of transmitting, each WiFi signal includes the first signal bag and secondary signal bag.First signal bag and secondary signal
Included in the information of Bao Douwei encryptions, the first signal bag in handshaking information, handshaking information comprising the wireless router that can be connected
SSID.Access information is included in secondary signal bag, access information is access pin.
Step 226, the first signal bag is read from WiFi signal, the first signal bag is decrypted, handshaking information is obtained.
Each WiFi signal includes the first signal bag and secondary signal bag, first read that each WiFi signal includes the
One signal bag, the first signal bag is decrypted.Handshaking information is contained in first signal bag, i.e., handshaking information is solved
It is close.The information included in first signal bag and secondary signal bag be all by encryption, cipher mode with it is built-in in terminal
Manner of decryption be corresponding.
The mode of encryption can take symmetric cryptography mode, and the inverse process of the process is decryption.I.e. using single key password system
The encryption method of system, same key can be used as the encryption and decryption of information simultaneously, and this encryption method is referred to as symmetric cryptography,
Also referred to as secret key cryptography.Specific algorithm have DES (Data Encryption Standard, data encryption standards), 3DES,
TDEA (International Data Encryption Algorithm, IDEA) etc..
Can also by the way of asymmetric encryption, the inverse process of the process is decryption.Rivest, shamir, adelman needs two
Individual key is encrypted and decrypted, and the two keys are public-key cryptography (public key, abbreviation public key) and private cipher key
(private key, abbreviation private key).Specific algorithm has knapsack algorithm, D-H (DHDiffie-Hellman, D-H algorithm), ECC
(Elliptic Curves Cryptography, elliptic curve encryption algorithm) etc..
Hash Hash (digest algorithm) can also be used, the inverse process of the process is decryption.It is exactly the defeated of random length
Enter, the output of regular length is transformed into by hashing algorithm, the output is exactly hashed value.This conversion is a kind of compression mapping,
The space of namely hashed value is generally much less than the space of input, and different inputs may hash to identical output, so
Uniquely input value can not possibly be determined from hashed value.It is exactly briefly a kind of message compression by random length to a certain solid
The function of the eap-message digest of measured length.Specific algorithm has MD5, and (Message-Digest Algorithm 5, information-summary is calculated
Method), MD4, SHA-1 (Secure Hash Algorithm, translations SHA) etc..
In the present embodiment, terminal is by detecting the intensity of the WiFi signal that the wireless router of surrounding is launched, first
The intensity for selecting launched WiFi signal exceedes the wireless router of setting signal threshold value, and these wireless routers are to connect
Connect.WiFi signal includes the first signal bag and secondary signal bag, passes through encryption and handshaking information is included in first
In signal bag, the terminal of not built-in manner of decryption is that the WiFi signal that received can not be decrypted in advance, i.e., impossible
It is attached with the wireless router corresponding to the WiFi signal of these encryptions, eliminates unrelated terminal.And WiFi signal
Handshaking information and access information are contained, is easy to be connected automatically after subsequent decryption.
In one embodiment, filtered out as shown in figure 4, working as according to handshaking information from the wireless router that can be connected
When terminal presets the wireless router for needing to connect, then in the WiFi signal launched from the wireless router filtered out
Access information is obtained, including:
Step 232, handshaking information is matched with the WiFi information prestored in the terminal, the match is successful then obtains
The corresponding wireless router of handshaking information, the corresponding wireless router of handshaking information is that the terminal filtered out presets needs
The wireless router of connection.
Handshaking information after decryption includes the WiFi packets prestored in the SSID of wireless router, terminal and contains terminal
Preset the wireless router i.e. SSID of Target Wireless router for needing to connect.So terminal is wireless by what is obtained after decryption
The SSID of the Target Wireless router prestored in the SSID and terminal of router carries out traversal contrast, such as finds matching, then
Obtain the corresponding wireless router of handshaking information of matching, as Target Wireless router.
Step 234, secondary signal bag is read in the WiFi signal launched from the wireless router filtered out, to second
Signal bag is decrypted, and obtains access information, and access information is access pin.
Terminal is by the Target Wireless router prestored in the SSID and terminal of the wireless router obtained after decryption
After SSID matchings, terminal can read secondary signal bag from the WiFi signal that Target Wireless router is launched, and right
Secondary signal bag is decrypted, and directly obtains access information, and access information is access pin.For corresponding to unmatched SSID
Wireless router, then terminal can not read secondary signal bag, secondary signal bag can not be decrypted.In secondary signal bag
Comprising information be all that by encryption, cipher mode is corresponding, i.e. terminal energy with manner of decryption built-in in terminal
The enough information to being included in the secondary signal bag of reception is decrypted.Manner of decryption can also take symmetric cryptography mode, non-right
Claim any one of mode and hash algorithm of encryption.
In the present embodiment, terminal includes the SSID of wireless router by the handshaking information after decryption, and in terminal
The SSID of built-in Target Wireless router is matched, and such as finds the corresponding nothing of handshaking information of the consistent matching for obtaining matching
Line router, as Target Wireless router.Second is read in the WiFi signal that terminal is launched from Target Wireless router
Signal bag, secondary signal bag is decrypted, and directly obtains access information, and access information is access pin.For unmatched
Wireless router corresponding to SSID, then terminal can not read secondary signal bag, secondary signal bag can not be decrypted.It is logical
Secondary signal bag could be read by crossing the WiFi signal of SSID matchings, and secondary signal bag is decrypted, and so ensure that end
End is connectable to the wireless router for presetting and needing to connect.The wireless router of connection is needed getting to preset
Afterwards, WiFi access pins are got in the corresponding WiFi signal of the wireless router directly received from terminal, are thus kept away
The trouble of WiFi passwords is exempted to be manually entered.It is achieved thereby that terminal, which is automatically connected to terminal, presets the wireless of needs connection
Router.
Terminal all need not artificially join from Target Wireless router is chosen to corresponding access pin, whole process is got
With so drastically increasing the automaticity of screening Target Wireless router, improving efficiency.Need not be to each terminal
SSID is manually selected successively and WiFi passwords are inputted, and many terminals can be achieved fast and automation accesses Target Wireless router institute
Corresponding WiFi wireless networks.
In one embodiment, the manner of decryption that the first signal bag is decrypted and secondary signal bag is decrypted
Manner of decryption is any one of symmetric cryptography, asymmetric encryption and hash algorithm.
Each WiFi signal is included to be included in the first signal bag and secondary signal bag, the first signal bag and secondary signal bag
Information be all that by encryption, cipher mode is corresponding with manner of decryption built-in in terminal, i.e., terminal can be right
The information included in the first signal bag and secondary signal bag that receive is decrypted.Terminal first reads each WiFi signal and included
The first signal bag, the first signal bag is decrypted, handshaking information is contained in the first signal bag, i.e., to handshaking information carry out
Decryption.The mode that terminal-pair handshaking information is decrypted can be any in symmetric cryptography, asymmetric encryption and hash algorithm
It is a kind of.
Terminal-pair secondary signal bag is decrypted, and directly obtains access information, and access information is access pin.Terminal-pair is held
The mode that hand information is decrypted also is any one of symmetric cryptography, asymmetric encryption and hash algorithm.
In the present embodiment, to the handshaking information included in the first signal bag and secondary signal bag of WiFi signal and access
Information all passes through encryption, and the corresponding manner of decryption of built-in encryption mode in the terminal for needing to connect, so on the one hand
Unrelated terminal can be excluded, another aspect terminal can filter out terminal by the handshaking information after decryption and preset needs
The wireless router of connection is Target Wireless router, and then the access information of the Target Wireless router is decrypted directly
Obtain access pin.It is achieved thereby that terminal is from Target Wireless router is chosen to getting corresponding access pin, whole mistake
Journey all need not be participated in artificially, it is not necessary to manually selected SSID successively to each terminal and inputted WiFi passwords, so greatly
The automaticity of screening Target Wireless router is improved, efficiency is improved.
In one embodiment, WiFi connections are set up according to access information, including:Access information is input to WiFi connections
Interface, WiFi connections are set up according to access information.
In the present embodiment, in WiFi linkage interfaces, the access pin that terminal is got after being decrypted to secondary signal bag
Automatically enter to the corresponding Password Input areas of SSID of Target Wireless router.It is achieved thereby that terminal needs to connect with presetting
The Target Wireless router connect sets up WiFi connections automatically.
In one embodiment, as shown in figure 5, additionally providing a kind of WiFi Automatic Link Establishments 500, the device includes:
Ask initiation module 510, handshaking information acquisition module 520, access information acquisition module 530 and WiFi connection establishment modules 540.
Initiation module 510 is asked, the request for initiating connection WiFi.
Handshaking information acquisition module 520, for the wireless routing that can be connected around the request detection according to connection WiFi
Device, the WiFi signal that the wireless router that receiving to connect is launched, WiFi signal includes handshaking information and access information, and
Therefrom obtain handshaking information.
Access information acquisition module 530, is filtered out for working as according to handshaking information from the wireless router that can be connected
When terminal presets the wireless router for needing to connect, then in the WiFi signal launched from the wireless router filtered out
Obtain access information.
WiFi connection establishment modules 540, for setting up WiFi connections according to access information.
In one embodiment, as shown in fig. 6, handshaking information acquisition module 520 includes:Wireless router judgement can be connected
Module 521, the deciphering module 523 of WiFi signal receiving module 522 and first.
Wireless router judge module 521 can be connected, for wireless router around the request detection according to connection WiFi
The intensity for the WiFi signal launched, when the intensity of WiFi signal then judges to launch WiFi signal more than setting signal threshold value
Wireless router is the wireless router that can be connected;
WiFi signal receiving module 522, for receiving the WiFi signal that the wireless router that can be connected is launched, WiFi
Signal includes the first signal bag and secondary signal bag;
First deciphering module 523, for reading the first signal bag from WiFi signal, the first signal bag is decrypted,
Obtain handshaking information.
In one embodiment, as shown in fig. 7, access information acquisition module 530 includes:Matching module 531 and second is solved
Close module 532.
Matching module 531, for handshaking information to be matched with the WiFi information prestored in the terminal, is matched into
Work(then obtains the corresponding wireless router of handshaking information, and the corresponding wireless router of handshaking information is that the terminal filtered out is advance
Setting needs the wireless router connected;
Second deciphering module 532, for reading second in the WiFi signal launched from the wireless router filtered out
Signal bag, secondary signal bag is decrypted, and obtains access information, and access information is access pin.
In one embodiment, the manner of decryption that the first signal bag is decrypted and secondary signal bag is decrypted
Manner of decryption is any one of symmetric cryptography, asymmetric encryption and hash algorithm.
In one embodiment, WiFi connection establishment modules 540 are used to access information being input to WiFi linkage interfaces, root
WiFi connections are set up according to access information.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of WiFi automatic connection methods, methods described includes:
Initiate connection WiFi request;
According to the wireless router that can be connected around the request detection of the connection WiFi, receive it is described can connect it is wireless
The WiFi signal that router is launched, the WiFi signal includes handshaking information and access information, and therefrom obtains handshaking information;
Connection is needed when filtering out terminal from the wireless router that can be connected according to the handshaking information and presetting
Wireless router when, then obtain access information in the WiFi signal launched from the wireless router filtered out;
WiFi connections are set up according to the access information.
2. according to the method described in claim 1, it is characterised in that can around the request detection according to the connection WiFi
With the wireless router of connection, the WiFi signal that the wireless router that can be connected is launched, the WiFi signal are received
Comprising handshaking information and access information, and handshaking information is therefrom obtained, including:
The intensity for the WiFi signal launched according to wireless router around the request detection of the connection WiFi, as the WiFi
The intensity of signal exceedes the nothing that setting signal threshold value then judges to launch the wireless router of the WiFi signal to connect
Line router;
Receive the WiFi signal that the wireless router that can be connected is launched, the WiFi signal comprising the first signal bag and
Secondary signal bag;
The first signal bag is read from the WiFi signal, the first signal bag is decrypted, handshaking information is obtained.
3. method according to claim 2, it is characterised in that described can be connected from described according to the handshaking information
Wireless router in filter out terminal preset need connect wireless router when, then from it is described filter out without circuit
Access information is obtained in the WiFi signal launched by device, including:
The handshaking information is matched with the WiFi information prestored in the terminal, the match is successful then obtain described in shake hands
The corresponding wireless router of information, the corresponding wireless router of the handshaking information is that the terminal filtered out is preset
Need the wireless router of connection;
The secondary signal bag is read in the WiFi signal launched from the wireless router filtered out, to described second
Signal bag is decrypted, and obtains access information, and the access information is access pin.
4. method according to claim 3, it is characterised in that manner of decryption that the first signal bag is decrypted and
The manner of decryption that the secondary signal bag is decrypted is any one in symmetric cryptography, asymmetric encryption and hash algorithm
Kind.
5. according to the method described in claim 1, it is characterised in that described that WiFi connections are set up according to the access information, wrap
Include:
The access information is input to WiFi linkage interfaces;
WiFi connections are set up according to the access information.
6. a kind of WiFi Automatic Link Establishments, it is characterised in that described device includes:
Initiation module is asked, the request for initiating connection WiFi;
Handshaking information acquisition module, for the wireless router that can be connected around the request detection according to the connection WiFi,
The WiFi signal that the wireless router that can be connected is launched is received, the WiFi signal is believed comprising handshaking information and access
Breath, and therefrom obtain handshaking information;
Access information acquisition module, is filtered out for working as according to the handshaking information from the wireless router that can be connected
When terminal presets the wireless router for needing to connect, then the WiFi letters launched from the wireless router filtered out
Access information is obtained in number;
WiFi connection establishment modules, for setting up WiFi connections according to the access information.
7. device according to claim 6, it is characterised in that the handshaking information acquisition module includes:
Wireless router judge module can be connected, is sent out for wireless router around the request detection according to the connection WiFi
The intensity for the WiFi signal penetrated, when the intensity of the WiFi signal then judges to launch the WiFi letters more than setting signal threshold value
Number wireless router be the wireless router that can connect;
WiFi signal receiving module, it is described for receiving the WiFi signal that the wireless router that can be connected is launched
WiFi signal includes the first signal bag and secondary signal bag;
First deciphering module, for reading the first signal bag from the WiFi signal, is carried out to the first signal bag
Decryption, obtains handshaking information.
8. device according to claim 7, it is characterised in that the access information acquisition module includes:
Matching module, for the handshaking information to be matched with the WiFi information prestored in the terminal, the match is successful
Then obtain the corresponding wireless router of the handshaking information, the corresponding wireless router of the handshaking information is the institute filtered out
State terminal and preset the wireless router for needing to connect;
Second deciphering module, for reading described second in the WiFi signal launched from the wireless router filtered out
Signal bag, the secondary signal bag is decrypted, and obtains access information, and the access information is access pin.
9. device according to claim 8, it is characterised in that manner of decryption that the first signal bag is decrypted and
The manner of decryption that the secondary signal bag is decrypted is any one in symmetric cryptography, asymmetric encryption and hash algorithm
Kind.
10. device according to claim 6, it is characterised in that the WiFi connection establishment modules are used for the access
Information is input to WiFi linkage interfaces, and WiFi connections are set up according to the access information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710214855.8A CN106973423A (en) | 2017-04-01 | 2017-04-01 | WiFi automatic connection methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710214855.8A CN106973423A (en) | 2017-04-01 | 2017-04-01 | WiFi automatic connection methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106973423A true CN106973423A (en) | 2017-07-21 |
Family
ID=59336516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710214855.8A Pending CN106973423A (en) | 2017-04-01 | 2017-04-01 | WiFi automatic connection methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106973423A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107889208A (en) * | 2017-11-27 | 2018-04-06 | 李春莲 | A kind of wireless router emissive porwer regulates and controls method |
CN109040100A (en) * | 2018-08-24 | 2018-12-18 | 下代互联网重大应用技术(北京)工程研究中心有限公司 | A kind of resource access method and its electronic equipment, system, readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104010352A (en) * | 2014-05-19 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for connecting router with intelligent device |
CN104869612A (en) * | 2015-04-30 | 2015-08-26 | 小米科技有限责任公司 | Method and device for accessing network |
CN105979509A (en) * | 2016-04-19 | 2016-09-28 | 美的集团股份有限公司 | Intelligent equipment detection method, intelligent equipment detection device, WIFI module and automatic connection method thereof |
CN106488532A (en) * | 2016-09-14 | 2017-03-08 | 珠海格力电器股份有限公司 | A kind of automatic distribution method, device and equipment, repeater |
-
2017
- 2017-04-01 CN CN201710214855.8A patent/CN106973423A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104010352A (en) * | 2014-05-19 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for connecting router with intelligent device |
CN104869612A (en) * | 2015-04-30 | 2015-08-26 | 小米科技有限责任公司 | Method and device for accessing network |
CN105979509A (en) * | 2016-04-19 | 2016-09-28 | 美的集团股份有限公司 | Intelligent equipment detection method, intelligent equipment detection device, WIFI module and automatic connection method thereof |
CN106488532A (en) * | 2016-09-14 | 2017-03-08 | 珠海格力电器股份有限公司 | A kind of automatic distribution method, device and equipment, repeater |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107889208A (en) * | 2017-11-27 | 2018-04-06 | 李春莲 | A kind of wireless router emissive porwer regulates and controls method |
CN109040100A (en) * | 2018-08-24 | 2018-12-18 | 下代互联网重大应用技术(北京)工程研究中心有限公司 | A kind of resource access method and its electronic equipment, system, readable medium |
CN109040100B (en) * | 2018-08-24 | 2021-08-17 | 下一代互联网重大应用技术(北京)工程研究中心有限公司 | Resource access method and electronic equipment, system and readable medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6592578B2 (en) | Method and apparatus for self-configuring a base station | |
CN105119939B (en) | The cut-in method and device, providing method and device and system of wireless network | |
JP4000111B2 (en) | Communication apparatus and communication method | |
US20170359344A1 (en) | Network-visitability detection control | |
CN106254147B (en) | It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal | |
CN108391238A (en) | Wireless MESH network matches network method | |
US10419411B2 (en) | Network-visitability detection | |
US10721622B2 (en) | Wireless communication system with multiple security levels | |
CN108632056A (en) | A kind of smart machine network collocating method and system | |
CN103581901A (en) | Method and device for processing Wi-Fi wireless network access configuration information | |
CN111866858A (en) | Registration method and communication device | |
US20160330775A1 (en) | Methods and Devices for Sending or Receiving Wireless Parameter | |
US10986677B2 (en) | Method and apparatus for connecting to access point in WLAN network | |
CN107979864A (en) | Cut-in method, the apparatus and system of access point | |
WO2023279897A1 (en) | Secure binding method and system, storage medium, and electronic apparatus | |
CN106973423A (en) | WiFi automatic connection methods and device | |
Lamers et al. | Securing home Wi-Fi with WPA3 personal | |
CN110312253A (en) | A kind of method for network access, apparatus and system | |
CN105764050B (en) | The method and apparatus that terminal sends data to net external equipment out of WLAN | |
WO2017128919A1 (en) | Mobile terminal and service end connection method and apparatus | |
CN108990052B (en) | Method for detecting WPA2 protocol vulnerability | |
CN108616861A (en) | A kind of air card-writing method and device | |
CN107005410B (en) | Internet protocol security tunnel establishment method, user equipment and base station | |
Chopra et al. | Cracking and hardening hidden SSID mechanism in 802.11 using PYTHON | |
CN117676919A (en) | Connection method, device and equipment of wireless local area network and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170721 |
|
RJ01 | Rejection of invention patent application after publication |