CN109379742A - Access method, device and storage medium of wireless local area network - Google Patents

Access method, device and storage medium of wireless local area network Download PDF

Info

Publication number
CN109379742A
CN109379742A CN201811521076.3A CN201811521076A CN109379742A CN 109379742 A CN109379742 A CN 109379742A CN 201811521076 A CN201811521076 A CN 201811521076A CN 109379742 A CN109379742 A CN 109379742A
Authority
CN
China
Prior art keywords
wlan
accessed
user
network identity
terminal equipment
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
CN201811521076.3A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811521076.3A priority Critical patent/CN109379742A/en
Publication of CN109379742A publication Critical patent/CN109379742A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an access method, an access device and a storage medium of a wireless local area network, relates to the technical field of information processing, and is used for solving the problem that a user manually operates a network distribution. In the method, a server obtains a user unique identifier sent by a first terminal device and a network identifier of a to-be-accessed wireless local area network to be accessed by the first terminal device. And searching the network identifier of the wireless local area network to be accessed in a network identifier set corresponding to the pre-stored unique user identifier, searching the password corresponding to the network identifier of the wireless local area network to be accessed according to the corresponding relation between the pre-stored network identifier and the password, and sending the password to the first terminal equipment. The first terminal device can log in the wireless local area network to be accessed according to the password sent by the server. Therefore, for a user, when other terminal equipment is connected with the wireless local area network, the password does not need to be manually input, and the terminal equipment can realize automatic network distribution according to the network identification and the password.

Description

