Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-, the method for network access based on WPS or QSS.Below in conjunction with Fig. 1, the method for the present embodiment is described.
In Fig. 1, S100, wireless routing device receive from the unlatching WPS of mobile terminal device or the indication information of QSS.
Concrete, in mobile terminal device, be provided with the network insertion application based on WPS or QSS, user applies in running status the network insertion based on WPS or QSS by modes such as clicks, network insertion application based on WPS or QSS is shown corresponding display interface to user, and user can input by this display interface the indication information of above-mentioned unlatching WPS or QSS.
A concrete example, network insertion based on WPS or QSS is applied in by the mode such as clicked and when running status, eject a dialog box, in this dialog box, show the button of " by visitor's access of radio network ", user is in the situation that clicking this button, network insertion based on WPS or QSS application produces corresponding signal, this signal be user's input that the network insertion application based on WPS or QSS receives based on WPS or QSS access directive command; Network insertion based on WPS or QSS be applied in receive this based on WPS or QSS access directive command after, generate an access Indication message based on URL, in this access Indication message, include the indication information of unlatching WPS or QSS; The indication information of above-mentioned unlatching WPS or QSS can comprise mobile terminal identifier information and characterize open WPS or the information of QSS, as opened the flag bit etc. of WPS or QSS.
Above-mentioned mobile terminal identifier information should be specially information that can a mobile terminal device of unique identification, and this mobile terminal identifier information can be specially the MAC(medium access control of mobile terminal device) account of address or Mobile Directory Number or instant message etc.
In mobile terminal device and the direct-connected situation of wireless routing device, mobile terminal device can access this Indication message and directly be transferred to wireless routing device; In addition, no matter whether mobile terminal device is directly connected with wireless routing device, and mobile terminal device can access Indication message by this and be transferred to wireless routing device by server; Concrete, mobile terminal device can first be transferred to server by this access Indication message, then, this server can access the indication information that obtains unlatching WPS or QSS Indication message from this, and to form new message (be that server carries out message format conversion, with guarantee that wireless routing device can be correct message is resolved), this new message can be for based on HTTP(HTML (Hypertext Markup Language)) message; Then, server sends this new message to wireless routing device.
In the situation that adopt the indication information of opening WPS or QSS via server transmission, the access Indication message that mobile terminal device sends to server is except including the indication information of opening WPS or QSS, can also comprise wireless routing device identification information, server can send according to this wireless routing device identification information the indication information of opening WPS or QSS to corresponding wireless routing device.In addition, in server, also can store the corresponding relation of mobile terminal identifier information and wireless routing device identification information, like this, server can obtain after mobile terminal identifier information from the indication information of the unlatching WPS that receives or QSS, utilize this corresponding relation to determine wireless routing device identification information, and the wireless routing device identification information of determining according to it send the indication information of opening WPS or QSS to corresponding wireless routing device.Above-mentioned corresponding relation can be that main control device is arranged in server by modes such as registrations.
Unlatching WPS in the present embodiment or the indication information of QSS can be carried in the message based on HTTP, also can be carried in the message based on TCP, a concrete example, the indication information of opening WPS or QSS adopts Json form to be carried in the message body of the message based on HTTP, and in the indication information of unlatching WPS or QSS, include " command " (order) field and check field, this check field is mainly used in legitimacy and the integrality of verification message.
The indication information that S110, wireless routing device receive from it, obtain the mobile terminal identifier information that sends this indication information.
S120, wireless routing device, in the situation that to determine above-mentioned indication information according to the main control device identification information of its storage and the above-mentioned mobile terminal identifier information of obtaining be the indication information that main control device sends, open WPS or QSS access function.
Concrete, above-mentioned main control device identification information can adopt the modes such as registration to set in advance in wireless routing device, wireless routing device is when the main control device identification information of judging its mobile terminal identifier information of obtaining and its storage is identical, think that its indication information receiving is the indication information that main control device sends, wireless routing device is opened WPS or QSS access function automatically, otherwise, wireless routing device can directly abandon this indication information, can't carry out the operation of above-mentioned automatic unlatching WPS or QSS access function.
Above-mentioned unlatching WPS or QSS access function can be specially the timer that triggers WPS or QSS, and the timing length of this timer can be default setting value, as 30 seconds or 2 minutes etc.
S130, wireless routing device in the situation that open in the scheduled time after WPS or QSS access function and receive the network insertion password request based on WPS or QSS, offer network insertion password the mobile terminal device that sends this network insertion password request.
Concrete, wireless routing device is being opened in the predetermined amount of time after WPS or QSS access function automatically, if receive the network insertion password request based on WPS or QSS that the mobile terminal device of non-main control device sends, wireless routing device offers the network insertion password of its storage the mobile terminal device that sends network insertion password request, so that mobile terminal device can be based on this network insertion password access of radio network.
The detailed process that the mobile terminal device of non-main control device sends the network insertion password request based on WPS or QSS can be: the mobile terminal device of non-main control device enters the hypervisor interface of the wireless network card of himself, select the access point of this wireless routing device, and select WPS mode, this mobile terminal device produces the network insertion password request based on WPS or QSS automatically, and sends this network insertion password request to wireless routing device.
A concrete example, the mobile terminal device of non-main control device enters the hypervisor interface of the wireless network card of himself, select the access point of this wireless routing device, and select the PIN mode in WPS mode, this mobile terminal device produces the network insertion password request based on PIN automatically, and sends this network insertion password request to wireless routing device; Wireless routing device automatically produces Pin code after receiving network insertion password request, and the Pin code of its generation is transferred to the mobile terminal device that sends the network insertion password request based on PIN, mobile terminal device, after receiving Pin code, returns to wireless routing device by this Pin code; Wireless routing device is at the Pin code that receives mobile terminal device and send, and determines the Pin code of its Pin code receiving and its generation when identical, by the network insertion password transmission of its storage to mobile terminal device.Afterwards, mobile terminal device can send network insertion request to wireless routing device based on this network insertion password, wireless routing device is receiving this network insertion request, and when the network insertion password of determining the password that carries in this network insertion request and its storage is identical, carry out corresponding network insertion operation, as be this mobile terminal device distribution network address etc.
The example that another is concrete, the mobile terminal device of non-main control device enters the hypervisor interface of the wireless network card of himself, select the access point of this wireless routing device, and select the PBC mode in WPS mode, this mobile terminal device produces the network insertion password request based on PBC automatically, and sends this network insertion password request to wireless routing device; Wireless routing device, after receiving this network insertion password request, is directly transferred to mobile terminal device by the network insertion password of its storage.Afterwards, mobile terminal device can send network insertion request to wireless routing device based on this network insertion password, wireless routing device is receiving this network insertion request, and when the network insertion password of determining the password that carries in this network insertion request and its storage is identical, carry out corresponding network insertion operation, as be this mobile terminal device distribution network address etc.
The concrete operations that in this step, network insertion password request offered to mobile terminal device can realize by the WPS or the QSS event handling function that call in wireless routing device.
It should be noted that, the above-mentioned network insertion password network insertion password that normally user oneself arranges, certainly, at wireless routing device, in without password access state in the situation that, above-mentioned network insertion password is empty.
Embodiment bis-, the network access device based on WPS or QSS.Below in conjunction with Fig. 2, this device is elaborated.
Device shown in Fig. 2 can be arranged in the terminal equipments such as computer, intelligent mobile phone or panel computer; And this device mainly comprises: receiver module 200, acquisition module 210, opening module 220 and access module 230; Wherein, acquisition module 210 is connected respectively with opening module 220 with receiver module 200, and opening module 220 is also connected with access module 230.
Receiver module 200 is mainly suitable for receiving from the unlatching WPS of mobile terminal device or the indication information of QSS.
Concrete, the indication information of above-mentioned unlatching WPS or QSS can comprise mobile terminal identifier information and characterize the information of opening WPS or QSS, as opened the flag bit etc. of WPS or QSS.
Above-mentioned mobile terminal identifier information should be specially information that can a mobile terminal device of unique identification, and this mobile terminal identifier information can be specially the MAC(medium access control of mobile terminal device) account of address or Mobile Directory Number or instant message etc.
The indication information of this unlatching WPS or QSS can be that mobile terminal device directly transmits, and can be also that mobile terminal device transmits by server; As in mobile terminal device and the direct-connected situation of wireless routing device, mobile terminal device can access this Indication message and directly be transferred to wireless routing device; For another example, no matter whether mobile terminal device is directly connected with wireless routing device, and mobile terminal device can access Indication message by this and be transferred to wireless routing device by server; A concrete example, mobile terminal device can first be transferred to server by this access Indication message, this server can access the indication information that obtains unlatching WPS or QSS Indication message from this, and to form new message (be that server carries out message format conversion operations, with guarantee that wireless routing device can be correct message is resolved), this new message can be for based on HTTP(HTML (Hypertext Markup Language)) message; Then, server sends this new message to wireless routing device.
In the situation that adopt the indication information of opening WPS or QSS via server transmission, in this access Indication message, can also comprise wireless routing device identification information, server can send according to this wireless routing device identification information the indication information of opening WPS or QSS to corresponding wireless routing device.
In addition, in server, also can store the corresponding relation of mobile terminal identifier information and wireless routing device identification information, like this, server can obtain after mobile terminal identifier information from the indication information of the unlatching WPS that receives or QSS, utilize this corresponding relation to determine wireless routing device identification information, and the wireless routing device identification information of determining according to it send the indication information of opening WPS or QSS to corresponding wireless routing device.Above-mentioned corresponding relation can be that main control device is arranged in server by modes such as registrations.
The unlatching WPS that receiver module 200 receives or the indication information of QSS can be carried in the message based on HTTP, also can be carried in the message based on TCP, a concrete example, the indication information of opening WPS or QSS adopts Json form to be carried in the message body of the message based on HTTP, and in the indication information of unlatching WPS or QSS, include " command " (order) field and check field, this check field is mainly used in legitimacy and the integrality of verification message.
The indication information that acquisition module 210 is mainly suitable for receiving from receiver module 200, obtain the mobile terminal identifier information that sends this indication information.
Opening module 220 is mainly suitable in the situation that to determine this indication information according to the main control device identification information of storage in this device and the mobile terminal identifier information obtained of acquisition module 210 be the indication information that main control device sends, and opens WPS or QSS access function.
Concrete, above-mentioned main control device identification information can adopt the modes such as registration to set in advance in wireless routing device, opening module 220 is when the main control device identification information of judging mobile terminal identifier information that acquisition module 210 obtains and its storage is identical, think that the indication information that receiver module 200 receives is the indication information that main control device sends, opening module 220 is opened WPS or QSS access function automatically, otherwise, opening module 220 can directly abandon the indication information that receiver module 200 receives, can't carry out the operation of above-mentioned automatic unlatching WPS or QSS access function.
Above-mentioned unlatching WPS or QSS access function can be specially the timer that opening module 220 triggers WPS or QSS, and the timing length of this timer can be default setting value, as 30 seconds or 2 minutes etc.
Access module 230 is mainly suitable in the situation that open and receive the network insertion request based on WPS or QSS in the scheduled time after WPS or QSS access function, sending the mobile terminal device access of radio network of this network insertion request.
Concrete, in opening module 220, automatically open in the predetermined amount of time after WPS or QSS access function, if wireless routing device receives the network insertion password request based on WPS or QSS that the mobile terminal device of non-main control device sends, access module 230 offers the network insertion password of storing in wireless routing device the mobile terminal device that sends network insertion password request, so that mobile terminal device can be based on this network insertion password access of radio network.
The detailed process that the mobile terminal device of non-main control device sends the network insertion password request based on WPS or QSS can be: the mobile terminal device of non-main control device enters the hypervisor interface of the wireless network card of himself, select the access point of this wireless routing device, and select WPS mode, this mobile terminal device produces the network insertion password request based on WPS or QSS automatically, and sends this network insertion password request to wireless routing device.
A concrete example, the mobile terminal device of non-main control device enters the hypervisor interface of the wireless network card of himself, select the access point of this wireless routing device, and select the PIN mode in WPS mode, this mobile terminal device produces the network insertion password request based on PIN automatically, and sends this network insertion password request to wireless routing device; Access module 230 automatically produces Pin code after wireless routing device receives network insertion password request, and the Pin code of its generation is transferred to the mobile terminal device that sends the network insertion password request based on PIN, mobile terminal device, after receiving Pin code, returns to wireless routing device by this Pin code; Access module 230 receives at wireless routing device the Pin code that mobile terminal device sends, and when the Pin code of determining Pin code that wireless routing device receives and its generation is identical, by the network insertion password transmission of storing in wireless routing device to mobile terminal device.Afterwards, mobile terminal device can send network insertion request to wireless routing device based on this network insertion password, access module 230 receives this network insertion request at wireless routing device, and determine the password carrying in this network insertion request when identical with the network insertion password of storing in wireless routing device, carry out corresponding network insertion operation, as be this mobile terminal device distribution network address etc.
The example that another is concrete, the mobile terminal device of non-main control device enters the hypervisor interface of the wireless network card of himself, select the access point of this wireless routing device, and select the PBC mode in WPS mode, this mobile terminal device produces the network insertion password request based on PBC automatically, and sends this network insertion password request to wireless routing device; Access module 230 receives after this network insertion password request at wireless routing device, and the network insertion password of storing in wireless routing device is directly transferred to mobile terminal device.Afterwards, mobile terminal device can send network insertion request to wireless routing device based on this network insertion password, access module 230 receives this network insertion request at wireless routing device, and determine the password carrying in this network insertion request when identical with the network insertion password of storing in wireless routing device, carry out corresponding network insertion operation, as be this mobile terminal device distribution network address etc.
Access module 230 offers by network insertion password request WPS or the QSS event handling function that the concrete operations of mobile terminal device can call in wireless routing device by access module 230 and realizes.
It should be noted that, the above-mentioned network insertion password network insertion password that normally user oneself arranges, certainly, at wireless routing device, in without password access state in the situation that, above-mentioned network insertion password is empty.
A1, a kind of method for network access based on WPS or QSS, it comprises:
Wireless routing device receives from the unlatching WPS of mobile terminal device or the indication information of QSS;
Wireless routing device obtains the mobile terminal identifier information that sends described indication information from described indication information;
Wireless routing device, in the situation that to determine described indication information according to the main control device identification information of its storage and described mobile terminal identifier information be the indication information that main control device sends, is opened WPS or QSS access function;
Wireless routing device in the situation that open WPS or QSS access function after the scheduled time in receive the network insertion password request based on WPS or QSS, its network insertion password is offered to the mobile terminal device that sends described network insertion password request.
A2, the method as described in A1, wherein, described wireless routing device receives and comprises from the unlatching WPS of mobile terminal device or the indication information of QSS:
In mobile terminal device, be provided with the network insertion application based on WPS or QSS, network insertion in running status is applied in and receives accessing after directive command based on WPS or QSS of user's input, generation includes the access Indication message of the indication information of opening WPS or QSS, and described access Indication message is transferred to wireless routing device by mobile terminal device and direct connection the between wireless routing device.
A3, the method as described in A1, wherein, described wireless routing device receives and comprises from the unlatching WPS of mobile terminal device or the indication information of QSS:
In mobile terminal device, be provided with the network insertion application based on WPS or QSS, network insertion in running status is applied in and receives accessing after directive command based on WPS or QSS of user's input, generation includes the access Indication message of the indication information of opening WPS or QSS, and described access Indication message is transferred to server;
Described server is transferred to wireless routing device according to the wireless routing device identification information carrying in the access Indication message receiving by the indication information of described unlatching WPS or QSS.
A4, the method as described in A3, wherein, described access Indication message sends to server in the mode of instant message or short message or mail.
A5, the method as described in A1 or A2 or A3 or A4, wherein, the indication information of described unlatching WPS or QSS is carried in message based on HTTP or the message based on TCP and transfers to wireless routing device.
A6, the method as described in A1 or A2 or A3 or A4, wherein, described mobile terminal identifier information comprises: the Media Access Control address of mobile terminal device.
A7, the method as described in A1 or A2 or A3 or A4, wherein, described unlatching WPS or QSS access function comprise:
Wireless routing device triggers WPS or QSS timer.
A8, the method as described in A1 or A2 or A3 or A4, wherein, describedly offer by its network insertion password the mobile terminal device that sends described network insertion password request and comprise:
Wireless routing device produces Pin code, and described Pin code is transferred to the mobile terminal device that sends described network insertion password request;
Wireless routing device in the situation that receive the Pin code that mobile terminal device sends and determine its Pin code receiving identical with the Pin code of its generation, is given the network insertion password transmission of its storage the mobile terminal device of described transmission Pin code.
A9, the method as described in A1 or A2 or A3 or A4, wherein, describedly offer by its network insertion password the mobile terminal device that sends described network insertion password request and comprise:
Wireless routing device is given the network insertion password transmission of its storage the mobile terminal device that sends described network insertion password request.
B10, a kind of network access device based on WPS or QSS, it comprises:
Receiver module, is suitable for receiving from the unlatching WPS of mobile terminal device or the indication information of QSS;
Acquisition module, is suitable for obtaining from described indication information the mobile terminal identifier information that sends described indication information;
Opening module, be suitable for, in the situation that to determine described indication information according to the main control device identification information of storage in this device and the mobile terminal identifier information obtained of described acquisition module be the indication information that main control device sends, opening WPS or QSS access function;
Access module, be suitable in the situation that open and receive the network insertion password request based on WPS or QSS in the scheduled time after WPS or QSS access function, the network insertion password of wireless routing device being offered to the mobile terminal device that sends described network insertion password request.
B11, the device as described in B10, wherein, described mobile terminal identifier information comprises: the Media Access Control address of mobile terminal device.
B12, the device as described in B10, wherein, the indication information of described unlatching WPS or QSS is carried in message based on HTTP or the message based on TCP and transfers to wireless routing device.
B13, the device as described in B10 or B11 or B12, wherein, described unlatching WPS or QSS access function comprise:
Opening module triggers WPS or QSS timer.
B14, the device as described in B10 or B11 or B12, wherein, the mobile terminal device that the described network insertion password by wireless routing device offers the described network insertion password request of transmission comprises:
Access module produces Pin code, and described Pin code is transferred to the mobile terminal device that sends described network insertion request;
Access module in the situation that receive the Pin code that mobile terminal device sends and determine its Pin code receiving identical with the Pin code of its generation, offers the network insertion password of wireless routing device the mobile terminal device that sends described network insertion password request.
B15, the device as described in B10 or B11 or B12, wherein, the mobile terminal device that the described network insertion password by wireless routing device offers the described network insertion password request of transmission comprises:
Access module is given the network insertion password transmission of wireless routing device the mobile terminal device that sends described network insertion password request.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the specification that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the network access device based on WPS or QSS of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted, the present invention will be described rather than limit the invention for above-described embodiment, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.