CN106888454A - WiFi network connection method and device - Google Patents

WiFi network connection method and device Download PDF

Info

Publication number
CN106888454A
CN106888454A CN201510946694.2A CN201510946694A CN106888454A CN 106888454 A CN106888454 A CN 106888454A CN 201510946694 A CN201510946694 A CN 201510946694A CN 106888454 A CN106888454 A CN 106888454A
Authority
CN
China
Prior art keywords
wifi
access points
terminal device
wifi access
connection request
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
Application number
CN201510946694.2A
Other languages
Chinese (zh)
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
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510946694.2A priority Critical patent/CN106888454A/en
Publication of CN106888454A publication Critical patent/CN106888454A/en
Pending legal-status Critical Current

Links

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/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
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of WiFi network connection method and device, and a kind of WiFi cut-in methods include:Terminal device receives the WiFi connection request messages that WiFi access points send, WiFi connection request messages be WiFi access points detect terminal device be positioned in the range of when send, and including the authentication information of WiFi access points;Terminal device is authenticated according to the authentication information of WiFi access points to WiFi access points, if certification passes through, terminal device allows to access WiFi access points and sent to WiFi access points to receive WiFi connection request messages;Terminal device receives the DHCP configuration informations that WiFi access points send, to access the WiFi network of WiFi access points offer.WiFi network connection method provided in an embodiment of the present invention and device, realize automatically accessing for WiFi, while ensure that terminal device accesses the security of WiFi network.

Description

