1. Field of the Invention
The present invention relates to a method for establishing a wireless local area network link, and more particularly, to a method for establishing a wireless local area network link between a station and an access point.
2. Description of the Prior Art
Wireless local area networks have experienced rapid development in commercial and personal applications. Although a WLAN is a convenient and mobile tool, its user has to work through a complicated configuration procedure to establish a link between a station and an access point. The configuration procedure is a big headache for a novice.
In the prior art, a number of WLAN configuration procedures have been introduced to establish a WLAN link between a station and an access point. Some of the configuration procedures are as follows:
1. A user inputs predetermined configuration parameters to the station and the access point, but it is very inconvenient for the user.
2. A temporary link is established between the station and the access point with a preset service set identifier (SSID) and a preset security key, then the SSID and the security key are updated. However, since a temporary link can be established between the station and the access point with the preset SSID and the preset security key, the link is unsafe before the preset SSID and the security key are updated.
3. The user inputs the security key after the configuration procedure is initiated and the indicator on the access point indicates that the security key can be input.
As shown above, prior art fails to teach any convenient and secure method for establishing a WLAN link.
An embodiment of the present invention provides a method for establishing a WLAN (wireless local area network) link. The method comprises an access point updating an SSID (Service Set Identifier) of the access point to generate a new SSID, a station sending out a probe request for the SSID of the access point, the access point sending a probe response containing the new SSID out to the station in response to the request of the station, the station generating a security key according to the new SSID, and establishing a WLAN link between the station and the access point according to the new SSID and the security key.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
1. The user of the station 12 does not need to know the SSID of the access point 14, nor does he need to enter the SSID of the access point 14 from the station 12.
2. The SSID of the access point 14 is hidden. Even if a hacker intercepts data envelopes transferred between the station 12 and the access point 14, the SSID of the access point 14 cannot be easily reinstated. Thus the WLAN system is quite secure.
Further in this embodiment, the security key is generated by a one-way hash function according to the SSID of the access point 14. Thus the station 12 and the access point 14 must use the same one-way hash function. The one-way hash function can be predefined in the station 12 and the access point 14 or can be defined by the user before linking the station 12 and the access point 14. But for security reasons, the one-way hash function must only be accessible by authorized personnel.
Please refer to
If the station 12 is unable to be configured within a second predetermined time (time duration n), the station 12 will return to a previous state. For example, if the station 12 is originally not configured, then the station 12 will return to the “not configured” status. If the station 12 is originally configured, then the station 12 will return to the “configured” status.
After the station 12 determines which access point 14 to link, the station 12 will store the SSID and security key of the determined access point 14, and the determined access point 14 will enter into the operation mode. When a plurality of stations 12 are configuring at the same time, the configurations should be completed in the first predetermined time (time duration t) because the SSID of the access point 14 will be hidden when the first predetermined time has elapsed.
Please refer to
First phase (configuration procedure, shown in
Step 100: trigger a button to initiate the configuration mode of the access point 14;
Step 110: turn off the function to hide the SSID of the access point 14;
Step 120: trigger a button to set the status of the station 12 as “not configured”;
Step 130: the station 12 sends out a probe request to the access point 14;
Step 140: the access point 14 updates its SSID, and sends out the new SSID to the station 12 in a probe response, the new SSID contains the prefix, MAC address and new nonce.
Step 150: the station 12 receives the new SSID from the probe response with the greatest RSSI;
Step 160: initiate the function to hide the SSID of the access point 14;
Step 170: initiate the operation mode of the access point;
Step 180: the station 12 generates a security key according to the new SSID, the security key is a one-way hash function of the MAC address and new nonce of the new SSID;
Step 190: the station 12 stores the new SSID and the security key;
Step 200: set the status of the station 12 as “configured”.
Second phase (operation procedure, shown in
Step 210: the station 12 sends out a probe request to the access point 14;
Step 220: the access point 14 sends out a probe response to the station 12;
Step 230: the station 12 sends out an authentication request to the access point 14;
Step 240: the access point 14 sends out an authentication response to the station 12;
Step 250: the station 12 sends out an association request to the access point 14;
Step 260: the access point 14 sends out an association response to the station 12;
Step 270: Upon the completion of the WLAN link, initiate the WLAN applications.
In conclusion, in an embodiment of the present invention, a WLAN link can be easily established by triggering buttons of the access point and the station. After triggering the buttons, the station scans the SSID of the access point, the access point updates its SSID, and sends out the new SSID to the station in response to the station's request. Then the station generates a security key according to the new SSID, and establish a WLAN link with the access point according to the new SSID and the security key. The WLAN link between the station and the access point is established without the user's involvement. For example, the user does not need to input a copious password or respond to flashing indicators. Thus is very convenient for the user.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
096106265 | Feb 2007 | TW | national |