A kind of cut-in method of WLAN, device and storage medium
Technical field
This application involves technical field of information processing more particularly to a kind of cut-in method of WLAN, device and deposit Storage media.
Background technique
Current smart machine distribution is mainly carried out by user's manual operation.When distribution, user needs to be each Terminal device is manually entered the password of network.So the prior art is complicated for operation with network method.
Summary of the invention
The embodiment of the present application provides the cut-in method, device and storage medium of a kind of WLAN, is used for terminal device Automatic distribution is realized according to the corresponding relationship of network identity and password.
In a first aspect, the embodiment of the present application provides a kind of cut-in method of WLAN, this method comprises:
Obtain user's unique identification of first terminal equipment transmission and the nothing to be accessed that the first terminal equipment is to be accessed The network identity of line local area network;
In the corresponding network identity set of pre-stored user's unique identification, the WLAN to be accessed is searched Network identity;It include the corresponding user of user's unique identification in the corresponding network identity set of user's unique identification The network identity of the WLAN connected;
If finding, the corresponding relationship of network identity and password according to the pre-stored data is searched described to be accessed wireless The corresponding password of the network identity of local area network;
The password found is sent to the first terminal equipment, so that the first terminal equipment is according to receiving WLAN to be accessed described in password login.
Further, the user's unique identification for obtaining the transmission of first terminal equipment and the first terminal equipment are waiting The network identity of the WLAN to be accessed entered, comprising:
Receive the logging request for being used to log in specified application that first terminal equipment is sent by first network, the login It include the network identity of the authentication information and the WLAN to be accessed for logging in the specified application in request; The first network is different from the WLAN to be accessed;
Authentication is carried out according to the authentication information, is authenticated the authentication information logon account after passing through As user's unique identification.
Further, the user's unique identification for obtaining the transmission of first terminal equipment and the first terminal equipment are waiting The network identity of the WLAN to be accessed entered, comprising:
It receives the network side equipment of the WLAN to be accessed or has accessed the end of the WLAN to be accessed The certification request that end equipment is sent;It include the user's unique identification and institute that the first terminal equipment is sent in the certification request State the network identity of first terminal equipment WLAN to be accessed to be accessed.
Further, it receives the network side equipment of the WLAN to be accessed or has accessed the wireless office to be accessed The certification request that the terminal device of domain net is sent, comprising:
It receives the network side equipment of the WLAN to be accessed or has accessed the end of the WLAN to be accessed The message that end equipment is sent;
Outgoing packet entity information is parsed from the message;
It detects in the message entity information and whether contains specific field;
If reading the use that the first terminal equipment is sent from the field value of the specific field containing specific field The network identity of family unique identification and first terminal equipment WLAN to be accessed to be accessed.
Further, user's unique identification and the first terminal equipment for obtaining the transmission of first terminal equipment are to be accessed The network identity of WLAN to be accessed, comprising:
Receive the logging request for being used to log in specified application that first terminal equipment is sent by first network, the login It include the authentication information for logging in the specified application in request;The first network is different from described to be accessed wireless Local area network;
Authentication is carried out according to the authentication information, is authenticated the authentication information logon account after passing through As user's unique identification;
Send the acquisition instruction for obtaining the network identity of WLAN to be accessed locating for first terminal equipment;
Receive the network for the WLAN to be accessed that the first terminal equipment is sent according to the acquisition instruction Mark.
Further, the method also includes:
Receive user's unique identification that second terminal equipment is sent and the wireless office that the second terminal equipment currently connects The network identity of domain net;
It whether detects in the corresponding network identity set of user's unique identification that the second terminal equipment is sent containing State the network identity for the WLAN that second terminal equipment currently connects;
If being not detected, the network identity for the WLAN that the second terminal equipment currently connects is added to institute State the corresponding network identity set of user's unique identification of second terminal equipment transmission;
And after the password for getting the WLAN that the second terminal equipment currently connects, the password and institute are established State the corresponding relationship between the network identity for the WLAN that second terminal equipment currently connects.
Based on identical inventive concept, the application also provides the cut-in method of the WLAN of first terminal equipment side, should Method includes:
The network identity of wireless office's net to be accessed is sent to the clothes for being used to obtain the password of wireless office's net to be accessed Business device;
Receive the password for the WLAN to be accessed that the server is sent;
The WLAN to be accessed according to the code entry received.
Further, the network identity of wireless office's net to be accessed is sent to and is used to obtain wireless office's net to be accessed The server of password, comprising:
The log on request for logging in specified application is sent to the server, in the log on request by first network Network identity including authentication information and the WLAN to be accessed for logging in the specified application;Described One network is different from the WLAN to be accessed.
Further, the network identity of wireless office's net to be accessed is sent to and is used to obtain wireless office's net to be accessed The server of password, comprising:
The logging request for logging in specified application is sent by first network, includes for logging in the logging request The authentication information of the specified application;The first network is different from the WLAN to be accessed;
Receive the acquisition instruction of the network identity for the acquisition WLAN to be accessed that the server is sent;
According to the acquisition instruction, the network identity of the WLAN to be accessed is sent to server.
Based on identical design, the embodiment of the present application also provide the password of server active push WLAN a kind of to The method of first terminal equipment, this method comprises:
Obtain user's unique identification that first terminal equipment is sent;
Search the corresponding network identity set of user's unique identification;The corresponding network identity set of user's unique identification In include the network identity of WLAN that the corresponding user of user's unique identification connected;
If finding, the corresponding password of network identity in the network identity set is obtained;
The password for finding network identity is sent to the first terminal equipment.
Further, user's unique identification that first terminal equipment is sent is obtained, comprising:
Receive the logging request for being used to log in specified application that first terminal equipment is sent by first network, the login It include the authentication information for logging in the specified application in request;
Authentication is carried out according to the authentication information, is authenticated the authentication information login account after passing through As user's unique identification.
Further, the user's unique identification for obtaining first terminal equipment and sending, comprising:
It receives the network side equipment of WLAN to be accessed or has accessed the terminal device hair of WLAN to be accessed The certification request sent;It include user's unique identification that the first terminal equipment is sent in the certification request;It is described to be accessed WLAN is different from first network.
Further, it receives the network side equipment of WLAN to be accessed or has accessed the end of WLAN to be accessed The certification request that end equipment is sent, comprising:
It receives the network side equipment of the WLAN to be accessed or has accessed the end of the WLAN to be accessed The message that end equipment is sent;
Outgoing packet entity information is parsed from the message;
It detects in the message entity information and whether contains specific field;
If reading the use that the first terminal equipment is sent from the field value of the specific field containing specific field Family unique identification.
Further, the method also includes:
Receive user's unique identification that second terminal equipment is sent and the wireless office that the second terminal equipment currently connects The network identity of domain net;
It whether detects in the corresponding network identity set of user's unique identification that the second terminal equipment is sent containing State the network identity for the WLAN that second terminal equipment currently connects;
If being not detected, the network identity for the WLAN that the second terminal equipment currently connects is added to institute State the corresponding network identity set of user's unique identification of second terminal equipment transmission;
And after the password for getting the WLAN that the second terminal equipment currently connects, establish password with it is described Corresponding relationship between the network identity for the WLAN that second terminal equipment currently connects.
The application also provides the cut-in method of the WLAN of first terminal equipment side, which comprises
User's unique identification is sent to server;
Receive the corresponding password of user's unique identification that the server is sent;
Obtain the network identity of WLAN to be accessed to be accessed;
According to the password that the server is sent, the WLAN to be accessed is connected.
Further, user's unique identification is sent to for server, comprising:
The logging request for logging in specified application is sent by first network, includes for logging in the logging request The authentication information of the specified application.
Further, the password sent according to the server, before connecting the WLAN to be accessed, institute State method further include:
Determine the instruction for receiving the addition wireless network to be accessed of user's transmission.
The embodiment of the present application also provides a kind of access device of WLAN, which includes:
Module is obtained, the user's unique identification and the first terminal equipment for obtaining the transmission of first terminal equipment are waiting The network identity of the WLAN to be accessed entered;
First searching module, for searching institute in the corresponding network identity set of pre-stored user's unique identification State the network identity of WLAN to be accessed;It include the user in the corresponding network identity set of user's unique identification The network identity for the WLAN that the corresponding user of unique identification connected;
Second searching module, if for finding, the corresponding relationship of network identity and password according to the pre-stored data is looked into Look for the corresponding password of network identity of the WLAN to be accessed;
First sending module, for the password found to be sent to the first terminal equipment, so that described first is whole End equipment WLAN to be accessed according to the password login received.
The embodiment of the present application also provides the access device of the WLAN of first terminal equipment side, and described device includes:
Second sending module is used to obtain the nothing to be accessed for the network identity of wireless office's net to be accessed to be sent to The server of the password of line office net;
Receiving module, for receiving the password for the WLAN to be accessed that the server is sent;
Log-in module, for the WLAN to be accessed according to the code entry received.
Based on identical design, the embodiment of the present application also provide the password of server active push WLAN a kind of to The device of first terminal equipment, described device include:
Second obtains module, for obtaining user's unique identification of first terminal equipment transmission;
Third searching module, for searching the corresponding network identity set of user's unique identification;User's unique identification It include the network mark for the WLAN that the corresponding user of user's unique identification connected in corresponding network identity set Know;
Third obtains module, if obtaining the corresponding password of network identity in the network identity set for finding;
Third sending module, for the password for finding network identity to be sent to the first terminal equipment.
The application also provides the access device of the WLAN of first terminal equipment side, and described device includes:
4th sending module, for sending user's unique identification to server;
Second receiving module, the corresponding password of user's unique identification sent for receiving the server;
4th obtains module, for obtaining the network identity of WLAN to be accessed to be accessed;
Link block, the password for being sent according to the server connect the WLAN to be accessed.
Another embodiment of the application additionally provides a kind of computing device, including at least one processor;And with it is described extremely The memory of few processor communication connection;Wherein, the memory, which is stored with, to be executed by least one described processor Instruction, described instruction is executed by least one described processor, so that at least one described processor is able to carry out the application The cut-in method for any WLAN that embodiment provides.
Another embodiment of the application additionally provides a kind of computer storage medium, wherein the computer storage medium is deposited Computer executable instructions are contained, the computer executable instructions are for making computer execute any in the embodiment of the present application The cut-in method of WLAN.
Cut-in method, device and the storage medium of WLAN provided by the embodiments of the present application, in this way, for a use For family, other terminal devices just do not need to be manually entered password, terminal device can basis when connecting the WLAN The corresponding relationship of network identity and password realizes automatic distribution.
Other features and advantage will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood and implementing the application.The purpose of the application and other advantages can be by written explanations Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, attached drawing described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of the application scenarios in the embodiment of the present application;
Fig. 2 is the cut-in method flow diagram of the WLAN in the embodiment of the present application;
Fig. 3 is probe request and probing response frame schematic diagram;
Fig. 4 is another flow diagram of cut-in method of the WLAN in the embodiment of the present application;
Fig. 5 is another flow diagram of cut-in method of the WLAN in the embodiment of the present application;
Fig. 6 is another flow diagram of cut-in method of the WLAN in the embodiment of the present application;
Fig. 7 is the cut-in method timing diagram of the WLAN in the embodiment of the present application;
Fig. 8 is another timing diagram of cut-in method of the WLAN in the embodiment of the present application;
Fig. 9 is another flow diagram of cut-in method of the WLAN in the embodiment of the present application;
Figure 10 is another flow diagram of cut-in method of the WLAN in the embodiment of the present application;
Figure 11 is another timing diagram of cut-in method of the WLAN in the embodiment of the present application;
Figure 12 is another timing diagram of cut-in method of the WLAN in the embodiment of the present application;
Figure 13 is one of the access device schematic diagram of WLAN in the embodiment of the present application;
Figure 14 is one of the access device schematic diagram of WLAN in the embodiment of the present application;
Figure 15 is one of the access device schematic diagram of WLAN in the embodiment of the present application;
Figure 16 is one of the access device schematic diagram of WLAN in the embodiment of the present application;
Figure 17 is the structural schematic diagram according to the computing device of the application embodiment.
Specific embodiment
In order to which distribution is convenient and efficient, the embodiment of the present application provides the cut-in method, device and storage of a kind of WLAN Medium.In order to better understand technical solution provided by the embodiments of the present application, noun used in the program is solved here It releases:
Message: message is the data cell exchanged in network with transmission, i.e. the website data block disposably to be sent.Message Contain complete data information to be sent, cause different in size, length is unlimited and variable.
User's unique identification: it is capable of the mark of one user of unique identification.Wherein, if a user has multiple terminals to set Standby, user's unique identification of the multiple terminal devices of a user is identical.For example, iPhone ID (account).
Next the basic principle of the program is done and is briefly described:
Server obtains user's unique identification that first terminal equipment is sent and to be accessed to be accessed of first terminal equipment The network identity of WLAN.In the corresponding network identity set of pre-stored user's unique identification, search to be accessed The network identity of WLAN.It wherein, include that user is unique in the corresponding collection of network of pre-stored user's unique identification Identify the network identity for the WLAN that corresponding user connected.If finding, network identity according to the pre-stored data With the corresponding relationship of password, the corresponding password of network identity of WLAN to be accessed is searched, and is sent to first terminal and sets It is standby.The code entry WLAN to be accessed that first terminal equipment can then be sent according to server.
Network identity can be address physics (MAC) of router.MAC Address is the address of network device hardware.MAC Location is made of 6 bytes, such as 00-50-BA-CE-07-0C.MAC Address is globally unique address, unique, itself Be by way of photoetching direct burning in the network chip of equipment, it is not possible to change.Or it is also possible to user and is configuring According to the router rs name of the hobby change of oneself when router.It is of course also possible to be the knot of MAC Address and router rs name It closes.As long as can be identified for that WLAN.
Technical solution provided in an embodiment of the present invention is introduced with reference to the accompanying drawing.As shown in FIG. 1, FIG. 1 is the application implementations A kind of application scenarios schematic diagram of the cut-in method for WLAN that example provides.There is the terminal device of user 10 in the scene 11, it is corresponding to be stored with user's unique identification in server 21 for terminal device 12, WLAN 20 to be accessed, server 21 The corresponding relationship 23 of network identity set 22, network identity and password.
After terminal device 12 accesses WLAN 20, by the network identity of user's unique identification and WLAN 20 and Its password is sent to server 21.The user's unique identification and WLAN 20 that server 21 receiving terminal apparatus 12 is sent Network identity.Whether contain wireless local area in the corresponding network identity set of user's unique identification that detection terminal device 12 is sent The network identity of net 20.If being not detected, the network identity of WLAN 20 is added to the user that terminal device 12 is sent The corresponding network identity set 22 of unique identification, and establish the corresponding pass between the password and the network identity of WLAN 20 It is 23.
Then, when 10 carried terminal equipment 11 of user is entered in the network environment of WLAN 20, terminal device 11 is first The network identity of user's unique identification and WLAN to be accessed 20 is first sent to server.Server is in pre-stored use In the corresponding network identity set 22 of family unique identification, the network identity of WLAN 20 to be accessed is searched.User uniquely marks Know the network mark of the WLAN connected in corresponding network identity set 22 including the corresponding user of user's unique identification Know.If finding, WLAN to be accessed is searched in the corresponding relationship 23 of network identity and password according to the pre-stored data The corresponding password of 20 network identity, and it is sent to terminal device 11.Terminal device 11 is then to be accessed wireless according to code entry Local area network 20.
First terminal equipment can be mobile phone, tablet computer, laptop, personal computer etc..
The present embodiment provides a kind of flow diagrams of the cut-in method of WLAN, as shown in Figure 2.The process includes Following steps:
Step 201: user's unique identification and the first terminal equipment for obtaining the transmission of first terminal equipment are to be accessed The network identity of WLAN to be accessed.
Step 202: in the corresponding network identity set of pre-stored user's unique identification, searching the nothing to be accessed The network identity of line local area network;It include user's unique identification pair in the corresponding network identity set of user's unique identification The network identity for the WLAN that the user answered connected.
Step 203: if finding, the corresponding relationship of network identity and password according to the pre-stored data, search it is described to Access the corresponding password of network identity of WLAN.
Step 204: the password found is sent to the first terminal equipment so that the first terminal equipment according to WLAN to be accessed described in the password login received.
In this way, for a user, when into a new WLAN, there is a terminal device to connect The WLAN, then server can automatically save the network identity and password of the WLAN.Other ends of the user End equipment does not just need to be manually entered password, server can be according to user's unique identification pair when connecting the WLAN In the network identity set answered, the password of WLAN to be accessed is searched, terminal device can then be realized certainly according to the password Dynamic distribution.
Above-mentioned steps 201 in the specific implementation, first terminal equipment can be connected to network in the case where implement, or It is also possible to implement in the case where failed cluster.In the present embodiment, server can be the server to specify application service.So Obtain user's unique identification of first terminal equipment transmission and the WLAN to be accessed that the first terminal equipment is to be accessed Network identity, comprising:
The log on request for being used to log in specified application that first terminal equipment is sent by first network is received, it is described to log in It include the network identity of the authentication information and the wireless access network to be accessed for logging in the specified application in request; The first network is different from the WLAN to be accessed.Authentication, certification are carried out according to the authentication information Using the authentication information login account as user's unique identification after.
Through the foregoing embodiment, in the case where first terminal equipment has network, server obtains user's unique identification then It is fairly simple, fast.
Method provided in this embodiment is then to obtain user in the case where first terminal equipment does not network uniquely to mark below The case where knowing the network identity with WLAN to be accessed.In the present embodiment, the use for obtaining first terminal equipment and sending The network identity of family unique identification and first terminal equipment WLAN to be accessed to be accessed, comprising: described in reception The certification that the network side equipment of WLAN to be accessed or the terminal device for having accessed the WLAN to be accessed are sent Request;It include that user's unique identification of first terminal equipment transmission and the first terminal equipment wait in the certification request The network identity of the WLAN to be accessed of access.
When it is implemented, the network side equipment of WLAN to be accessed can be router, optical fiber cat router one The equipment such as machine.First terminal equipment can be when being not connected with WLAN to be accessed to the end of WLAN to be accessed End side equipment sends probe request.It is the schematic diagram of probe request as shown in a in Fig. 3.In order to be compatible with multiple format, visit Surveying some in claim frame is undefined field, as Fig. 3 a in shown in FCS.First terminal equipment can be in undefined field User's unique identification that middle addition first terminal equipment is sent.After network side equipment receives probe request, probe response is sent Frame is to server.It is the schematic diagram of probing response frame as shown in b in Fig. 3.The partial content of probing response frame is also undefined Field, as Fig. 3 b in shown in FCS.Network side equipment can add the user of first terminal equipment transmission in undefined field Unique identification is to server.
Above situation is that the network side equipment of WLAN to be accessed is communicated with server.It is provided below a kind of logical After accessed WLAN to be accessed terminal device send certification request the case where.Server is to be accessed to having accessed The terminal device of WLAN receives certification request, includes user's unique identification that first terminal equipment is sent in certification request The network identity of WLAN to be accessed to be accessed with first terminal equipment, server are then executed according to the certification request 201-204 in Fig. 2.
Through the foregoing embodiment, first terminal equipment can be communicated the case where not accessing network with server, be made It is wide with range.
In the present embodiment, receives the network side equipment of the WLAN to be accessed or accessed described to be accessed wireless The certification request that the terminal device of local area network is sent, comprising: receive the network side equipment or of the WLAN to be accessed Access the message that the terminal device of the WLAN to be accessed is sent;Outgoing packet entity information is parsed from the message; It detects in the message entity information and whether contains specific field;If containing specific field, from the field of the specific field User's unique identification of the first terminal equipment transmission and the nothing to be accessed that the first terminal equipment is to be accessed are read in value The network identity of line local area network.
When it is implemented, frame can also be added in probe request without using the undefined field in probe request The form that head write-in user's unique identification, probe request and frame head are packaged into message is sent to network side equipment.Network side is set After receiving message, so that it may parse the entity information of outgoing packet.It should be noted that being carried out to probe request and frame head Protocol format used when encapsulation should be the protocol format that network side equipment allows.
Above-described embodiment, it is more demanding to network side equipment, but when there is no undefined field in probe request, It can communicate, use scope is wide.
In above scheme, server obtains the network identity of user's first identifier and WLAN to be accessed simultaneously.This In embodiment, user's unique identification of first terminal equipment transmission and the nothing to be accessed that the first terminal equipment is to be accessed are obtained The network identity of line local area network can execute as following steps.As shown in figure 4, it is the flow diagram of the present embodiment.
Step 401: the logging request for being used to log in specified application that first terminal equipment is sent by first network is received, It include the authentication information for logging in the specified application in the logging request;The first network be different from it is described to Access WLAN.
It should be noted that specified application here can be application program, for example, instant messenger either video Terminal.
Step 402: authentication being carried out according to the authentication information, is authenticated the authentication information after passing through Logon account is as user's unique identification.
Step 403: sending and obtain the acquisition of the network identity of WLAN to be accessed locating for first terminal equipment and refer to It enables.
Step 404: receiving the wireless local area to be accessed that the first terminal equipment is sent according to the acquisition instruction The network identity of net.
In this way, after the authentication information in user's unique identification is by certification, then to obtain first terminal equipment waiting Enter the network identity of WLAN, it is possible to reduce the pressure of data transmission.
The corresponding network identity set of user's unique identification in above-described embodiment, is generated by following steps.Such as Fig. 5 institute Show, is the flow diagram of the present embodiment.The step includes:
Step 501: the user's unique identification and the second terminal equipment for receiving the transmission of second terminal equipment currently connect WLAN network identity.
When it is implemented, second terminal equipment logged in the case where connecting WLAN it is specified in application, need to Specified application sends logging request, and after logging request passes through, server sends to second terminal equipment and obtains WLAN Instruction receives the network mark for the WLAN that the second terminal equipment of acquisition instruction is connected by user's unique identification and currently Knowledge is sent to server.
Step 502: detecting in the corresponding network identity set of user's unique identification that the second terminal equipment is sent is The network identity of the no WLAN currently connected containing the second terminal equipment.
Step 503: if being not detected, the network identity for the WLAN that the second terminal equipment is currently connected It is added to the corresponding network identity set of user's unique identification that the second terminal equipment is sent.
Step 504: and after the password for getting the WLAN that the second terminal equipment currently connects, establishing should Corresponding relationship between the network identity for the WLAN that password and the second terminal equipment currently connect.
When it is implemented, step 503 and step 504 do not need it is fixed execute sequence, executed after 503 being first carried out 504, it is also possible to 503 and 504 and is performed simultaneously.That is, when the network mark that the WLAN currently connected is not detected When knowledge, obtain the password of WLAN currently connected, and establish network identity and password corresponding relationship and will be current The network identity of the WLAN of connection is added to the corresponding network identity set of user's unique identification.
In this way, after the corresponding network identity set of user's unique identification generates, when user passes through first terminal device request When distribution, server can search corresponding network identity by searching for the corresponding network identity set of user's unique identification And password, intelligence convenient with net mode.
The embodiment of first terminal equipment side is given below.As shown in fig. 6, it passes through this Shen for first terminal equipment side Please scheme, carry out WLAN access flow diagram.
Step 601: the network identity of wireless office's net to be accessed being sent to and is used to obtain wireless office's net to be accessed The server of password.
Step 602: receiving the password for the WLAN to be accessed that the server is sent.
Step 603: the WLAN to be accessed according to the code entry received.
Through the foregoing embodiment, first terminal equipment can automatically access WLAN to be accessed, without user Operation facilitates user, improves user experience.
Above-mentioned steps 601 can be executed specifically as following two scheme:
Scheme 1: being sent by first network and specify the log on request of application to the server for logging in, described to log in It include the network identity of the authentication information and the WLAN to be accessed for logging in the specified application in request; The first network is different from the WLAN to be accessed.
In this way, first terminal equipment can pass through connection when connecting the network in addition to WLAN to be accessed Log on request is sent to server to obtain the password of WLAN to be accessed by network.
Scheme 2 is the scheme of the network identity in logging request without containing WLAN to be accessed.It can execute are as follows: The logging request for logging in specified application is sent by first network, includes described specified for logging in the logging request The authentication information of application;The first network is different from the WLAN to be accessed;The server is received to send The acquisition WLAN to be accessed network identity acquisition instruction;According to the acquisition instruction, send described waiting Enter the network identity of WLAN to server.
In this way, retransmiting network identity after authentication information is by certification, it is possible to reduce the waste of resource, and It is safer.
The above is all that the network identity of WLAN to be accessed is actively sent to server by first terminal equipment Scheme.Following for this programme is easy to understand, the present embodiment additionally provides timing diagram as shown in Figure 7.
As shown, timing diagram the following steps are included:
Step 701: sending the network identity of user's unique identification and the WLAN currently connected.
Step 702: whether current containing second terminal equipment in the corresponding network identity set of detection user's unique identification The network identity of the WLAN of connection.
Step 703: if being not detected, the network identity for the WLAN that second terminal equipment currently connects being added to The corresponding network identity set of user's unique identification, and getting the close of WLAN that second terminal equipment currently connects After code, the corresponding relationship of establishing the password between the network identity of WLAN that second terminal equipment currently connects.
Step 704: the network identity of WLAN to be accessed to be accessed is sent by first network.First net Network is different from WLAN to be accessed.
Step 705: in the corresponding network identity set of pre-stored user's unique identification, searching wireless office to be accessed The network identity of domain net, if finding, the corresponding relationship of network identity and password according to the pre-stored data searches nothing to be accessed The corresponding password of the network identity of line local area network.
Step 706: sending the corresponding password of network identity of WLAN to be accessed.
Step 707: the WLAN to be accessed according to the code entry received.
Through the foregoing embodiment, the method for first terminal equipment access WLAN is simple, quick, is user provider Just.
Fig. 8 is first terminal equipment when being not connected with any network, accesses the timing diagram of WLAN to be accessed.Such as figure Shown in 8, timing diagram the following steps are included:
Step 801: sending the network identity of user's unique identification and the WLAN currently connected.
Step 802: whether current containing second terminal equipment in the corresponding network identity set of detection user's unique identification The network identity of the WLAN of connection.
Step 803: if being not detected, the network identity for the WLAN that second terminal equipment currently connects being added to The corresponding network identity set of user's unique identification, and getting the close of WLAN that second terminal equipment currently connects After code, the corresponding relationship of establishing the password between the network identity of WLAN that second terminal equipment currently connects.
Step 804: sending certification request;Wherein, the user sent in certification request including first terminal equipment uniquely marks Know the network identity with first terminal equipment WLAN to be accessed to be accessed.
Step 805: in the corresponding network identity set of pre-stored user's unique identification, searching wireless office to be accessed The network identity of domain net, if finding, the corresponding relationship of network identity and password according to the pre-stored data searches nothing to be accessed The corresponding password of the network identity of line local area network.
Step 806: sending the corresponding password of network identity of WLAN to be accessed.
Step 807: according to the code entry received WLAN to be accessed.
By the above method, even first terminal equipment is not connected with any network, it can also send and use to server Family unique identification, use scope are more extensive.
Based on identical design, the embodiment of the present application also provide the password of server active push WLAN a kind of to The method of first terminal equipment, in order to which first terminal equipment accesses on demand.
As shown in figure 9, it is the flow diagram of the present embodiment.The process includes:
Step 901: obtaining user's unique identification that first terminal equipment is sent.
Step 902: searching the corresponding network identity set of user's unique identification;The corresponding network of user's unique identification It include the network identity for the WLAN that the corresponding user of user's unique identification connected in logo collection.
Step 903: if finding, obtaining the corresponding password of network identity in the network identity set.
Step 904: the password for finding network identity is sent to the first terminal equipment.
In this way, first terminal equipment can connect WLAN according to the password that server is sent automatically, match net mode Intelligence is convenient.
When it is implemented, step 601 can be executed specifically are as follows: receive first terminal equipment and be used for by what first network was sent The logging request of specified application is logged in, includes the authentication information for logging in the specified application in the logging request. Authentication is carried out according to the authentication information, is authenticated the authentication information login account after passing through as described in User's unique identification.
In this way, it is convenient and quick that server obtains log on request in the case where first terminal equipment has network.
When first terminal equipment is not connected with any network, above-mentioned steps 601 can be executed are as follows: receive wireless office to be accessed The certification request that the network side equipment of domain net or the terminal device for having accessed WLAN to be accessed are sent;The certification request In include the first terminal equipment send user's unique identification;The WLAN to be accessed is different from first network.
When it is implemented, network side equipment can be router, optical fiber cat router all-in-one machine.Specific embodiment is with before It is identical to state mode, which is not described herein again.
The certification request that network side equipment or the terminal device for having accessed WLAN to be accessed are sent, the most common side Formula is that server is sent in the form of message.So receiving the network side equipment of WLAN to be accessed or having accessed waiting Enter the certification request that the terminal device of WLAN is sent, comprising:
It receives the network side equipment of the WLAN to be accessed or has accessed the end of the WLAN to be accessed The message that end equipment is sent;Outgoing packet entity information is parsed from the message;It detects and whether contains in the message entity information There is specific field;If reading the first terminal equipment from the field value of the specific field containing specific field and sending User's unique identification.
By the above method, even if first terminal equipment does not have a network, server also available log on request uses model It encloses wide.
The corresponding network identity set of user's unique identification is generated by following steps: receiving what second terminal equipment was sent The network identity for the WLAN that user's unique identification and the second terminal equipment currently connect;Detect the second terminal Whether currently connected containing the second terminal equipment in the corresponding network identity set of user's unique identification that equipment is sent The network identity of WLAN;If being not detected, the net for the WLAN that the second terminal equipment is currently connected Network mark is added to the corresponding network identity set of user's unique identification that the second terminal equipment is sent;And getting After the password for stating the WLAN that second terminal equipment currently connects, establishes password and currently connect with the second terminal equipment WLAN network identity between corresponding relationship.
In this way, server can search user's unique identification pair according to the corresponding network identity set of user's unique identification The password answered, first terminal equipment can then connect WLAN automatically.It is this to match net mode, it does not need to be manually entered, side Just user.
The scheme of first terminal equipment side is additionally provided in the present embodiment.As shown in figure 8, it is first terminal equipment side Flow diagram.The process the following steps are included:
Step 1001: sending user's unique identification to server.
Step 1002: receiving the corresponding password of user's unique identification that the server is sent.
Step 1003: obtaining the network identity of WLAN to be accessed to be accessed.
Step 1004: the password sent according to the server connects the WLAN to be accessed.
The communication of such method, server and first terminal equipment is few, and the available user of first terminal equipment The corresponding all network identities of unique identification, it is more convenient to distribution.
Further, user's unique identification is sent to server, comprising: is sent by first network for logging in specified answer Logging request includes the authentication information for logging in the specified application in the logging request.
Logging request is sent by first network, server can get log on request faster, carry out authentication.
Further, the password sent according to the server, before connecting the WLAN to be accessed, institute State method further include: determine the instruction for receiving the addition wireless network to be accessed of user's transmission.
In this way, connecting wireless office in first terminal equipment after the password that first terminal equipment receives server transmission Before the net of domain, whether confirmation user automatically accesses WLAN, improves the experience sense of user.
This programme in order to facilitate understanding, the present embodiment additionally provide timing diagram as shown in figure 11.As shown, timing diagram The following steps are included:
Step 1101: sending the network identity of user's unique identification and the WLAN currently connected.
Step 1102: whether current containing second terminal equipment in the corresponding network identity set of detection user's unique identification The network identity of the WLAN of connection.
Step 1103: if being not detected, the network identity for the WLAN that second terminal equipment is currently connected is added To the corresponding network identity set of user's unique identification, and getting WLAN that second terminal equipment currently connects After password, the corresponding relationship of establishing the password between the network identity of WLAN that second terminal equipment currently connects.
Step 1104: user's unique identification is sent by first network.
Step 1105: searching the corresponding network identity set of user's unique identification if finding and obtain the network mark Know the corresponding password of network identity in set.
Step 1106: sending the corresponding password of network identity in network identity set.
Step 1107: obtaining the network identity of WLAN to be accessed to be accessed.
Step 1108: the password sent according to server connects WLAN to be accessed.First network is different from waiting Enter WLAN.
In this way, user does not need to be manually entered password when accessing WLAN to be accessed by first terminal equipment, Convenience is provided for user.
Figure 12 is in the case that first terminal equipment is not connected with any network, to access the timing of WLAN to be accessed Figure.As shown, timing diagram the following steps are included:
Step 1201: sending the network identity of user's unique identification and the WLAN currently connected.
Step 1202: whether current containing second terminal equipment in the corresponding network identity set of detection user's unique identification The network identity of the WLAN of connection.
Step 1203: if being not detected, the network identity for the WLAN that second terminal equipment is currently connected is added To the corresponding network identity set of user's unique identification, and getting WLAN that second terminal equipment currently connects After password, the corresponding relationship of establishing the password between the network identity of WLAN that second terminal equipment currently connects.
Step 1204: sending certification request;Certification request includes user's unique identification that first terminal equipment is sent.
Step 1205: searching the corresponding network identity set of user's unique identification if finding and obtain the network mark Know the corresponding password of network identity in set.
Step 1206: sending the corresponding password of user's unique identification.
Step 1207: obtaining the network identity of WLAN to be accessed to be accessed.
Step 1208: the password sent according to server connects WLAN to be accessed.First network is different from waiting Enter WLAN.
Through the foregoing embodiment, even first terminal equipment is not connected with any network, user can also not have to manual The password of WLAN to be accessed is inputted, use scope is more extensive.
Based on identical inventive concept, the embodiment of the present application also provides a kind of access device of WLAN.Such as Figure 13 It is shown, it is a kind of access device schematic diagram of WLAN.The device includes:
Module 1301 is obtained, for obtaining the user's unique identification and the first terminal equipment of the transmission of first terminal equipment The network identity of WLAN to be accessed to be accessed;
First searching module 1302, for looking into the corresponding network identity set of pre-stored user's unique identification Look for the network identity of the WLAN to be accessed;It include described in the corresponding network identity set of user's unique identification The network identity for the WLAN that the corresponding user of user's unique identification connected;
Second searching module 1303, if network identity according to the pre-stored data is corresponding with password to close for finding The corresponding password of network identity of the WLAN to be accessed is searched by system;
First sending module 1304, for the password found to be sent to the first terminal equipment, so that described One terminal device WLAN to be accessed according to the password login received.
Further, obtaining module 1301 includes:
Receiving unit, the login for being used to log in specified application sent for receiving first terminal equipment by first network It requests, includes the authentication information and the wireless local area to be accessed for logging in the specified application in the logging request The network identity of net;The first network is different from the WLAN to be accessed;
Authentication unit, for carrying out authentication according to the authentication information, certification recognizes the identity after passing through Information registration account is demonstrate,proved as user's unique identification.
Further, obtaining module 1301 includes: the second receiving unit, for receiving the WLAN to be accessed The certification request that network side equipment or the terminal device for having accessed the WLAN to be accessed are sent;In the certification request The user's unique identification and the first terminal equipment sent including the first terminal equipment wireless office to be accessed to be accessed The network identity of domain net.
Further, obtaining module 1301 includes:
Third receiving unit specifies application for logging in by what first network was sent for receiving first terminal equipment Logging request includes the authentication information for logging in the specified application in the logging request;The first network is not It is same as the WLAN to be accessed;
Second authentication unit authenticates after passing through for carrying out authentication according to the authentication information by the body Part authentication information logon account is as user's unique identification;
Transmission unit obtains the network identity of WLAN to be accessed locating for first terminal equipment and obtains for sending Instruction fetch;
4th receiving unit is sent for receiving the first terminal equipment according to the acquisition instruction described to be accessed The network identity of WLAN.
Further, the second receiving unit includes:
It receives the network side equipment of the WLAN to be accessed or has accessed the end of the WLAN to be accessed The message that end equipment is sent;
Outgoing packet entity information is parsed from the message;
It detects in the message entity information and whether contains specific field;
If reading the use that the first terminal equipment is sent from the field value of the specific field containing specific field The network identity of family unique identification and first terminal equipment WLAN to be accessed to be accessed.
Further, the device further include:
Third receiving module, for receiving the user's unique identification and the second terminal equipment of the transmission of second terminal equipment The network identity of the WLAN currently connected;
Detection module, the corresponding network identity set of user's unique identification sent for detecting the second terminal equipment In the network identity of WLAN that whether currently connects containing the second terminal equipment;
Adding module, if for being not detected, the net for the WLAN that the second terminal equipment is currently connected Network mark is added to the corresponding network identity set of user's unique identification that the second terminal equipment is sent;
Creation module, is used for and after the password for getting the WLAN that the second terminal equipment currently connects, The corresponding relationship for establishing the password between the network identity of WLAN that the second terminal equipment currently connects.
The embodiment of the present application additionally provides the access device of the WLAN of first terminal equipment side.As shown in figure 14, It is a kind of access device schematic diagram of WLAN in the present embodiment.The device includes:
Second sending module 1401, for the network identity of wireless office net to be accessed is sent to be used to obtain it is described waiting Enter the server of the password of wireless office's net;
Receiving module 1402, for receiving the password for the WLAN to be accessed that the server is sent;
Log-in module 1403, for the WLAN to be accessed according to the code entry received.
Further, the second sending module 1401 includes: the second transmission unit, for being sent by first network for stepping on The log on request of Lu Zhiding application gives the server, includes the identity for logging in the specified application in the log on request The network identity of authentication information and the WLAN to be accessed;The first network is different from the wireless local area to be accessed Net.
Further, the second sending module 1401 includes: third transmission unit, for being sent by first network for stepping on The logging request of Lu Zhiding application includes the authentication information for logging in the specified application in the logging request;Institute First network is stated different from the WLAN to be accessed;
5th receiving unit, for receiving the network mark for the acquisition WLAN to be accessed that the server is sent The acquisition instruction of knowledge;
4th transmission unit, for sending the network identity of the WLAN to be accessed according to the acquisition instruction To server.
The above is all that the network identity of WLAN to be accessed is actively sent to server by first terminal equipment Device.Based on identical inventive concept, the embodiment of the present application also provides a kind of password of server active push WLAN To the device of first terminal equipment.As shown in figure 15, show for the access device of WLAN a kind of in the embodiment of the present application It is intended to.The device includes:
Second obtains module 1501, for obtaining user's unique identification of first terminal equipment transmission;
Third searching module 1502, for searching the corresponding network identity set of user's unique identification;The user is unique Identify the net of the WLAN connected in corresponding network identity set including the corresponding user of user's unique identification Network mark;
Third obtains module 1503, if it is corresponding to obtain network identity in the network identity set for finding Password;
Third sending module 1504, for the password for finding network identity to be sent to the first terminal equipment.
Further, the second acquisition module 1501 includes:
6th receiving unit specifies application for logging in by what first network was sent for receiving first terminal equipment Logging request includes the authentication information for logging in the specified application in the logging request;
Third authentication unit authenticates after passing through for carrying out authentication according to the authentication information by the body Part authentication information login account is as user's unique identification.
Further, the second acquisition module 1501 includes: the 7th receiving unit, for receiving WLAN to be accessed The certification request that network side equipment or the terminal device for having accessed WLAN to be accessed are sent;Include in the certification request User's unique identification that the first terminal equipment is sent;The WLAN to be accessed is different from first network.
Further, the 7th receiving unit includes:
It receives the network side equipment of the WLAN to be accessed or has accessed the end of the WLAN to be accessed The message that end equipment is sent;
Outgoing packet entity information is parsed from the message;
It detects in the message entity information and whether contains specific field;
If reading the use that the first terminal equipment is sent from the field value of the specific field containing specific field Family unique identification.
Further, the device further include:
4th receiving module, for receiving the user's unique identification and the second terminal equipment of the transmission of second terminal equipment The network identity of the WLAN currently connected;
Second detection module, the corresponding network identity of user's unique identification sent for detecting the second terminal equipment The network identity of the WLAN whether currently connected containing the second terminal equipment in set;
Second adding module, if for being not detected, WLAN that the second terminal equipment is currently connected Network identity be added to the corresponding network identity set of user's unique identification that the second terminal equipment is sent;
Second creation module is used for and in the password for getting the WLAN that the second terminal equipment currently connects Afterwards, the corresponding relationship for establishing password between the network identity of WLAN that the second terminal equipment currently connects.
Based on identical inventive concept, the present embodiment also provides a kind of access dress of WLAN of first terminal equipment side It sets.It as shown in figure 16, is a kind of access device schematic diagram of WLAN in the embodiment of the present application.The device includes:
4th sending module 1601, for sending user's unique identification to server;
Second receiving module 1602, the corresponding password of user's unique identification sent for receiving the server;
4th obtains module 1603, for obtaining the network identity of WLAN to be accessed to be accessed;
Link block 1604, the password for being sent according to the server connect the WLAN to be accessed.
Further, the 4th sending module 1601 includes: the 4th transmission unit, for being sent by first network for stepping on The logging request of Lu Zhiding application includes the authentication information for logging in the specified application in the logging request.
Further, determining module, if being sent according to the server close for being found in link block 1604 Code after connecting the WLAN to be accessed, is also used to determine that the addition for receiving user's transmission is described to be accessed wireless The instruction of net.
After describing the cut-in method of WLAN of the application illustrative embodiments and device, next, Introduce the computing device of the another exemplary embodiment according to the application.
Person of ordinary skill in the field it is understood that the various aspects of the application can be implemented as system, method or Program product.Therefore, the various aspects of the application can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, at least one processing can be included at least according to the computing device of the application Device and at least one processor.Wherein, memory is stored with program code, when program code is executed by processor, so that Processor executes the access side of the WLAN according to the various illustrative embodiments of the application of this specification foregoing description Step in method.For example, processor can execute step 201-204 as shown in Figure 2 or step as shown in Figure 6 601-603, step 901-904 as shown in Figure 9, step 1001-1004 as shown in Figure 10.
The computing device 130 of this embodiment according to the application is described referring to Figure 17.The meter that Figure 17 is shown Calculating device 130 is only an example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in figure 17, computing device 130 is showed in the form of general-purpose calculating appts.The component of computing device 130 can be with Including but not limited to: at least one above-mentioned processor 131, above-mentioned at least one processor 132, connection different system components (packet Include memory 132 and processor 131) bus 133.
Bus 133 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Memory 132 may include the readable medium of form of volatile memory, such as random access memory (RAM) 1321 and/or cache memory 1322, it can further include read-only memory (ROM) 1323.
Memory 132 can also include program/utility 1325 with one group of (at least one) program module 1324, Such program module 1324 includes but is not limited to: operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.
Computing device 130 can also be communicated with one or more external equipments 134 (such as keyboard, sensing equipment etc.), also Can be enabled a user to one or more equipment interacted with computing device 130 communication, and/or with make the computing device The 130 any equipment (such as router, modem etc.) that can be communicated with one or more of the other computing device are led to Letter.This communication can be carried out by input/output (I/O) interface 135.Also, computing device 130 can also be suitable by network Orchestration 136 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet Communication.As shown, network adapter 136 is communicated by bus 133 with other modules for computing device 130.It should manage Solution, although not shown in the drawings, other hardware and/or software module can be used in conjunction with computing device 130, including but not limited to: Microcode, device driver, redundant processor, external disk drive array, RAID system, tape drive and data backup Storage system etc..
In some possible embodiments, the various aspects of the cut-in method of WLAN provided by the present application may be used also In the form of being embodied as a kind of program product comprising program code, when program product is run on a computing device, program Code be used for make computer equipment execute this specification foregoing description according to the wireless of the various illustrative embodiments of the application Step in the cut-in method of local area network, for example, computer equipment can execute step 201-204 as shown in Figure 2, or Step 601-603 as shown in Figure 6, step 901-904 as shown in Figure 9, step 1001-1004 as shown in Figure 10.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared The system of line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing is (non- The list of exhaustion) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), Read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, the read-only storage of portable compact disc Device (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product of the access of the WLAN of presently filed embodiment can be read-only using portable compact disc Memory (CD-ROM) and including program code, and can run on the computing device.However, the program product of the application is unlimited In this, in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, which can be referred to Enable execution system, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the application operation program Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes on device, partly execute on a user device, executing, as an independent software package partially in user's computing device Upper part executes on remote computing device or executes on remote computing device or server completely.It is being related to remotely counting In the situation for calculating device, remote computing device can pass through the network of any kind --- including local area network (LAN) or wide area network (WAN)-it is connected to user's computing device, or, it may be connected to external computing device (such as provided using Internet service Quotient is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke It point is only exemplary not enforceable.In fact, according to presently filed embodiment, it is above-described two or more The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can It is to be embodied by multiple units with further division.
In addition, although describing the operation of the application method in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is process of the reference according to method, apparatus (system) and computer program product of the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (21)

1. a kind of cut-in method of WLAN, which is characterized in that the described method includes:
Obtain user's unique identification of first terminal equipment transmission and the wireless office to be accessed that the first terminal equipment is to be accessed The network identity of domain net;
In the corresponding network identity set of pre-stored user's unique identification, the net of the WLAN to be accessed is searched Network mark;It include the corresponding user's connection of user's unique identification in the corresponding network identity set of user's unique identification The network identity for the WLAN crossed;
If finding, the corresponding relationship of network identity and password according to the pre-stored data searches the wireless local area to be accessed The corresponding password of the network identity of net;
The password found is sent to the first terminal equipment, so that the first terminal equipment is according to the password received Log in the WLAN to be accessed.
2. the method according to claim 1, wherein the user for obtaining the transmission of first terminal equipment uniquely marks Know the network identity with first terminal equipment WLAN to be accessed to be accessed, comprising:
Receive the logging request for being used to log in specified application that first terminal equipment is sent by first network, the logging request In include authentication information and the WLAN to be accessed for logging in the specified application network identity;It is described First network is different from the WLAN to be accessed;
According to the authentication information carry out authentication, certification pass through after using the authentication information logon account as User's unique identification.
3. the method according to claim 1, wherein the user for obtaining the transmission of first terminal equipment uniquely marks Know the network identity with first terminal equipment WLAN to be accessed to be accessed, comprising:
It receives the network side equipment of the WLAN to be accessed or has accessed the terminal of the WLAN to be accessed and set The certification request that preparation is sent;It include the user's unique identification and described that the first terminal equipment is sent in the certification request The network identity of one terminal device WLAN to be accessed to be accessed.
4. according to the method described in claim 3, it is characterized in that, receiving the network side equipment of the WLAN to be accessed Or access the certification request that the terminal device of the WLAN to be accessed is sent, comprising:
It receives the network side equipment of the WLAN to be accessed or has accessed the terminal of the WLAN to be accessed and set The message that preparation is sent;
Outgoing packet entity information is parsed from the message;
It detects in the message entity information and whether contains specific field;
If reading the user of the first terminal equipment transmission from the field value of the specific field only containing specific field The network identity of one mark and first terminal equipment WLAN to be accessed to be accessed.
5. the method according to claim 1, wherein obtain first terminal equipment send user's unique identification and The network identity of first terminal equipment WLAN to be accessed to be accessed, comprising:
Receive the logging request for being used to log in specified application that first terminal equipment is sent by first network, the logging request In include authentication information for logging in the specified application;The first network is different from the wireless local area to be accessed Net;
According to the authentication information carry out authentication, certification pass through after using the authentication information logon account as User's unique identification;
Send the acquisition instruction for obtaining the network identity of WLAN to be accessed locating for first terminal equipment;
Receive the network identity for the WLAN to be accessed that the first terminal equipment is sent according to the acquisition instruction.
6. any method in -5 according to claim 1, which is characterized in that the method also includes:
Receive user's unique identification that second terminal equipment is sent and the WLAN that the second terminal equipment currently connects Network identity;
It whether detects in the corresponding network identity set of user's unique identification that the second terminal equipment is sent containing described the The network identity for the WLAN that two terminal devices currently connect;
If being not detected, the network identity for the WLAN that the second terminal equipment currently connects is added to described The corresponding network identity set of user's unique identification that two terminal devices are sent;
And after the password for getting the WLAN that the second terminal equipment currently connects, the password and described the are established Corresponding relationship between the network identity for the WLAN that two terminal devices currently connect.
7. a kind of cut-in method of WLAN, which is characterized in that the described method includes:
The network identity of wireless office's net to be accessed is sent to the server for being used to obtain the password of wireless office's net to be accessed;
Receive the password for the WLAN to be accessed that the server is sent;
The WLAN to be accessed according to the code entry received.
8. being used for the method according to the description of claim 7 is characterized in that the network identity of wireless office's net to be accessed is sent to Obtain the server of the password of wireless office's net to be accessed, comprising:
The log on request for logging in specified application is sent to the server by first network, includes in the log on request For logging in the authentication information of the specified application and the network identity of the WLAN to be accessed;First net Network is different from the WLAN to be accessed.
9. being used for the method according to the description of claim 7 is characterized in that the network identity of wireless office's net to be accessed is sent to Obtain the server of the password of wireless office's net to be accessed, comprising:
The logging request for logging in specified application is sent by first network, includes described for logging in the logging request The authentication information of specified application;The first network is different from the WLAN to be accessed;
Receive the acquisition instruction of the network identity for the acquisition WLAN to be accessed that the server is sent;
According to the acquisition instruction, the network identity of the WLAN to be accessed is sent to server.
10. a kind of cut-in method of WLAN, which is characterized in that the described method includes:
Obtain user's unique identification that first terminal equipment is sent;
Search the corresponding network identity set of user's unique identification;It is wrapped in the corresponding network identity set of user's unique identification Include the network identity for the WLAN that the corresponding user of user's unique identification connected;
If finding, the corresponding password of network identity in the network identity set is obtained;
The password for finding network identity is sent to the first terminal equipment.
11. according to the method described in claim 10, uniquely being marked it is characterized in that, obtaining the user that first terminal equipment is sent Know, comprising:
Receive the logging request for being used to log in specified application that first terminal equipment is sent by first network, the logging request In include authentication information for logging in the specified application;
According to the authentication information carry out authentication, certification pass through after using the authentication information login account as User's unique identification.
12. according to the method described in claim 10, it is characterized in that, the user for obtaining the transmission of first terminal equipment is unique Mark, comprising:
It receives the network side equipment of WLAN to be accessed or has accessed the terminal device transmission of WLAN to be accessed Certification request;It include user's unique identification that the first terminal equipment is sent in the certification request;It is described to be accessed wireless Local area network is different from first network.
13. according to the method for claim 12, which is characterized in that receive WLAN to be accessed network side equipment or The certification request that the terminal device of WLAN to be accessed is sent has been accessed, including;
It receives the network side equipment of the WLAN to be accessed or has accessed the terminal of the WLAN to be accessed and set The message that preparation is sent;
Outgoing packet entity information is parsed from the message;
It detects in the message entity information and whether contains specific field;
If reading the user of the first terminal equipment transmission from the field value of the specific field only containing specific field One mark.
14. any method in 0-13 according to claim 1, which is characterized in that the method also includes:
Receive user's unique identification that second terminal equipment is sent and the WLAN that the second terminal equipment currently connects Network identity;
It whether detects in the corresponding network identity set of user's unique identification that the second terminal equipment is sent containing described the The network identity for the WLAN that two terminal devices currently connect;
If being not detected, the network identity for the WLAN that the second terminal equipment currently connects is added to described The corresponding network identity set of user's unique identification that two terminal devices are sent;
And after the password for getting the WLAN that the second terminal equipment currently connects, password and described second are established Corresponding relationship between the network identity for the WLAN that terminal device currently connects.
15. a kind of cut-in method of WLAN, which is characterized in that the described method includes:
User's unique identification is sent to server;
Receive the corresponding password of user's unique identification that the server is sent;
Obtain the network identity of WLAN to be accessed to be accessed;
According to the password that the server is sent, the WLAN to be accessed is connected.
16. according to the method for claim 15, which is characterized in that send user's unique identification to for server, comprising:
The logging request for logging in specified application is sent by first network, includes described for logging in the logging request The authentication information of specified application.
17. method as claimed in claim 15, which is characterized in that the password sent according to the server connects institute Before stating WLAN to be accessed, the method also includes:
Determine the instruction for receiving the addition wireless network to be accessed of user's transmission.
18. a kind of access device of WLAN, which is characterized in that described device includes:
Module is obtained, the user's unique identification and the first terminal equipment for obtaining the transmission of first terminal equipment are to be accessed The network identity of WLAN to be accessed;
First searching module, in the corresponding network identity set of pre-stored user's unique identification, search it is described to Access the network identity of WLAN;It include that the user is unique in the corresponding network identity set of user's unique identification Identify the network identity for the WLAN that corresponding user connected;
Second searching module, if for finding, the corresponding relationship of network identity and password according to the pre-stored data searches institute State the corresponding password of network identity of WLAN to be accessed;
First sending module, for the password found to be sent to the first terminal equipment, so that the first terminal is set Standby WLAN to be accessed according to the password login received.
19. a kind of access device of WLAN, which is characterized in that described device includes:
Second sending module is used to obtain the wireless office to be accessed for the network identity of wireless office's net to be accessed to be sent to The server of the password of net;
Receiving module, for receiving the password for the WLAN to be accessed that the server is sent;
Log-in module, for the WLAN to be accessed according to the code entry received.
20. a kind of access device of WLAN, which is characterized in that described device includes:
Second obtains module, for obtaining user's unique identification of first terminal equipment transmission;
Third searching module, for searching the corresponding network identity set of user's unique identification;User's unique identification is corresponding Network identity set in include the network identity of WLAN that the corresponding user of user's unique identification connected;
Third obtains module, if obtaining the corresponding password of network identity in the network identity set for finding;
Third sending module, for the password for finding network identity to be sent to the first terminal equipment.
21. a kind of access device of WLAN, which is characterized in that described device includes:
4th sending module, for sending user's unique identification to server;
Second receiving module, the corresponding password of user's unique identification sent for receiving the server;
4th obtains module, for obtaining the network identity of WLAN to be accessed to be accessed;
Link block, the password for being sent according to the server connect the WLAN to be accessed.
CN201811521076.3A 2018-12-12 2018-12-12 Access method, device and storage medium of wireless local area network Pending CN109379742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811521076.3A CN109379742A (en) 2018-12-12 2018-12-12 Access method, device and storage medium of wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811521076.3A CN109379742A (en) 2018-12-12 2018-12-12 Access method, device and storage medium of wireless local area network

Publications (1)

Publication Number Publication Date
CN109379742A true CN109379742A (en) 2019-02-22

Family

ID=65374437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811521076.3A Pending CN109379742A (en) 2018-12-12 2018-12-12 Access method, device and storage medium of wireless local area network

Country Status (1)

Country Link
CN (1) CN109379742A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333704A (en) * 2020-11-30 2021-02-05 深圳市欧瑞博科技股份有限公司 Network distribution method and device of intelligent device, electronic device and storage medium
CN112422599A (en) * 2019-08-22 2021-02-26 北京奇虎科技有限公司 Networking method and device for security control center
CN112436985A (en) * 2020-11-10 2021-03-02 深圳Tcl新技术有限公司 Network distribution method, device, terminal equipment and storage medium
CN112825574A (en) * 2019-11-15 2021-05-21 中兴通讯股份有限公司 Network connection establishing method, wireless access device, system and storage medium
CN113079510A (en) * 2019-12-17 2021-07-06 天津蠃鱼企业管理咨询合伙企业(有限合伙) Signal processing method, communication device and storage medium
CN113556736A (en) * 2021-07-21 2021-10-26 元心信息科技集团有限公司 Access method, server, terminal to be accessed, electronic device and storage medium
CN116506850A (en) * 2023-06-27 2023-07-28 中国电信股份有限公司 Network access method, device, wireless station, target server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159226A (en) * 2014-07-24 2014-11-19 小米科技有限责任公司 Network connection method and device
JP2016091155A (en) * 2014-10-31 2016-05-23 三菱電機株式会社 Information processing device and user terminal device and program
CN106804056A (en) * 2015-11-26 2017-06-06 上海连尚网络科技有限公司 A kind of method and apparatus for providing the access information of WAP
CN108769992A (en) * 2018-06-12 2018-11-06 腾讯科技(深圳)有限公司 User authen method, device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159226A (en) * 2014-07-24 2014-11-19 小米科技有限责任公司 Network connection method and device
JP2016091155A (en) * 2014-10-31 2016-05-23 三菱電機株式会社 Information processing device and user terminal device and program
CN106804056A (en) * 2015-11-26 2017-06-06 上海连尚网络科技有限公司 A kind of method and apparatus for providing the access information of WAP
CN108769992A (en) * 2018-06-12 2018-11-06 腾讯科技(深圳)有限公司 User authen method, device, terminal and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422599A (en) * 2019-08-22 2021-02-26 北京奇虎科技有限公司 Networking method and device for security control center
CN112825574A (en) * 2019-11-15 2021-05-21 中兴通讯股份有限公司 Network connection establishing method, wireless access device, system and storage medium
CN113079510A (en) * 2019-12-17 2021-07-06 天津蠃鱼企业管理咨询合伙企业(有限合伙) Signal processing method, communication device and storage medium
CN112436985A (en) * 2020-11-10 2021-03-02 深圳Tcl新技术有限公司 Network distribution method, device, terminal equipment and storage medium
CN112333704A (en) * 2020-11-30 2021-02-05 深圳市欧瑞博科技股份有限公司 Network distribution method and device of intelligent device, electronic device and storage medium
CN112333704B (en) * 2020-11-30 2023-04-07 深圳市欧瑞博科技股份有限公司 Network distribution method and device of intelligent device, electronic device and storage medium
CN113556736A (en) * 2021-07-21 2021-10-26 元心信息科技集团有限公司 Access method, server, terminal to be accessed, electronic device and storage medium
CN116506850A (en) * 2023-06-27 2023-07-28 中国电信股份有限公司 Network access method, device, wireless station, target server and storage medium
CN116506850B (en) * 2023-06-27 2023-10-03 中国电信股份有限公司 Network access method, device, wireless station, target server and storage medium

Similar Documents

Publication Publication Date Title
CN109379742A (en) Access method, device and storage medium of wireless local area network
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN104702406B (en) Auth method and device
KR101548574B1 (en) Network connected media gateway for communication networks
CN104380278B (en) Equipment, system and method for client-side management session continuity
WO2020043208A1 (en) Network slice selection method, device and system
CN112217831A (en) Information interaction method, device and equipment about Internet of things equipment
US10057302B2 (en) Context-based selection of instruction sets for connecting through captive portals
CN110247784A (en) The method and apparatus for determining network topology structure
CN108401037A (en) User terminal and the binding method of equipment, device and system
CN106411878B (en) Method, device and system for making access control strategy
CN110113744A (en) Communication means, device, equipment and storage medium
CN103813475B (en) A kind of data transmission method, data capture method and electronic equipment
CN106685949A (en) Container access method, container access device and container access system
CN105518645A (en) Load-balanced, persistent connection techniques
CN102891890A (en) Interaction method and related equipment and system among terminals
CN104753989A (en) Screen image transmission and playing method and device based on Web-based OS runtime environment
CN103475743A (en) Method, device and system used for cloud service
US8880108B2 (en) Short message processing method and apparatus
CN112445700A (en) Test method and device
CN109274705A (en) Service providing method, apparatus and system based on user identity
CN105530590A (en) Method and electronic equipment for realizing resource sharing between equipment
CN105592169B (en) Terminal identification method and device
CN103533580A (en) Wifi data non-seamless branching method, apparatus and system
CN113038192A (en) Video processing method and device, electronic equipment and storage medium

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: 20190222

RJ01 Rejection of invention patent application after publication