CN103987039A - WPS negotiation access processing method and device - Google Patents

WPS negotiation access processing method and device Download PDF

Info

Publication number
CN103987039A
CN103987039A CN201310049254.8A CN201310049254A CN103987039A CN 103987039 A CN103987039 A CN 103987039A CN 201310049254 A CN201310049254 A CN 201310049254A CN 103987039 A CN103987039 A CN 103987039A
Authority
CN
China
Prior art keywords
wps
mode
version
sta
current
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.)
Granted
Application number
CN201310049254.8A
Other languages
Chinese (zh)
Other versions
CN103987039B (en
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.)
Honor Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310049254.8A priority Critical patent/CN103987039B/en
Publication of CN103987039A publication Critical patent/CN103987039A/en
Application granted granted Critical
Publication of CN103987039B publication Critical patent/CN103987039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a WPS (Wi-Fi Protected Setup) negotiation access processing method and device. The method includes the following steps: an AP (Access Point) receives a WPS request message sent by an STA, wherein the WPS request message includes a WPS version and a work mode corresponding to the STA; according to the WPS request message, the WPS version and work mode of the STA are obtained; if a current WPS version and work mode of the AP are judged to be not identical with the WPS version and the work mode of the STA, the WPS version and the work mode of the AP are set as the WPS version and the work mode of the STA respectively and an encryption mode of the AP is set into an encryption mode corresponding to the WPS version and the work mode of the STA; and the AP and the STA carry out WPS negotiation access through the encryption mode corresponding to the WPS version and the work mode of the STA. The WPS negotiation access processing method and device are capable of realizing that the AP sets a current WPS version and work mode of the AP according to the WPS version and work mode of the STA so that access to an AP by STAs of different WPS versions is realized.

Description