WiFi network connection method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of WiFi network connection method and device.
Background technology
With the development of radio communication, Wireless Fidelity (Wireless Fidelity, WiFi) network is time In the various occasions of cloth, such as family, company, market etc..Portable terminal (mobile phone, flat board electricity Brain etc.), notebook computer, the equipment such as network machine top box, and various intelligent appliances can be by WiFi Network insertion internet.
Portable terminal is accessed by access points (Access Point, AP) such as wireless routers WiFi network, each AP can provide the access capability of one or more WiFi networks, and AP can be with The WiFi network provided for it set corresponding service set (Service Set Identifier, SSID)., it is necessary to first determine the WiFi for accessing when user accesses WiFi using portable terminal The corresponding SSID of network, after SSID is selected, input the corresponding passwords of the SSID or in the WiFi Flow is authenticated in network, the AP could be accessed, so as to pass through WiFii network insertions internet.
But due to current wireless router, Portable USB wireless router dense distribution, Yong Hu Need access WiFI networks when, be possible to search multiple SSID on the terminal device, wherein each SSID corresponds to a WiFi network.So user needs to know the WiFi network of needs connection SSID, may further will also be appreciated that the corresponding passwords of the SSID and input password or carry out corresponding Certification could access the corresponding Wifi networks of the SSID.So user accesses the operation of WiFi network Step is cumbersome, it is necessary to the long period could be accessed, for the user for being bad to use electronic equipment, Such as old man, then be difficult to use portable terminal and access WiFi network, influences Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of WiFi network connection method and device, for realize WiFi from It is dynamic to access, it is to avoid troublesome operation of the user when WiFi network is accessed, while ensureing that terminal accesses WiFi The security of network.
First aspect provides a kind of WiFi network connection method, including:
Terminal device receives the WiFi connection request messages that WiFi access points send, and WiFi connection requests disappear Cease for WiFi access points detect terminal device be positioned in the range of when send, WiFi connections please Seeking message includes the authentication information of WiFi access points;
Terminal device is authenticated according to the authentication information of WiFi access points to WiFi access points, if certification Pass through, then terminal device allows to access WiFi access points and sent to WiFi access points to receive WiFi connections Request message;
Terminal device receives the DHCP configuration informations that WiFi access points send, to access WiFi access points The WiFi network of offer.
Further, before terminal device receives the WiFi connection request messages that WiFi access points send, Also include:
Terminal device sends user profile to WiFi access points, so as to WiFi access points detect terminal set For in the range of being positioned over.
Further, terminal device receives the WiFi connection request messages that WiFi access points send, including:
The WiFi connection request messages that terminal device periodic receipt WiFi access points send.
Further, WiFi connection request messages, including:
The SSID of the WiFi network that WiFi access points are provided;
Or, WiFi connection request messages, including:
The SSID and password of the WiFi network that WiFi access points are provided.
Further, the authentication information of WiFi access points, including:
The certification key that the mark or WiFi access points of WiFi access points are obtained from certificate server;
Terminal device is authenticated according to the authentication information of WiFi access points to WiFi access points, including:
If mark of the authentication information of WiFi access points for WiFi access points, terminal device is by WiFi The mark of access point is sent to certificate server, so that certificate server is carried out to the mark of WiFi access points Certification, and receive the authentication result of certificate server transmission;
If the authentication information of WiFi access points is the certification key that WiFi access points are obtained from certificate server, Then terminal device is contrasted certification key with the certification key of preservation in terminal device, with to WiFi Access point is authenticated, or terminal device sends to certificate server certification key, so that certification takes Business device is authenticated to certification key, and receives the authentication result of certificate server transmission.
Second aspect provides a kind of WiFi network connection method, including:
WiFi access points send WiFi connection request messages to the terminal device in coverage, and WiFi connects Connect authentication information of the request message including WiFi access points;
What WiFi access points receiving terminal apparatus sent receives WiFi connection request messages, receives WiFi companies It is that terminal device is authenticated according to the authentication information of WiFi access points to WiFi access points to connect request message By rear transmission;
WiFi access points send DHCP configuration informations to terminal device, so that terminal device accesses WiFi The WiFi network that access point is provided.
Further, WiFi access points send WiFi connection requests and disappear to the terminal device in coverage Before breath, also include:
The user profile that WiFi access points receiving terminal apparatus send;
WiFi access points determine that terminal device is accessed positioned at WiFi according to the user profile that terminal device sends In the coverage of point.
Further, WiFi access points send WiFi connection requests and disappear to the terminal device in coverage Before breath, also include:
WiFi access points send the user profile of terminal device to certificate server, so that certificate server pair Terminal device is authenticated;
WiFi access points receive the authentication notification message of the terminal device that certificate server sends;
WiFi access points send WiFi connection request messages to the terminal device in coverage, including:
If the authentication notification message of terminal device is certification success notification message, WiFi access points are to covering In the range of terminal device send WiFi connection request messages.
Further, WiFi access points send WiFi connection requests and disappear to the terminal device in coverage Breath, including:
WiFi access points periodically send WiFi connection request messages to terminal device.
Further, WiFi connection request messages, including:
The SSID of the WiFi network that WiFi access points are provided;
Or, WiFi connection request messages, including:
The SSID and password of the WiFi network that WiFi access points are provided.
Further, the authentication information of WiFi access points, including:
The certification key that the mark or WiFi access points of WiFi access points are obtained from certificate server.
Further, WiFi access points send WiFi connection requests and disappear to the terminal device in coverage Before breath, also include:
WiFi access points send authentication request message to certificate server, and authentication request message includes WiFi The mark of access point, so that certificate server is authenticated to WiFi access points;
WiFi access points receive the certification success notification message that certificate server sends, and certification success notification disappears Breath includes the authentication information of WiFi access points.
The third aspect provides a kind of terminal device, including:
Receiver module, the WiFi connection request messages for receiving the transmission of WiFi access points, WiFi connections Request message be WiFi access points detect terminal device be positioned in the range of when send, WiFi Connection request message includes the authentication information of WiFi access points;
Authentication module, is authenticated for the authentication information according to WiFi access points to WiFi access points;
Sending module, if passing through for authentication module certification, sends to WiFi access points and receives WiFi Connection request message;
Receiver module, is additionally operable to receive the DHCP configuration informations that WiFi access points send, to access WiFi The WiFi network that access point is provided.
Further, sending module, is additionally operable to send user profile to WiFi access points, so that WiFi Access point is detected in the range of terminal device is positioned over.
Further, receiver module, connects specifically for the WiFi that periodic receipt WiFi access points send Connect request message.
Further, WiFi connection request messages, including:
The SSID of the WiFi network that WiFi access points are provided;
Or, WiFi connection request messages, including:
The SSID and password of the WiFi network that WiFi access points are provided.
Further, the authentication information of WiFi access points, including:
The certification key that the mark or WiFi access points of WiFi access points are obtained from certificate server;
Sending module, if being the mark of WiFi access points specifically for the authentication information of WiFi access points, The mark of WiFi access points is then sent to certificate server, so that certificate server is to WiFi access points Mark be authenticated, receiver module, be additionally operable to receive certificate server send authentication result;
Authentication module, if being WiFi access points from certification clothes specifically for the authentication information of WiFi access points The certification key that business device is obtained, then contrasted certification key with the certification key of preservation in terminal device, It is authenticated with to WiFi access points, or sending module sends to certificate server certification key, with Certificate server is set to be authenticated certification key, receiver module is additionally operable to receive certificate server transmission Authentication result.
Fourth aspect provides a kind of WiFi access points, including:
Sending module, for sending WiFi connection request messages, WiFi to the terminal device in coverage Connection request message includes the authentication information of WiFi access points;
Receiver module, WiFi connection request messages are received for what receiving terminal apparatus sent, receive WiFi Connection request message is that terminal device is recognized WiFi access points according to the authentication information of WiFi access points What card sent after passing through;
Sending module, is additionally operable to send DHCP configuration informations to terminal device, so that terminal device is accessed The WiFi network that WiFi access points are provided.
Further, receiver module, is additionally operable to the user profile of receiving terminal apparatus transmission;
WiFi access points also include:Determining module, the user profile for being sent according to terminal device determines Terminal device is located in the coverage of WiFi access points.
Further, sending module, is additionally operable to be sent to certificate server the user profile of terminal device, So that certificate server is authenticated to terminal device;
Receiver module, is additionally operable to receive the authentication notification message of the terminal device that certificate server sends;
Sending module, if being certification success notification message also particularly useful for the authentication notification message of terminal device, Then WiFi connection request messages are sent to the terminal device in coverage.
Further, sending module, sends WiFi connection requests and disappears specifically for periodicity to terminal device Breath.
Further, WiFi connection request messages, including:
The SSID of the WiFi network that WiFi access points are provided;
Or, WiFi connection request messages, including:
The SSID and password of the WiFi network that WiFi access points are provided.
Further, the authentication information of WiFi access points, including:
The certification key that the mark or WiFi access points of WiFi access points are obtained from certificate server.
Further, sending module, is additionally operable to send authentication request message to certificate server, and certification please Seeking message includes the mark of WiFi access points, so that certificate server is authenticated to WiFi access points;
Receiver module, is additionally operable to receive the certification success notification message that certificate server sends, certification success Notification message includes the authentication information of WiFi access points.
WiFi cut-in methods and device that the present embodiment is provided, are actively set to terminal from WiFi access points Preparation send WiFi connection request messages, after terminal device receives WiFi connection request messages, to WiFi Access point is authenticated, if just sent to WiFi access points receiving WiFi connection request messages by certification, And WiFi access points is carried out DHCP configuration flows, so that terminal device accesses WiFi network, it is real Automatically accessing for WiFi is showed, it is to avoid troublesome operation of the user when WiFi network is accessed, while passing through The identifying procedure of WiFi access points, it is ensured that terminal accesses the security of WiFi network.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing to be used needed for example or description of the prior art is applied to be briefly described, it should be apparent that, under Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Figure 1A and Figure 1B are the schematic diagram of a scenario that WiFi network is accessed in terminal device;
Fig. 2 is the flow chart of WiFi network connection method embodiment one provided in an embodiment of the present invention;
Fig. 3 is the flow chart of WiFi network connection method embodiment two provided in an embodiment of the present invention;
Fig. 4 is the flow chart of WiFi network connection method embodiment two provided in an embodiment of the present invention;
Fig. 5 is the structural representation of terminal device embodiment one provided in an embodiment of the present invention;
Fig. 6 is the structural representation of WiFi access points embodiment one provided in an embodiment of the present invention;
Fig. 7 is the structural representation of WiFi access points embodiment two provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with this hair Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made The all other embodiment for obtaining, belongs to the scope of protection of the invention.
WiFi network has been widely used, and WiFi network can be supplied to any WiFi module that is configured with Terminal device is used.Consideration in factors such as security, chargings, WiFi network is generally provided with close Code or with corresponding authentication mechanism, terminal device is when a WiFi network is accessed, it is necessary to defeated first time Entering its corresponding password or completing corresponding identifying procedure to access.
WiFi network is all provided by WiFi access points, and wherein WiFi access points can be wireless road By equipment such as devices.When terminal device needs to access WiFi network, it is necessary first to the WiFi of the equipment that opens a terminal Module, then selection wherein needs the corresponding SSID of WiFi network for accessing.If the SSID is corresponding WiFi network is provided with password, then user needs to be input into the password of the WiFi network, when WiFi access points Verify the password it is correct after can carry out below DHCP (Dynamic Host Configuration Protocol, DHCP) configuration process, it is that terminal device distributes corresponding IP address, Terminal device is set to access WiFi network.If the corresponding WiFi networks of the SSID are not provided with password, when with Family selects to access the WiFi network in terminal device, and the corresponding WiFi access points of the WiFi network can be with Directly carry out DHCP configuration flows.If the corresponding WiFi networks of the SSID also have identifying procedure, User needs that the WiFi could be accessed according to the configured information corresponding identifying procedure of completion in terminal device Network.
Figure 1A and Figure 1B are the schematic diagram of a scenario that WiFi network is accessed in terminal device.Such as Figure 1A institutes Show, after user opens WiFi function in terminal device, can be in the WiFi search interfaces of terminal device See a list, the wherein each single item in list represents the WiFi network that a terminal device is searched, Each WiFi network has a SSID.In figure ia, as a example by searching 3 WiFi networks, The SSID of each WiFi network is respectively WiFi A, WiFi B and WiFi C, wherein, SSID is WiFi Mark with tapered end after the title of A and WiFi B, it is meant that the two WiFi networks have password. There is a mark for being used to represent WiFi network intensity behind the corresponding items of each SSID.User needs Knowing the SSID and password of the WiFi network for needing to access could access WiFi network.
For example when it is the network of WiFi A that user needs access SSID, after this is clicked on, will eject The dialog box of request input password, as shown in Figure 1B.User's input in the dialog box of ejection is corresponding close After code, if the WiFi access points checking password for providing WiFi A is correct, the terminal device can be accessed SSID is the WiFi network of WiFi A.
As can be seen that when user's using terminal equipment accesses WiFi network, needing from Figure 1A and Figure 1B It is to be understood that the corresponding SSID of WiFi network and password, and need to carry out manual search and input process, Process is relatively complicated.In addition, some WiFi networks for being not provided with password are corresponded to, if the WiFi network Be by lawless person set WiFi access points provide, then access the WiFi network be also possible to Information security in the portable terminal of family produces influence.
Fig. 2 is the flow chart of WiFi network connection method embodiment one provided in an embodiment of the present invention, is such as schemed Shown in 2, the WiFi network connection method that the present embodiment is provided includes:
Step S201, WiFi access point sends WiFi connection requests and disappears to the terminal device in coverage Breath, the WiFi connection request messages include the authentication information of WiFi access points.
Specifically, in view of in current WiFi network cut-in method, the flow for accessing WiFi network is cumbersome, The present embodiment provides a kind of method for automatically accessing WiFi network.In order to save user's manual search WiFi Network and the operation that brings, in the present embodiment, the access point from offer WiFi network is actively to covering model Terminal device in enclosing sends WiFi connection request messages.The WiFi connection request messages can be broadcast Message, as long as the terminal device in WiFi access point coverages can receive WiFi connections Request message.Wherein, the WiFi connection request messages include the authentication information of WiFi access points.
If after WiFi access points send WiFi connection request messages to terminal device, terminal device directly connects Enter the WiFi network, if then the WiFi access points are unsafe, terminal device may be caused to access Unsafe WiFi network.So then need to increase WiFi access points in WiFi connection request messages Authentication information, the authentication information of the WiFi access points be exactly in order to verify the security of WiFi access points and Addition.The mark or WiFi access points of the authentication information of WiFi access points including WiFi access points from The certification key that certificate server is obtained.
Meanwhile, the WiFi network that WiFi access points are provided can also be included in WiFi connection request messages SSID;Or, WiFi connection request messages include:The SSID of the WiFi network that WiFi access points are provided And password.If that is, the WiFi network is not provided with password, the WiFi connection request messages In can only include the SSID of the WiFi network, if the WiFi network is provided with password, WiFi connects Connecing can include the SSID and password of WiFi network in request message.Namely WiFi connection request messages can With active push password.
Step S202, terminal device is carried out according to the authentication information of WiFi access points to the WiFi access points Certification.
Specifically, after terminal device receives WiFi connection request messages, can according to including The authentication information of WiFi access points is authenticated to the WiFi access points.This certification is to ensure end End equipment accesses the security of WiFi network and carries out, it is to avoid terminal device accesses unsafe WiFi Network.
The authentication information of WiFi access points can include the authentication information of WiFi access points, or WiFi connects The certification key that access point is obtained from certificate server.
If the authentication information of WiFi access points is the mark of WiFi access points, terminal device is being received After the authentication information, the mark of WiFi access points can be sent to the certificate server in network.In net In certificate server in network, the mark of all legal WiFi access points is registered, if terminal device is sent out The mark sent is accessed in point list in legal WiFi, then certificate server passes through certification.If terminal device is sent out The mark sent is not in legal WiFi accesses point list, or the mark that terminal device sends is in illegal WiFi Access in point list, then certificate server does not pass through certification.Terminal device will receive certificate server hair The authentication result sent.Wherein, the mark of WiFi access points can uniquely determine the WiFi access points Mark, e.g. media access control (Media Access Control, MAC) address.
If the authentication information of WiFi access points is the certification key that WiFi access points are obtained from certificate server. The certification key is that certificate server is obtained from certificate server, only when WiFi access points are in certification Certification is passed through in server, certificate server just can send the certification key to WiFi access points.At end Can also be stored with the certification key in advance in end equipment, or, be not stored with the certification in terminal device Key, but after terminal device receives the certification key, certification key can be sent in network Certificate server so that certificate server is authenticated to certification key, terminal device is received again to be recognized The authentication result that card server sends.
Terminal device, can be by mobile communications network to certificate server due to not accessing WiFi network also Send the mark or certification key of WiFi access points.
Step S203, if certification passes through, terminal device allows to access the WiFi access points and to the WiFi Access point sends and receives WiFi connection request messages.
Specifically, if terminal device is tested WiFi access points according to the authentication information of WiFi access points After card, by certification.Then terminal device can consider that the WiFi network that the WiFi access points are provided is peace It is complete, will allow to access the WiFi network, and sent to WiFi access points and receive WiFi connection requests and disappear Breath, the WiFi connection request messages for responding the transmission of WiFi access points.
Step S204, WiFi access point sends DHCP configuration informations to terminal device, so that terminal sets It is standby to access the WiFi network that WiFi access points are provided.
Specifically, after WiFi access points are received receives WiFi connection request messages, DHCP will be carried out Configuration flow, is the corresponding IP address of terminal equipment configuration, so that terminal device can access WiFi Network, and then internet is accessed by the WiFi network.
In the WiFi cut-in methods that the present embodiment is provided, actively sent out to terminal device from WiFi access points WiFi connection request messages are sent, after terminal device receives WiFi connection request messages, to WiFi Access point is authenticated, if just sent to WiFi access points receiving WiFi connection request messages by certification, And WiFi access points is carried out DHCP configuration flows, so that terminal device accesses WiFi network, it is real Automatically accessing for WiFi is showed, it is to avoid troublesome operation of the user when WiFi network is accessed, while passing through The identifying procedure of WiFi access points, it is ensured that terminal accesses the security of WiFi network.
In the embodiment depicted in figure 2, WiFi access points are actively to be sent to the terminal device in coverage WiFi connection request messages, but this mode can make WiFi access points consume more electric energy.Therefore, Further, can also be sent to WiFi access points from terminal device use first before step S201 Family information.After WiFi access points receive the user profile, determine that terminal device is located at itself covering model When enclosing interior, then WiFi connection request messages are sent to terminal device.Terminal device can be near detecting When having WiFi network, user profile actively is sent to WiFi access points first, or terminal device also may be used With periodically broadcasting user information.
Certainly, WiFi access points periodically can also send WiFi connection request messages to terminal device.
In the embodiment depicted in figure 2, terminal device is WiFi to the premise that WiFi access points are authenticated The certification that access point passes through certificate server, belongs to legal WiFi access points, then accessed in WiFi Before point sends WiFi connection request messages to terminal device, in addition it is also necessary to be authenticated process.Fig. 3 is this The flow chart of the WiFi network connection method embodiment two that inventive embodiments are provided, as shown in figure 3, this reality The WiFi network connection method of example offer is applied on the basis of embodiment illustrated in fig. 2, is also included:
Step S301, WiFi access point sends authentication request message to certificate server, and the certification request disappears Breath includes the mark of WiFi access points, so that certificate server is authenticated to WiFi access points.
Specifically, WiFi access points can deployment when, or every time start when, to certificate server Authentication request message is sent, the authentication request message includes the mark of WiFi access points.Work as certificate server After receiving the authentication request message, WiFi access points can be authenticated.
The people for providing WiFi network using WiFi access points is divided into two kinds, and one kind is user itself, typically Be user use wireless router at home, the ground such as office, the WiFi network that oneself is set.Typically This WiFi network is all known to user, user after setting will using terminal equipment access, User is again positioned at when in the network coverage, and terminal device can be automatically accessed, and this scene will not be In the range of discussion of the invention.Another kind is the service provider of offer WiFi network in public place, Ke Yishi The Internet service provider of specialty, or the operator of public place, the access personnel of this WiFi network Do not fix, therefore the WiFi cut-in methods that can be provided using the present invention.The service of WiFi network is provided Business can will need the information of the WiFi access points for providing WiFi network to be registered in certificate server, So after WiFi access points send authentication request message to certificate server, certificate server can basis The mark of the WiFi access points in the authentication request message is authenticated to WiFi connection point.
Step S302, WiFi access point receive the certification success notification message that certificate server sends, and this is recognized Card success notification message includes the authentication information of the WiFi access points.
Specifically, when WiFi access points pass through certification in certificate server, WiFi access points will be received To the certification success notification message that certificate server sends, so that WiFi access points are known by certification. WiFi access points can then carry out WiFi access process as shown in Figure 2.
In the practical application of WiFi network, also there is a kind of scene, i.e. WiFi network and be only capable of being supplied to Certain customers use, and such as WiFi network is only capable of being supplied to the user of charges paid, or in school instruction building In, WiFi network is only capable of being supplied to teacher to use.So in this scene, WiFi access points to Before family sends WiFi connection request messages, in addition it is also necessary to which first the user identity to terminal device is verified.
Fig. 4 is the flow chart of WiFi network connection method embodiment three provided in an embodiment of the present invention, is such as schemed Shown in 4, the WiFi network connection method that the present embodiment is provided includes:
Step S401, terminal device sends user profile to WiFi access points.
Specifically, in the present embodiment, in order to verify user profile, terminal device can not be actively to covering In the range of terminal device send WiFi connection request messages.Firstly, it is necessary to from terminal device to WiFi Access point send user profile, this process can terminal device actively carry out, such as when terminal sets When standby WiFi module is in opening, user profile is just periodically sent, or user equipment can User profile is sent with active triggering terminal equipment.
Step S402, WiFi access point determines that terminal device is located at according to the user profile that terminal device sends In the coverage of WiFi access points.
When WiFi access points receive the user profile of terminal device transmission, will determine that terminal device has been located in In the coverage of itself.
Step S403, WiFi access point sends the user profile of terminal device to certificate server, so as to recognize Card server is authenticated to the terminal device.
Specifically, in order to verify whether terminal device has the authority for accessing WiFi network, WiFi is accessed Point can send the user profile of the terminal device to certificate server.When certificate server receives the use After the information of family, it can be authenticated.In certificate server, with various user rights, not Can be the different authority of user configuring in same application scenarios.
It is for the ease of teacher and faculty and staff members to provide WiFi network for example in school, in teaching building Imparted knowledge to students and carried out the work, the WiFi network can not be supplied to general student to use, in case influence is learned Raw study.So in this scene, can in advance by teacher and the terminal device of relevant staff Registered in certificate server, so, when WiFi access points receive the user of terminal device transmission Information is simultaneously sent to certificate server, and certificate server will be authenticated to it, if the user profile is Registered in certificate server, then certificate server is just determined by certification.
The user profile of terminal device can be the mark that can uniquely determine terminal device, and such as terminal sets Standby MAC Address, or, the user profile of terminal device can also be the user's account stored in terminal Number, Email Accounts, social software account, my phone numbers etc., can also be determined by these information The identity of terminal device.
Such as this scene, in certain market, covers WiFi network again, but the WiFi networkings are only capable of It is supplied to the member in market to use, and the member in the market is bound with the Mobile Directory Number of user. So when user needs to use mobile phone to access WiFi network in the market, mobile phone can be by My phone numbers is sent to a certain WiFi access points, and WiFi access points send to recognizing the telephone number After card server, certificate server checking changes whether telephone number is bound with member, passes through if having bound Certification.
Making great efforts to provide the user more increments in also a kind of scene, current each Internet service commercial city Service, to increase user's viscosity, allows users to software or the service for being provided using oneself all the time.So Free WiFi can will be provided to access as one of value-added service.Such as certain social software service Business, accesses as an increment clothes to will provide free WiFi in each emporium, hotel, public place Business, then the service provider can in advance by the social software account of oneself user and each emporium, hotel, Registered in the conscientious server of public place offer WiFi network.When terminal device is located at above-mentioned place When, the user profile sent to WiFi access points includes the social software account, then WiFi is accessed After point sends the social software account to certificate server, certificate server will be by certification.
The authentication notification that step S404, WiFi access point receive the terminal device that certificate server sends disappears Breath.
Step S405, if the authentication notification message of terminal device is certification success notification message, WiFi Access point sends WiFi connection request messages to the terminal device.
Specifically, if the authentication notification message that WiFi access points are received is by certification, then WiFi Access point will send WiFi connection request messages to the terminal device.The WiFi connection request messages will not It is broadcast transmission, but is only sent to the terminal device by certification.
Step S406, terminal device is carried out according to the authentication information of WiFi access points to the WiFi access points Certification.
This step is identical with step S202, but it should be recognized that due to the WiFi of the present embodiment offer In cut-in method, WiFi access points are authenticated to terminal device, then the WiFi access points one Surely it is legal, then this authenticating step can also be omitted in terminal device.
Step S407, if certification passes through, terminal device allows to access the WiFi access points and to the WiFi Access point sends and receives WiFi connection request messages.
This step is identical with step S203.
Step S408, WiFi access point sends DHCP configuration informations to terminal device, so that terminal sets It is standby to access the WiFi network that WiFi access points are provided.
This step is identical with step S205.
Further, the WiFi cut-in methods that the present embodiment is provided can be combined with embodiment illustrated in fig. 3 The step of S301 and step 302.
The WiFi cut-in methods that the present embodiment is provided, on the basis of realizing that WiFi is automatically accessed, enter one The verification process of terminal device is increased to step, automatically accessing for WiFi is being realized, it is to avoid user is accessing Troublesome operation during WiFi network, it is ensured that terminal is accessed on the basis of the security of WiFi network, may be used also To provide the user the WiFi access strategies of differentiation according to the different user identity of terminal device, increased The type of service of WiFi Access Service Providers.
Fig. 5 is the structural representation of terminal device embodiment one provided in an embodiment of the present invention, such as Fig. 5 institutes Show, the terminal device that the present embodiment is provided includes:
Receiver module 51, the WiFi connection request messages for receiving the transmission of WiFi access points are described WiFi connection request messages are that the WiFi access points are positioned over scope detecting the terminal device Sent when interior, the WiFi connection request messages include the authentication information of the WiFi access points.
Authentication module 52, for the terminal device according to the authentication information of the WiFi access points to institute WiFi access points are stated to be authenticated.
Sending module 53, if passing through for the certification of authentication module 52, sends to the WiFi access points Receive WiFi connection request messages.
Receiver module 51, is additionally operable to receive the DHCP configuration informations that the WiFi access points send, with Access the WiFi network that the WiFi access points are provided.
Terminal sets during the terminal device that the present embodiment is provided is used to realize WiFi network connection method shown in Fig. 2 Standby technical scheme, its realization principle is similar with technique effect, and here is omitted.
Further, in implementing shown in Fig. 5, sending module 53 is additionally operable to the WiFi access points User profile is sent, so that the WiFi access points are detected in the range of the terminal device is positioned over.
Further, in implementing shown in Fig. 5, receiver module 51, specifically for described in periodic receipt The WiFi connection request messages that WiFi access points send.
Further, in implementing shown in Fig. 5, the WiFi connection request messages, including:
The SSID of the WiFi network that the WiFi access points are provided;
Or, the WiFi connection request messages, including:
The SSID and password of the WiFi network that the WiFi access points are provided.
Further, in implementing shown in Fig. 5, the authentication information of the WiFi access points, including:It is described The certification key that the mark of WiFi access points or the WiFi access points are obtained from certificate server.
Sending module 53, if being WiFi accesses specifically for the authentication information of the WiFi access points The mark of point, then be sent to the certificate server, so that described recognize by the mark of the WiFi access points Card server is authenticated to the mark of the WiFi access points, receiver module 51, is additionally operable to receive institute State the authentication result of certificate server transmission.
Authentication module 52, if being WiFi accesses specifically for the authentication information of the WiFi access points The certification key that point is obtained from certificate server, then by the certification key and preservation in the terminal device Certification key contrasted, be authenticated with to the WiFi access points.
If or the authentication information of the WiFi access points is obtained for the WiFi access points from certificate server Then sending module 52 sends to the certificate server certification key to the certification key for taking, so that institute State certificate server to be authenticated the certification key, receiver module 51 is additionally operable to receive the certification The authentication result that server sends.
Fig. 6 is the structural representation of WiFi access points embodiment one provided in an embodiment of the present invention, such as Fig. 6 Shown, the WiFi access points that the present embodiment is provided include:
Sending module 61, for sending WiFi connection request messages to the terminal device in coverage, The WiFi connection request messages include the authentication information of the WiFi access points.
Receiver module 62, WiFi connection request messages are received for receive that the terminal device sends, The WiFi connection request messages that receive are that the terminal device is believed according to the certification of the WiFi access points Breath is authenticated by rear transmission to the WiFi access points.
Sending module 61, was additionally operable to send DHCP configuration informations to the terminal device, so that the end End equipment accesses the WiFi network that the WiFi access points are provided.
The terminal device that the present embodiment is provided is used to realize WiFi in WiFi network connection method shown in Fig. 2 The technical scheme of access point, its realization principle is similar with technique effect, and here is omitted.
Fig. 7 is the structural representation of WiFi access points embodiment two provided in an embodiment of the present invention, such as Fig. 7 Shown, the WiFi access points that the present embodiment is provided also include on the basis of Fig. 6:Determining module 63.
Receiver module 62, is additionally operable to receive the user profile that the terminal device sends.
Determining module 62, the user profile for being sent according to the terminal device determines the terminal device In the coverage of the WiFi access points.
Further, in embodiment illustrated in fig. 7, sending module 61 is additionally operable to the certificate server The user profile of the terminal device is sent, so that the certificate server is recognized the terminal device Card.Receiver module 62, the certification for being additionally operable to receive the terminal device that the certificate server sends is led to Know message.Sending module 61, if also particularly useful for the terminal device authentication notification message for certification into Work(notification message, then send WiFi connection request messages to the terminal device in coverage.
Further, in Fig. 6 or embodiment illustrated in fig. 7, sending module 61, specifically for periodicity to The terminal device sends the WiFi connection request messages.
Further, in Fig. 6 or embodiment illustrated in fig. 7, the WiFi connection request messages, including:
The SSID of the WiFi network that the WiFi access points are provided;
Or, the WiFi connection request messages, including:
The SSID and password of the WiFi network that the WiFi access points are provided.
Further, in Fig. 6 or embodiment illustrated in fig. 7, the authentication information of the WiFi access points, bag Include:The certification that the mark of the WiFi access points or the WiFi access points are obtained from certificate server Key.
Further, in Fig. 6 or embodiment illustrated in fig. 7, sending module 61 is additionally operable to institute and is taken to certification Business device sends authentication request message, and the authentication request message includes the mark of the WiFi access points, with The certificate server is set to be authenticated the WiFi access points.Receiver module 62, is additionally operable to receive The certification success notification message that the certificate server sends, the certification success notification message includes described The authentication information of WiFi access points.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right Its limitation;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments, Or equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.

Claims (10)

1. a kind of WiFi network connection method, it is characterised in that including:
Terminal device receives the WiFi connection request messages that WiFi access points send, and the WiFi connections please Ask the message WiFi access points detect the terminal device be positioned in the range of when send, The WiFi connection request messages include the authentication information of the WiFi access points;
The terminal device is carried out according to the authentication information of the WiFi access points to the WiFi access points Certification, if certification passes through, the terminal device allows to access the WiFi access points and to the WiFi Access point sends and receives WiFi connection request messages;
The terminal device receives the dynamic host configuration protocol DHCP configuration that the WiFi access points send Information, to access the WiFi network that the WiFi access points are provided.
2. method according to claim 1, it is characterised in that the terminal device receives WiFi Before the WiFi connection request messages that access point sends, also include:
The terminal device sends user profile to the WiFi access points, so that the WiFi access points Detect in the range of the terminal device is positioned over.
3. method according to claim 1 and 2, it is characterised in that the WiFi access points Authentication information, including:
The certification that the mark of the WiFi access points or the WiFi access points are obtained from certificate server Key;
The terminal device is carried out according to the authentication information of the WiFi access points to the WiFi access points Certification, including:
If the authentication information of the WiFi access points is the mark of the WiFi access points, the terminal The mark of the WiFi access points is sent to the certificate server by equipment, so that the certificate server Mark to the WiFi access points is authenticated, and receives the certification knot that the certificate server sends Really;
If the authentication information of the WiFi access points is the WiFi access points being obtained from certificate server Certification key, then the terminal device is close with the certification of preservation in the terminal device by the certification key Key is contrasted, and is authenticated with to the WiFi access points, or the terminal device is by the certification Key is sent to the certificate server, so that the certificate server is authenticated to the certification key, And receive the authentication result that the certificate server sends.
4. a kind of WiFi network connection method, it is characterised in that including:
WiFi access points send WiFi connection request messages, the WiFi to the terminal device in coverage Connection request message includes the authentication information of the WiFi access points;
What the WiFi access points reception terminal device sent receives WiFi connection request messages, institute State that to receive WiFi connection request messages be authentication information of the terminal device according to the WiFi access points The WiFi access points are authenticated by rear transmission;
The WiFi access points send dynamic host configuration protocol DHCP and match somebody with somebody confidence to the terminal device Breath, so that the terminal device accesses the WiFi network that the WiFi access points are provided.
5. method according to claim 4, it is characterised in that the WiFi access points are to covering In the range of terminal device send WiFi connection request messages before, also include:
The WiFi access points receive the user profile that the terminal device sends;
The WiFi access points determine the terminal device according to the user profile that the terminal device sends In the coverage of the WiFi access points.
6. method according to claim 5, it is characterised in that the WiFi access points are to covering In the range of terminal device send WiFi connection request messages before, also include:
The WiFi access points send the user profile of the terminal device to certificate server, so that described Certificate server is authenticated to the terminal device;
The WiFi access points receive the authentication notification of the terminal device that the certificate server sends Message;
The WiFi access points send WiFi connection request messages, bag to the terminal device in coverage Include:
If the authentication notification message of the terminal device is certification success notification message, the WiFi is accessed Point sends WiFi connection request messages to the terminal device.
7. the method according to any one of claim 4~6, it is characterised in that WiFi access points to Before terminal device in coverage sends WiFi connection request messages, also include:
The WiFi access points send authentication request message, the authentication request message bag to certificate server The mark of the WiFi access points is included, so that certificate server is authenticated to the WiFi access points;
The WiFi access points receive the certification success notification message that the certificate server sends, described to recognize Card success notification message includes the authentication information of the WiFi access points.
8. a kind of terminal device, it is characterised in that including:
Receiver module, the WiFi connection request messages for receiving the transmission of WiFi access points, the WiFi Connection request message be the WiFi access points detect the terminal device be positioned in the range of when Send, the WiFi connection request messages include the authentication information of the WiFi access points;
Authentication module, for the terminal device according to the authentication information of the WiFi access points to described WiFi access points are authenticated;
Sending module, if passing through for the authentication module certification, sends to the WiFi access points and connects By WiFi connection request messages;
The receiver module, is additionally operable to receive the DHCP that the WiFi access points send DHCP configuration informations, to access the WiFi network that the WiFi access points are provided.
9. a kind of WiFi access points, it is characterised in that including:
Sending module, it is described for sending WiFi connection request messages to the terminal device in coverage WiFi connection request messages include the authentication information of the WiFi access points;
Receiver module, the WiFi that receives for receiving the terminal device transmission for the WiFi access points connects Request message is connect, the WiFi connection request messages that receive are that the terminal device connects according to the WiFi The authentication information of access point is authenticated by rear transmission to the WiFi access points;
The sending module, is additionally operable to the WiFi access points and matches somebody with somebody to terminal device transmission DynamicHost Protocol DHCP configuration information is put, so that the terminal device accesses the WiFi that the WiFi access points are provided Network.
10. WiFi access points according to claim 9, it is characterised in that the receiver module, It is additionally operable to receive the user profile that the terminal device sends;
The WiFi access points, also including determining module, for the user sent according to the terminal device Information determines that the terminal device is located in the coverage of the WiFi access points.
CN201510946694.2A 2015-12-16 2015-12-16 WiFi network connection method and device Pending CN106888454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510946694.2A CN106888454A (en) 2015-12-16 2015-12-16 WiFi network connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510946694.2A CN106888454A (en) 2015-12-16 2015-12-16 WiFi network connection method and device

Publications (1)

Publication Number Publication Date
CN106888454A true CN106888454A (en) 2017-06-23

Family

ID=59175509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510946694.2A Pending CN106888454A (en) 2015-12-16 2015-12-16 WiFi network connection method and device

Country Status (1)

Country Link
CN (1) CN106888454A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294983A (en) * 2017-06-30 2017-10-24 北京小米移动软件有限公司 Method for connecting network, device, user equipment and terminal
CN109040100A (en) * 2018-08-24 2018-12-18 下代互联网重大应用技术(北京)工程研究中心有限公司 A kind of resource access method and its electronic equipment, system, readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469764A (en) * 2013-09-16 2015-03-25 中兴通讯股份有限公司 WLAN (Wireless Local Area Network) networking method and system
CN104869611A (en) * 2015-04-30 2015-08-26 杭州华三通信技术有限公司 WLAN access method and device
CN105119939A (en) * 2015-09-14 2015-12-02 北京奇虎科技有限公司 Access method and device, providing method, device and system of wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469764A (en) * 2013-09-16 2015-03-25 中兴通讯股份有限公司 WLAN (Wireless Local Area Network) networking method and system
CN104869611A (en) * 2015-04-30 2015-08-26 杭州华三通信技术有限公司 WLAN access method and device
CN105119939A (en) * 2015-09-14 2015-12-02 北京奇虎科技有限公司 Access method and device, providing method, device and system of wireless network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294983A (en) * 2017-06-30 2017-10-24 北京小米移动软件有限公司 Method for connecting network, device, user equipment and terminal
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
CN106851632B (en) A kind of method and device of smart machine access WLAN
CN103929748B (en) A kind of Internet of Things wireless terminal and its collocation method and wireless network access point
CN107086999B (en) Processing method of wireless network equipment, wireless network equipment and processor thereof
CN102572830B (en) Method and customer premise equipment (CPE) for terminal access authentication
CN104158824B (en) Genuine cyber identification authentication method and system
CN104008325B (en) Mobile phone wireless Wi-Fi on-Internet true name identity authentication platform based on Quick Response Code and method
CN104105096B (en) A kind of radio switch-in method of IPC equipment
CN106921963A (en) A kind of smart machine accesses the method and device of WLAN
CN103220669A (en) Share method, system, server, terminal and gateway management server of private wireless local area network (WLAN)
CN104159225A (en) Wireless network based real-name registration system management method and system
CN103796278A (en) Mobile terminal wireless network access control method
CN106656547A (en) Method and apparatus for updating network configuration of household electrical appliances
CN105681877A (en) Set-top box, television, platform, remote controller and method and apparatus for establishing connection
CN105530612A (en) WIFI authentication method using mobile terminal to access outdoor device and system
CN106559785A (en) Authentication method, equipment and system and access device and terminal
CN111194035A (en) Network connection method, device and storage medium
CN105357224B (en) A kind of registration of intelligent domestic gateway, removing method and system
CN104144491B (en) A kind of method and system to the real-time positioning of WiFi terminal
CN104955036A (en) Secure networking method and device in public Wi-Fi (wireless fidelity) environment
CN106954212A (en) A kind of portal authentication method and system
CN105991786A (en) Wi-Fi access configuration method, Wi-Fi terminal and access equipment
CN104486362A (en) Obtaining method and system for WiFi access point description information
CN106258015B (en) Service distribution method and device
CN106888454A (en) WiFi network connection method and device
CN102891900B (en) A kind of method, apparatus and system of the domain name mapping in flow unloading

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication