METHOD AND SYSTEM FOR AUTOMATIC ACCESS TO WI-FI NETWORK
A method for automatically allowing access to a WI-FI network by a mobile device can be applied to a mobile device and a WI-FI access point (AP). The mobile device includes a first microphone, first wireless communicating unit, and first processing unit. The first microphone obtains ambient sound, and the first wireless communicating unit can transmit accessing request. The mobile device can receive a password-generating command from a found WI-FI AP. The WI-FI AP comprises second microphone, second wireless communicating unit, and second processing unit. The second microphone also obtains ambient sound. The second wireless communicating unit receives the accessing request and transmits the password-generating command. The second processing unit generates an AP password according to the ambient sound and can compare a device password received from the mobile device. The mobile device is allowed to access the WI-FI AP when the device password matches with the AP password.
This application is a Continuation of pending U.S. patent application Ser. No. 16/363,729, filed on Mar. 25, 2019 and entitled “METHOD AND SYSTEM FOR AUTOMATIC ACCESS TO WI-FI NETWORK”, the entirety content of which is incorporated by reference herein.
FIELDThe subject matter herein generally relates to wireless security.
BACKGROUNDTo establish a connection between a WI-FI access point (AP) and a mobile device, a name and password must be given to the AP. Users need turn on the WI-FI function of their mobile device and scan for the local AP. To create the connection between mobile device and the AP, users need to choose the AP and key-in name and password. The process of connection can be more convenient for the user.
Free WI-FI can be found in the bus stations, the restaurants, the convenience stores, etc. The user device can record the password after connecting to the AP. The mobile device can be connected to the AP automatically when the mobile device again enters the coverage of the wireless signal. However, wireless signal quality may be low when there are many devices connected to the AP, the Administrator of the AP may change the password frequently in such situations, to improve the signal quality and avoid non-customers using the AP. Such a system is inconvenient in management and in use.
Many aspects of the present disclosure are better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts have been exaggerated to better illustrate details and features of the present disclosure.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one”.
The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series, and the like.
An accessing request is first transmitted to the WI-FI AP 120 by the first communicating unit 113 of the mobile device 110. The password-generating command is transmitted to the first communication unit 113 of the mobile device 110 after the WI-FI AP 120 receives the accessing request from the device 110. The first password which is generated by the first processing unit 112 can be transmitted to the WI-FI AP 120 by the first communicating unit 113 of the mobile device 110.
The first processing unit obtains values of first sound information on N sampling points according to the sampling time and the parameter of sampling frequency, a first 1st string is obtained by value of 1st sampling point of the first sound information subtract value of initial sampling point of the first sound information, a first Nth string is obtained by value of Nth sampling point of the first sound information subtract value of N−1th sampling point of the first sound information (N is a positive integer greater than 0). The first Nth string is presented in the form of XYY. X is set 1 when value of Nth sampling point of the first sound information subtract value of N−1th sampling point of the first sound information greater than 0 (set X=1 when (first Nth string−first N−1th string)≥0). X is set 0 when value of first Nth sampling point of the first sound information subtract value of first N−1th sampling point of the first sound information less than 0 (set X=0 when (first Nth string−first N−1th string)<0). YY is set as a quotient when value of first Nth sampling point of the first sound information subtract value of first N−1th sampling point of the first sound information divided by 3 (set YY=(first Nth string−first N−1th string)/3). The first password is generated by making CRC transformation with a first string which strings by the first 1st string to the first Nth string.
The second processing unit obtains values of second sound information on N sampling points according to the sampling time and the parameter of sampling frequency, a second 1st string is obtained by value of second 1st sampling point of the second sound information subtract value of initial sampling point of the second sound information, a second Nth string is obtained by value of second Nth sampling point of the second sound information subtract value of second N−1th sampling point of the second sound information (N is a positive integer greater than 0). The second Nth string is presented in the form of XYY. X is set 1 when value of second Nth sampling point of the second sound information subtract value of second N−1th sampling point of the second sound information greater than 0 (set X=1 when (second Nth string−second N−1th string)≥0). X is set 0 when value of second Nth sampling point of the second sound information subtract value of second N−1th sampling point of the second sound information less than 0 (set X=0 when (second Nth string−second N−1th string)<0). YY is set as a quotient when value of second Nth sampling point of the second sound information subtract value of second N−1th sampling point of the second sound information divided by 3 (set YY=(second Nth string−second N−1th string)/3). The second password is generated by making CRC transformation with a second string which strings by the second 1st string to the second Nth string.
As shown in
The system and method for automatically access the WI-FI network according to an embodiment of the disclosure enable the WI-FI AP to obtain environmental sound information by the WI-FI AP or the microphone on the same network. The mobile device is permitted to access to the WI-FI AP according to the characteristics of sound information. The authentication of the mobile device to access the WI-FI AP is invalid when the mobile device leaves the environment. The disclosure does not use the sound information of the environment directly in order to avoid the influence caused by the different sound source distances. The disclosure obtains the characteristics of the sound information of the environment according to analysis the difference of the sampling frequency data. The disclosure not only provides a method for automatically access to the WI-FI AP, but also reserves the wireless resource to the most needed users.
The embodiments shown and described above are only examples. Therefore, many such details of the art are neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, especially in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.
Claims
1. A mobile device connecting with a WI-FI access point, the mobile device comprising:
- a microphone, obtaining a first sound information;
- a communicating unit, transmitting an accessing command, receiving a password-generating command, transmitting a first password and receiving a second password wherein the second password is generated from a second sound information by the WI-FI access point;
- a processing unit, obtaining the first sound information from to the microphone, generating the first password from the first sound information according to the password-generating command, and comparing the first password with the second password, wherein the processing unit set the mobile device be permitted to access the WI-FI access point if the first password matches with the second password.
2. The mobile device of claim 1, wherein the password-generating command comprises a parameter of start time and a parameter of sampling frequency, the processing unit obtains sampling time of the first sound information according to the parameter of start time.
3. The mobile device of claim 2, wherein the processing unit obtains values of the first sound information on N sampling points according to the sampling time and the parameter of sampling frequency, a first 1st string is obtained by a value of 1st sampling point of the first sound information subtract a value of initial sampling point of the first sound information, a first Nth string is obtained by a value of Nth sampling point of the first sound information subtract a value of N−1th sampling point of the first sound information, N being a positive integer greater than 0, the first password is generated by making cyclic redundancy check (CRC) transformation with a string which strings by the first 1st string to the first Nth string.
4. The mobile device of claim 1, wherein the mobile device is permitted to access a WI-FI access point in a period of time, the first password becomes invalid by the processing unit when the mobile device has accessed the WI-FI access point over the period of time, the mobile device transmits the accessing request to the WI-FI access point when the mobile device is disconnected by the WI-FI access point.
5. A WI-FI access point, comprising:
- a communicating unit, receiving an accessing request, transmitting a password-generating command and receiving a first password wherein the first password is generated from a first sound information by a mobile device;
- a microphone, obtaining a second sound information;
- a processing unit, obtaining the accessing request and the first password according the communicating unit, obtaining the second sound information from the microphone, generating a second password from the second sound information according to the password-generating command, comparing the first password with the second password, wherein the processing unit set the mobile device be permitted to access the WI-FI access point if the first password matches with the second password.
6. The WI-FI access point of claim 5, wherein the password-generating command comprises a parameter of start time and a parameter of sampling frequency, the processing unit obtains sampling time of the second sound information according to the parameter of start time.
7. The WI-FI access point of claim 6, wherein the processing unit obtains values of the second sound information on N sampling points according to the sampling time and the parameter of sampling frequency, a second 1st string is obtained by a value of 1st sampling point of the second sound information subtract a value of initial sampling point of the second sound information, a second Nth string is obtained by a value of Nth sampling point of the second sound information subtract a value of N−1th sampling point of the second sound information, N being a positive integer greater than 0, the second password is generated by making cyclic redundancy check (CRC) transformation with a string which strings by the second 1st string to the second Nth string.
8. The WI-FI access point of claim 5, wherein the WI-FI access point is permitted to access in a period of time, the first password becomes invalid by the processing unit when the mobile device has accessed the WI-FI access point over the period of time, the mobile device transmits the accessing request to the WI-FI access point when the mobile device is disconnected by the WI-FI access point.
9. A method of automatically access to WI-FI network, the method comprising:
- transmitting an accessing request to a WI-FI access point by a mobile device;
- receiving the accessing request by the WI-FI access point;
- obtaining a first sound information of an ambience of the mobile device by a first microphone;
- obtaining a second sound information of an ambience of the WI-FI access point by a second microphone;
- generating a first password from the first sound information by the mobile device;
- generating a second password from the second sound information by the WI-FI access point;
- transmitting the first password to the WI-FI access point by the mobile device;
- receiving the first password by the WI-FI access point;
- comparing the first password and the second password; and
- permitting the mobile device to access the WI-FI access point if the first password matches with the second password.
10. The method of claim 9, wherein the mobile device is permitted to access the WI-FI access point in a period of time, the method further comprising:
- invalidating the first password when the mobile device has accessed the WI-FI access point longer than the period of time, and
- transmitting, by the mobile device, the accessing request to the WI-FI access point when the mobile device is disconnected by the WI-FI access point.
Type: Application
Filed: Dec 22, 2021
Publication Date: Apr 14, 2022
Inventor: SHIH-JUNG YEN (New Taipei)
Application Number: 17/559,247