WPS consults processing method and the equipment of access
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to processing method and equipment that a kind of WPS consults access.
Background technology
Along with popularizing of mobile wireless fidelity (Wireless Fidelity is called for short Wi-Fi) product, user also constantly increases the demand of access WiFi network.In traditional WiFi network, the fixing encryption mode of most of employing, by after the pre-configured key of keeper, informs the key configuring the user who allows access in advance.When user's WiFi working terminal (Station, abbreviation STA) equipment need to be linked into WiFi network, by this key configuring of manual input, after key agreement passes through, STA equipment can be linked into WiFi network.
In prior art, for simplifying user's operation, generally adopt Wi-Fi protection that (Wi-Fi Protected Setup is called for short WPS) mode is set and be linked into WiFi network.WPS mode comprises button and two kinds of methods of PIN code, by WPS mode user, can not possess professional knowledge, only need press the button and can be linked into WiFi network.But WPS is divided into two kinds of versions, WPSV1.0 and WPSV2.0, these two kinds of versions are different to the requirement of encryption safe, therefore as wireless access accessing points (Access Point, abbreviation AP) any difference in WPS release type, the mode of operation information of WPS and the encryption mode information of WPS of equipment and the configuration of STA equipment, will cause user's STA equipment cannot be linked into AP equipment.And, in prior art, AP equipment initially generally will be configured to fixing encryption mode according to customization, as be configured to WPA-PSK/TKIP, its corresponding WPS release type is WPS V1.0, when supporting that the user's of WPSV2.0 version STA equipment is want to access this AP equipment by WPS mode, due to what support, it is WPSV2.0 version, and the encryption mode of WPSV2.0 is not WPA-PSK/TKIP, therefore cause supporting the user's of WPSV2.0 version STA equipment to access this AP equipment by WPS mode.
Therefore, in prior art, exist the encryption mode of AP equipment to fix, can not automatically carry out corresponding configuration according to WPS release type corresponding to user's STA equipment, mode of operation information, cause incompatible between WPS different editions, and, user is unclear to WPS agreement, and the encryption mode of manual modification AP equipment easily causes and do not mate, and also can cause between WPS different editions incompatible.
Summary of the invention
The embodiment of the present invention provides a kind of WPS to consult processing method and the equipment of access, can realize the compatible of WPS different editions.
The embodiment of the present invention provides a kind of WPS to consult the processing method of access on the one hand, comprising:
The Wi-Fi protection that wireless access accessing points AP receiving workstation point STA sends arranges WPS request message, and wherein, described WPS request message comprises WPS version and the mode of operation of described STA;
According to described WPS request message, know WPS version and the mode of operation of described STA;
The WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA;
Described AP and described STA carry out WPS by the WPS version with described STA and the corresponding encryption mode of mode of operation and consult access.
In the method providing at above-described embodiment, WPS field and rate set field in the WPS request message that described AP receives, have been carried, the WPS version of STA described in described WPS Related fields, the mode of operation of the WPS version of STA described in described rate set Related fields;
Correspondingly, describedly according to described WPS request message, know that WPS version and the mode of operation of described STA comprise:
Resolve described WPS request message, according to described WPS field and described rate set field, know WPS version and the mode of operation of described STA.
In the method providing at above-described embodiment, the WPS version that the described AP of described judgement is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, and the WPS version and the mode of operation that the WPS version of described AP and mode of operation are set to respectively to described STA comprise:
The WPS version that judges WPS version that described AP is current and described STA is inconsistent, and the current mode of operation of described AP is consistent with the mode of operation of described STA, and the WPS version of described AP is set to the WPS version of described STA.
In the method providing at above-described embodiment, the WPS version that the described AP of described judgement is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, and the WPS version and the mode of operation that the WPS version of described AP and mode of operation are set to respectively to described STA comprise:
Judge that the current WPS version of described AP is consistent with the WPS version of described STA, the mode of operation that described AP is current and the mode of operation of described STA are inconsistent, and the mode of operation of described AP is set to the mode of operation of described STA.
In the method providing at above-described embodiment, the WPS version that the described AP of described judgement is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, and the WPS version and the mode of operation that the WPS version of described AP and mode of operation are set to respectively to described STA comprise:
The WPS version that judges WPS version that described AP is current and described STA is inconsistent, the mode of operation that described AP is current and the mode of operation of described STA are also inconsistent, the WPS version of described AP is set to the WPS version of described STA, and the mode of operation of described AP is set to the mode of operation of described STA.
The embodiment of the present invention also provides a kind of wireless access accessing points equipment on the other hand, comprising:
Receiver module, the Wi-Fi sending for receiving workstation point STA protection arranges WPS request message, and wherein, described WPS request message comprises WPS version and the mode of operation of described STA;
Know module, for know WPS version and the mode of operation of described STA according to described WPS request message;
Module is set, inconsistent for judging WPS version and the mode of operation of WPS version that described AP is current and mode of operation and described STA, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA;
Consult access module, for the WPS version by with described STA and the corresponding encryption mode of mode of operation, carry out WPS with described STA and consult to access.
As shown from the above technical solution, the embodiment of the present invention receives by AP the WPS request message that STA sends, WPS version and the mode of operation corresponding according to described STA, whether consistent with WPS version and the mode of operation of described STA with mode of operation by judging self current WPS version by AP, if inconsistent, self current WPS version and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and encryption mode is set to the WPS version with described STA, the corresponding encryption mode of mode of operation, WPS version and the mode of operation that by the embodiment of the present invention, can realize the STA sending according to STA arrange self current WPS version, mode of operation is consistent with it with encryption mode, to realize the compatibility of different WPS versions.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the processing method one embodiment flow chart that WPS provided by the invention consults access;
Fig. 2 is another embodiment flow chart of processing method that WPS provided by the invention consults access;
Fig. 3 is the structural representation of AP equipment one embodiment provided by the invention;
Fig. 4 is the structural representation of another embodiment of AP equipment provided by the invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The technical scheme of the embodiment of the present invention can be applicable to WPS and consults in the processing procedure of access.More specifically, the embodiment of the present invention is by the WPS field of carrying in the WPS request message being sent according to STA by AP, judge and know the corresponding WPS version of described STA, and the rate set field of carrying in the WPS request message sending according to described STA judges the mode of operation of knowing described STA.Whether described AP is consistent with WPS version and the mode of operation of described STA with mode of operation by judging self current WPS version, if inconsistent, WPS version and mode of operation that the current WPS version of described AP self and mode of operation are set to described STA, and encryption mode is set to WPS version and the corresponding encryption mode of mode of operation with described STA, and simultaneous display/renewal WPS version, mode of operation and encryption mode information, carry out WPS with described STA and consult access, so that described STA is linked into described AP, can realize the compatibility of different WPS versions.Can solve in prior art exists the encryption mode of AP to fix, can not automatically carry out corresponding configuration according to WPS release type corresponding to user's STA, mode of operation information, cause incompatible between WPS different editions, and user is unclear to WPS agreement, the encryption mode of manual modification AP easily causes and does not mate, and also can cause problem incompatible between WPS different editions.
Fig. 1 is the processing method one embodiment flow chart that WPS provided by the invention consults access, and as shown in Figure 1, the present embodiment comprises:
101: the Wi-Fi protection that wireless access accessing points AP receiving workstation point STA sends arranges WPS request message, and wherein, described WPS request message comprises WPS version and the mode of operation that described STA is corresponding;
Wherein, the Wi-Fi protection that described STA sends arranges in WPS request message can carry WPS field and rate set field; Wherein, described WPS Related fields be the WPS version that described STA is corresponding, described rate set Related fields be the mode of operation of the WPS version that described STA is corresponding.
102: WPS version and the mode of operation of according to described WPS request message, knowing described STA;
Wherein, described WPS version and the mode of operation of knowing described STA according to described WPS request message, is specially:
AP can be known according to described WPS field the WPS version of described STA, knows the mode of operation of the WPS version of described STA according to described rate set field.
Wherein, described WPS version comprises: WPS V1.0 version and WPS V2.0 version.
Wherein, the corresponding relation between described WPS version and mode of operation comprises:
If the version of described WPS is WPS V1.0 version, described mode of operation can be IEEE802.11N pattern, IEEE802.11G pattern or IEEE802.11B pattern;
If the version of described WPS is WPS V2.0 version, described mode of operation is 11N pattern.
103: the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA;
Wherein, described WPS version and the corresponding encryption mode of mode of operation comprise:
If described WPS version is WPS V1.0 version, described mode of operation is 11N pattern, and corresponding encryption mode is WPA2-PSK/AES;
If described WPS version is WPS V1.0 version, when described mode of operation is 11B pattern, corresponding encryption mode is OPEN+NONE;
If described WPS version is WPS V1.0 version, when described mode of operation is 11G pattern, corresponding encryption mode is OPEN+NONE, WPA-PSK/TKIP or WPA2-PSK/AES;
If described WPS version is WPS V2.0 version, when described mode of operation is 11N pattern, corresponding encryption mode is WPA2-PSK/AES.
A kind of situation is, the WPS version of described STA is WPS V2.0 version, and described mode of operation is 11N pattern; Corresponding, the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA, comprising:
Judge that the current WPS version of described AP is not WPS V2.0 version, the WPS version of described AP is set to WPS V2.0 version;
Judge that the current mode of operation of described AP is not 11N pattern, the mode of operation of the WPS version of described AP is set to 11N pattern;
Described AP encryption mode is set to WPA2-PSK/AES encryption mode.
Another kind of situation is, the WPS version of described STA is WPS V1.0 version, and described mode of operation is 11N pattern; Corresponding, the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA, comprising:
Judge described AP current WPS version not for WPS V1.0 version, the WPS version of described AP is set to WPS V1.0 version;
Judge that the current mode of operation of described AP is not 11N pattern, the mode of operation of the WPS version of described AP is set to 11N pattern;
Described AP encryption mode is set to WPA2-PSK/AES encryption mode.
Another kind of situation is, the WPS version of described STA is WPS V1.0 version, and described mode of operation is 11B pattern; Corresponding, the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA, comprising:
Judge that the current WPS version of described AP is not WPS V1.0 version, the WPS version of described AP is set to WPS V1.0 version;
Judge that the current mode of operation of described AP is not 11B pattern, the mode of operation of the WPS version of described AP is set to 11B pattern;
Described AP encryption mode is set to OPEN+NONE encryption mode.
Further, described method also comprises:
Described AP receives the associated request message that described STA sends, and described associated request message comprises the encryption mode that described STA is corresponding.
Further, a kind of situation is, the WPS version of described STA is WPS V1.0 version, and described mode of operation is 11G pattern, and described encryption mode is OPEN+NONE encryption mode; Corresponding, the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA, comprising:
Judge that the current WPS version of described AP is not WPS V1.0 version, the WPS version of described AP is set to WPS V1.0 version;
Judge that the current mode of operation of described AP is not 11G pattern, the mode of operation of the WPS version of described AP is set to 11G pattern;
Described AP encryption mode is set to OPEN+NONE encryption mode.
Wherein, if the WPS version of described STA is WPS V1.0 version, when described mode of operation is 11G pattern, corresponding encryption mode is OPEN+NONE, WPA-PSK/TKIP or WPA2-PSK/AES, the fail safe of described WPA2-PSK/AES encryption mode will be higher than described WPA-PSK/TKIP encryption mode, the fail safe of described OPEN+NONE encryption mode is minimum, this scheme is when the corresponding encryption mode of described STA is described OPEN+NONE encryption mode, only considering to allow described STA to be linked into described AP, the encryption mode of described AP is set to the lower encryption mode of this fail safe of OPEN+NONE encryption mode.
Further, another kind of situation is, the WPS version of described STA is WPS V1.0 version, and described mode of operation is 11G pattern, and described encryption mode is WPA-PSK/TKIP encryption mode; Corresponding, the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA, comprising:
Judge that the current WPS version of described AP is not WPS V1.0 version, the WPS version of described AP is set to WPS V1.0 version;
Judge that the current mode of operation of described AP is not 11G pattern, the mode of operation of the WPS version of described AP is set to 11G pattern;
Described AP encryption mode is set to WPA-PSK/TKIP encryption mode.
Further, another kind of situation is, the WPS version of described STA is WPS V1.0 version, and described mode of operation is 11G pattern, and described encryption mode is WPA2-PSK/AES encryption mode; Corresponding, the WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA, comprising:
Judge that the current WPS version of described AP is not WPS V1.0 version, the WPS version of described AP is set to WPS V1.0 version;
Judge that the current mode of operation of described AP is not 11G pattern, the mode of operation of the WPS version of described AP is set to 11G pattern;
Described AP encryption mode is set to WPA2-PSK/AES encryption mode.
104: described AP and described STA carry out WPS negotiation access by WPS version and the corresponding encryption mode of mode of operation of described STA.
Wherein, described AP and described STA carry out WPS negotiation access by WPS version and the corresponding encryption mode of mode of operation of described STA, comprising:
Described AP according to the current WPS version of the corresponding described WPS version of described STA, described mode of operation self and mode of operation be set to consistent with the described WPS version of described STA, described mode of operation after, and encryption mode is set to WPS version and the corresponding encryption mode of described mode of operation with described STA, when the described encryption mode that described AP arranges also consistent with WPS version and the corresponding encryption mode of described mode of operation of described STA, described AP and described STA carry out WPS negotiation, and allow described STA to be linked into described AP.
The embodiment of the present invention receives by AP the WPS request message that STA sends, WPS version, the mode of operation corresponding according to described STA, whether consistent with WPS version, the mode of operation of described STA by judging self current WPS version, mode of operation by AP, if inconsistent, self current WPS version and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and encryption mode is set to the corresponding encryption mode of WPS version, mode of operation with described STA.Can realize WPS version and the mode of operation of STA in the WPS request sending according to STA, self current WPS version, mode of operation and encryption mode is set consistent with it, realize the compatibility of different WPS versions, the STA that realizes different WPS versions is linked into AP.
Fig. 2 is another embodiment flow chart of processing method that WPS provided by the invention consults access, and as shown in Figure 2, the present embodiment comprises:
The WPS version that judges WPS version that described AP is current and described STA is inconsistent, and mode of operation is consistent with the mode of operation of described STA, and the WPS version of described AP is set to the WPS version of described STA;
Or, judging that the current WPS version of described AP is consistent with the WPS version of described STA, the mode of operation of mode of operation and described STA is inconsistent, and the mode of operation of described AP is set to the mode of operation of described STA;
Or, the WPS version that judges WPS version that described AP is current and described STA is inconsistent, the mode of operation of mode of operation and described STA is also inconsistent, and the WPS version of described AP is set to the WPS version of described STA, and mode of operation is set to the mode of operation of described STA;
The encryption mode of described AP is set to WPS version and encryption mode corresponding to mode of operation of described STA.
Optionally, the present embodiment is specially:
201:AP device start initial configuration are the encryption mode of customization or the encryption mode of acquiescence;
Wherein, if user to described AP device customizing encryption mode, after described AP device start, the encryption mode that initial configuration is described customization; If user is not to described AP device customizing encryption mode,, after described AP device start, initial configuration is the encryption mode of acquiescence.
202: described AP equipment receives the WPS request message that described STA equipment sends, according to described WPS request message, know WPS version and the mode of operation of described STA equipment;
Wherein, described AP equipment receives the WPS request message that described STA equipment sends, and knows WPS version and the mode of operation of described STA equipment according to described WPS request message, comprising:
In the WPS request message that described STA equipment sends, WPS field and rate set field have been carried;
Described AP equipment can be known the WPS version of described STA equipment according to described WPS field, can know the mode of operation of the WPS version of described STA equipment according to described rate set field.
Wherein, described WPS version comprises: WPS V1.0 version and WPS V2.0 version.
Wherein, the WPS version of described STA equipment and the corresponding relation between mode of operation are specially:
If the version of described WPS is WPS V1.0 version, described WPS mode of operation can be 11N pattern, 11G pattern or 11B pattern;
If the version of described WPS is WPS V2.0 version, described WPS mode of operation can be 11N pattern.
203: described AP equipment judges whether the described WPS version of described STA equipment is WPS V2.0, if so, carries out 204, otherwise, carry out 209;
204: described AP equipment judges whether self current WPS version is WPS V2.0, if so, carries out 205, otherwise, carry out 206;
205: described AP equipment judges whether self current mode of operation is 11N pattern, if so, carries out 208, otherwise, carry out 207;
Wherein, described WPS version is WPS V2.0 version, and described mode of operation is 11N pattern.
206: the current WPS version of described AP equipment self is set to WPS V2.0 version;
207: the current mode of operation of described AP equipment self is set to 11N pattern;
208: described AP equipment encryption mode is set to WPA2-PSK/AES encryption mode, and carries out 223;
209: described AP equipment judges whether the WPS version of self is WPS V1.0, if so, carries out 210, otherwise, carry out 211;
210: described AP equipment judges whether the described mode of operation of described STA equipment is 11N pattern, if so, carries out 205, otherwise, carry out 212;
211: described AP equipment self current WPS version be set to WPS V1.0 version;
212: described AP equipment judges whether the described mode of operation of described STA equipment is 11G pattern, if so, carries out 213, otherwise, carry out 220;
213: described AP equipment judges whether self current mode of operation is 11G pattern, if so, carries out 215, otherwise carries out 214;
214: the current mode of operation of described AP equipment self is set to 11G pattern;
Wherein, described AP equipment receives the associated request message that described STA equipment sends, and described associated request message comprises encryption mode corresponding to described STA equipment.
Wherein, the corresponding described WPS version of described STA equipment is WPS V1.0, and when described mode of operation is 11G, described encryption mode can be OPEN+NONE, WPA-PSK/TKIP or WPA2-PSK/AES encryption mode.
215: described AP equipment judges whether the described encryption mode that described STA equipment is corresponding is WPA2-PSK/AES, if so, carries out 216, otherwise, carry out 217;
216: the current encryption mode of described AP equipment self is set to WPA2-PSK/AES encryption mode, and carries out 223;
217: described AP equipment judges whether the described encryption mode that described STA equipment is corresponding is WPA-PSK/TKIP, if so, carries out 218, otherwise, carry out 219;
218: the current encryption mode of described AP equipment self is set to WPA-PSK/TKIP encryption mode, and carries out 223;
219: the current encryption mode of described AP equipment self is set to OPEN+NONE encryption mode, and carries out 223;
Wherein, this scheme is when the corresponding described encryption mode of described STA equipment is described OPEN+NONE encryption mode, only considering to allow described STA equipment access to described AP equipment, the encryption mode of described AP equipment is set to the lower encryption mode of described STA equipment this fail safe of corresponding described encryption mode OPEN+NONE encryption mode.
220: described AP equipment judges whether self current mode of operation is 11B pattern, if so, carries out 222, otherwise, carry out 221;
221: the current mode of operation of described AP equipment self is set to 11B pattern;
222: the current encryption mode of described AP self is set to OPEN+NONE encryption mode, and carries out 223;
223: described AP device synchronization shows/upgrade current WPS version, mode of operation and encryption mode;
Wherein, described AP device synchronization shows/upgrades that current WPS version, mode of operation and encryption mode are by synchronous refresh Internet user interface (World Wide Web User Interface, be called for short WEB UI) or light-emitting diode screen (Light Emitting Diode is called for short LED) realization.
224: described AP equipment and described STA equipment carry out WPS and consults access.
Wherein, described AP equipment and described STA equipment carry out WPS and consult access, comprising:
Described AP equipment is according to the corresponding described WPS version of described STA equipment, the WPS version that described mode of operation self is current and mode of operation are set to and the corresponding described WPS version of described STA equipment, after described mode of operation is consistent, and encryption mode is set to WPS version and the corresponding encryption mode of described mode of operation with described STA equipment, when the described encryption mode that described AP equipment arranges also consistent with described WPS version and the corresponding encryption mode of described mode of operation of described STA equipment, described AP equipment and described STA equipment carry out WPS negotiation, and allow described STA equipment access to described AP equipment.
The embodiment of the present invention receives by AP the WPS request message that STA sends, WPS version, the mode of operation corresponding according to described STA, whether consistent with WPS version, the mode of operation of described STA by judging self current WPS version, mode of operation by AP, if inconsistent, self current WPS version and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and encryption mode is set to the corresponding encryption mode of WPS version, mode of operation with described STA.Can realize WPS version and the mode of operation of STA in the WPS request sending according to STA, self current WPS version, mode of operation and encryption mode is set consistent with it, realize the compatibility of different WPS versions, the STA that realizes different WPS versions is linked into AP.
Fig. 3 is the structural representation of AP equipment one embodiment provided by the invention, and this AP equipment can be used for carrying out the processing method that above-mentioned relevant WPS consults access.As shown in Figure 3, the AP equipment of the present embodiment comprises: receiver module 31, know module 32, module 33 is set and consults access module 34;
Wherein, the Wi-Fi protection that receiver module 31 sends for receiving workstation point STA arranges WPS request message, and wherein, described WPS request message comprises WPS version and the mode of operation that described STA is corresponding; Know that module 32 is for knowing WPS version and the mode of operation of described STA according to described WPS request message; Module 33 is set inconsistent for judging WPS version and the mode of operation of WPS version that AP is current and mode of operation and described STA, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA; Consulting access module 34 carries out WPS for the WPS version by with described STA and the corresponding encryption mode of mode of operation with described STA and consults to access.
Wherein, the described concrete effect that module and described negotiation access module are set, with embodiment of the method is consistent accordingly, repeats no more herein.
In addition, the associated request message that described receiver module also sends for receiving described STA, described associated request message carries the encryption mode that described STA is corresponding.
Further, the described concrete effect that module and described negotiation access module are set, with embodiment of the method is consistent accordingly, repeats no more herein.
Wherein, the WPS that above-mentioned functions module can be used for carrying out the embodiment of the present invention to be provided consults the flow process of the processing method of access, be mainly used in receiving by the receiver module of AP equipment the WPS request message that STA sends, by knowing WPS request message that module receives according to described receiver module, know WPS version and the mode of operation of STA, by module being set according to the WPS version of STA and mode of operation arranges the current WPS version of AP and mode of operation is consistent with WPS version and the mode of operation of described STA, and encryption mode is set to WPS version and the corresponding encryption mode of mode of operation with described STA, by consulting access module, described STA is linked into described AP again, its specific works principle refers to the description of embodiment of the method, do not repeat them here.
By above-mentioned module, the WPS request message that the AP equipment of the present embodiment can send by receiving STA, know WPS version, mode of operation that described STA is corresponding, and judge that whether self current WPS version, mode of operation be consistent with WPS version, the mode of operation of described STA, if inconsistent, WPS version and mode of operation that self current WPS version and mode of operation are set to described STA, and encryption mode is set to the corresponding encryption mode of WPS version, mode of operation with described STA.Can realize WPS version and the mode of operation of STA in the WPS request sending according to STA, self current WPS version, mode of operation and encryption mode is set consistent with it, realize the compatibility of different WPS versions.
Fig. 4 is the structural representation of another embodiment of AP equipment provided by the invention, as shown in Figure 4.This AP equipment comprises information receiving-transmitting device and processor 41 and memory 42, and wherein information receiving-transmitting device can comprise the RF circuit 43 shown in figure or WiFi module 44, carries out reception and the transmission of information by wireless mode.Memory 42 can comprise the memory device of the various ways such as internal memory and hard disk, for storing relevant configuration information, and such as version, mode of operation and encryption mode etc.The Wi-Fi protection that information receiving-transmitting device sends for receiving workstation point STA arranges WPS request message, and wherein said WPS request message comprises WPS version and the mode of operation that described STA is corresponding; Processor 41 is for knowing WPS version and the mode of operation of described STA according to described WPS request message; The WPS version that judgement AP is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA; By the WPS version with described STA and the corresponding encryption mode of mode of operation, carry out WPS with described STA and consult access.
In the AP equipment that the present embodiment provides, can also provide for equipment the power supply 44 of electric weight, and for carrying out the input unit 45 that for example encryption mode is set, and for showing the display unit 46 of the information such as WPS version, mode of operation and encryption mode.
Wherein, the WPS that above-mentioned functions module can be used for carrying out the embodiment of the present invention to be provided consults the flow process of the processing method of access, be mainly used in receiving the WPS request message that STA sends, according to described WPS request message, know WPS version and the mode of operation of STA, and according to the WPS version of STA with mode of operation arranges the current WPS version of AP and mode of operation is consistent with WPS version and the mode of operation of described STA, and encryption mode is set to WPS version and the corresponding encryption mode of mode of operation with described STA, by consulting access module, described STA is linked into described AP again, its specific works principle refers to the description of embodiment of the method, do not repeat them here.
By above-mentioned module, the WPS request message that the AP equipment of the present embodiment can send by receiving STA, know WPS version, mode of operation that described STA is corresponding, and judge that whether self current WPS version, mode of operation be consistent with WPS version, the mode of operation of described STA, if inconsistent, WPS version and mode of operation that self current WPS version and mode of operation are set to described STA, and encryption mode is set to the corresponding encryption mode of WPS version, mode of operation with described STA.Can realize WPS version and the mode of operation of STA in the WPS request sending according to STA, self current WPS version, mode of operation and encryption mode is set consistent with it, realize the compatibility of different WPS versions.
In several embodiment provided by the present invention, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CDs.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. WPS consults a processing method for access, it is characterized in that, comprising:
The Wi-Fi protection that wireless access accessing points AP receiving workstation point STA sends arranges WPS request message, and wherein, described WPS request message comprises WPS version and the mode of operation of described STA;
According to described WPS request message, know WPS version and the mode of operation of described STA;
The WPS version and the mode of operation that judge WPS version that described AP is current and mode of operation and described STA are inconsistent, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA;
Described AP and described STA carry out WPS by the WPS version with described STA and the corresponding encryption mode of mode of operation and consult access.
2. method according to claim 1; it is characterized in that; WPS field and rate set field in the WPS request message that described AP receives, have been carried, the WPS version of STA described in described WPS Related fields, the mode of operation of the WPS version of STA described in described rate set Related fields;
Correspondingly, describedly according to described WPS request message, know that WPS version and the mode of operation of described STA comprise:
Resolve described WPS request message, according to described WPS field and described rate set field, know WPS version and the mode of operation of described STA.
3. method according to claim 1 and 2, it is characterized in that, the WPS version that the described AP of described judgement is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, and the WPS version and the mode of operation that the WPS version of described AP and mode of operation are set to respectively to described STA comprise:
The WPS version that judges WPS version that described AP is current and described STA is inconsistent, and the current mode of operation of described AP is consistent with the mode of operation of described STA, and the WPS version of described AP is set to the WPS version of described STA.
4. method according to claim 1 and 2, it is characterized in that, the WPS version that the described AP of described judgement is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, and the WPS version and the mode of operation that the WPS version of described AP and mode of operation are set to respectively to described STA comprise:
Judge that the current WPS version of described AP is consistent with the WPS version of described STA, the mode of operation that described AP is current and the mode of operation of described STA are inconsistent, and the mode of operation of described AP is set to the mode of operation of described STA.
5. method according to claim 1 and 2, it is characterized in that, the WPS version that the described AP of described judgement is current and WPS version and the mode of operation of mode of operation and described STA are inconsistent, and the WPS version and the mode of operation that the WPS version of described AP and mode of operation are set to respectively to described STA comprise:
The WPS version that judges WPS version that described AP is current and described STA is inconsistent, the mode of operation that described AP is current and the mode of operation of described STA are also inconsistent, the WPS version of described AP is set to the WPS version of described STA, and the mode of operation of described AP is set to the mode of operation of described STA.
6. a wireless access accessing points equipment, is characterized in that, comprising:
Receiver module, the Wi-Fi sending for receiving workstation point STA protection arranges WPS request message, and wherein, described WPS request message comprises WPS version and the mode of operation of described STA;
Know module, for know WPS version and the mode of operation of described STA according to described WPS request message;
Module is set, inconsistent for judging WPS version and the mode of operation of WPS version that described AP is current and mode of operation and described STA, the WPS version of described AP and mode of operation are set to respectively to WPS version and the mode of operation of described STA, and the encryption mode of described AP is set to WPS version and the corresponding encryption mode of mode of operation with described STA;
Consult access module, for the WPS version by with described STA and the corresponding encryption mode of mode of operation, carry out WPS with described STA and consult to access.
7. wireless access accessing points equipment according to claim 6, it is characterized in that, WPS field and rate set field in the WPS request message that described AP receives, have been carried, the WPS version of STA described in described WPS Related fields, the mode of operation of the WPS version of STA described in described rate set Related fields;
Correspondingly, described in, know module specifically for: resolve described WPS request message, according to described WPS field and described rate set field, know WPS version and the mode of operation of described STA.
8. according to the wireless access accessing points equipment described in claim 6 or 7, it is characterized in that, described arrange module specifically for, the WPS version that judges WPS version that described AP is current and described STA is inconsistent, the current mode of operation of described AP is consistent with the mode of operation of described STA, and the WPS version of described AP is set to the WPS version of described STA.
9. according to the wireless access accessing points equipment described in claim 6 or 7, it is characterized in that, described arrange module specifically for, judge that the current WPS version of described AP is consistent with the WPS version of described STA, the mode of operation that described AP is current and the mode of operation of described STA are inconsistent, and the mode of operation of described AP is set to the mode of operation of described STA.
10. according to the wireless access accessing points equipment described in claim 6 or 7, it is characterized in that, described arrange module specifically for, the WPS version that judges WPS version that described AP is current and described STA is inconsistent, the mode of operation that described AP is current and the mode of operation of described STA are also inconsistent, the WPS version of described AP is set to the WPS version of described STA, and the mode of operation of described AP is set to the mode of operation of described STA.
CN201310049254.8A 2013-02-07 2013-02-07 WPS consults the processing method and equipment of access Active CN103987039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310049254.8A CN103987039B (en) 2013-02-07 2013-02-07 WPS consults the processing method and equipment of access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310049254.8A CN103987039B (en) 2013-02-07 2013-02-07 WPS consults the processing method and equipment of access

Publications (2)

Publication Number Publication Date
CN103987039A true CN103987039A (en) 2014-08-13
CN103987039B CN103987039B (en) 2017-11-28

Family

ID=51278841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310049254.8A Active CN103987039B (en) 2013-02-07 2013-02-07 WPS consults the processing method and equipment of access

Country Status (1)

Country Link
CN (1) CN103987039B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020196764A1 (en) * 2001-06-25 2002-12-26 Nec Corporation Method and system for authentication in wireless LAN system
CN1681239A (en) * 2004-04-08 2005-10-12 华为技术有限公司 Method for supporting multiple safe mechanism in wireless local network system
CN1691582A (en) * 2004-04-24 2005-11-02 华为技术有限公司 Method for implementing compatibility between WAPI protocol and 802.1X protocol
CN102215483A (en) * 2010-04-08 2011-10-12 华为终端有限公司 Method and device for performing negotiation according to Wi-Fi protected setup (WPS) protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020196764A1 (en) * 2001-06-25 2002-12-26 Nec Corporation Method and system for authentication in wireless LAN system
CN1681239A (en) * 2004-04-08 2005-10-12 华为技术有限公司 Method for supporting multiple safe mechanism in wireless local network system
CN1691582A (en) * 2004-04-24 2005-11-02 华为技术有限公司 Method for implementing compatibility between WAPI protocol and 802.1X protocol
CN102215483A (en) * 2010-04-08 2011-10-12 华为终端有限公司 Method and device for performing negotiation according to Wi-Fi protected setup (WPS) protocol

Also Published As

Publication number Publication date
CN103987039B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
KR102391098B1 (en) A method and apparatus for profile downloading of group devices
US10117281B2 (en) Wireless provisioning a device for a network using a soft access point
JP6154892B2 (en) Embedded subscriber identity module provisioning
EP3565369B1 (en) Esim card activation method, wireless router and computer storage medium
CN105162748B (en) The processing of electronic user identification module application identifier
CN103167496B (en) Network insertion processing method and system, network access equipment
US20150350879A1 (en) Electronic subscriber identity module application identifier handling
CN105099706A (en) Data communication method, user equipment and server
CN105282731A (en) Method of processing provisioning profile and electronic device for supporting the same
CN103068070A (en) Negotiation method, mobile terminal, base station and communication system of protocol version
CN105009617A (en) Method and apparatus for multisim devices with embedded SIM functionality
CN107801179A (en) For supplying the technology of bootstrapping electronic user identity module (eSIM) to mobile device
US10701050B2 (en) Base station, control method, and storage medium
CN111447608B (en) Communication method and device
KR101919111B1 (en) Advance personalization of eSIM to support massive eSIM delivery
US20210105609A1 (en) Method and apparatus for reinstalling sim profile in wireless communication system
CN101668315B (en) Method and device for operating network elements of different protocol versions
CN104541487A (en) Methods and arrangements for a multistack bluetooth controller
CN103024766A (en) Method for acquiring and providing configuration data, base station equipment and network management system
CN104581721A (en) Dual-card structure-based mobile service data processing method and system, and mobile terminal
CN103987030A (en) Method, device and system for achieving number-portability upgrading network
CN103906174A (en) Device discovery method and terminal
CN103581240A (en) Application program downloading method, user equipment and application server
CN103987039A (en) WPS negotiation access processing method and device
JP2013239096A (en) Application providing terminal, application providing system, application providing method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20190116

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210421

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right