IP Library Granted Patent US 10,873,900
Granted Patent B2
US 10,873,900 · App. 16/535,850 · Granted Dec 22, 2020

Method for wireless fidelity connection and related products

Inventors: Yi Yu (Guangdong, CN); Shimin Jiang (Guangdong, CN); Yadong Hu (Guangdong, CN); Botao Cu (Guangdong, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04W48/16H04B17/26H04W64/003H04W72/1247H04W76/18
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,873,900
App. No.
16/535,850
Granted
Dec 22, 2020
Kind
B2
Abstract

A method for Wi-Fi connection and related products are provided. The method includes obtaining X parameters of a target access point (AP), where the X parameters at least include a target service set identifier (SSID) of the target AP, and X is a positive integer. A Wi-Fi scan is performed according to the X parameters. In response to unsuccessful finding of the target AP, according to current network environment information, M Wi-Fi connection records are determined from historical Wi-Fi connection data, where each of the M Wi-Fi connection records contains an AP previously connected by a terminal, and M is a positive integer. A Wi-Fi scan is performed according to the target SSID and SSIDs in the M Wi-Fi connection records.

Claims (76)

1. A method for wireless fidelity (Wi-Fi) connection, comprising:

obtaining X parameters of a target access point (AP), the X parameters at least comprising a target service set identifier (SSID) of the target AP, and X being a positive integer;

performing Wi-Fi scan according to the X parameters;

determining, according to current network environment information, M Wi-Fi connection records from historical Wi-Fi connection data in response to unsuccessful finding of the target AP, each of the M Wi-Fi connection records containing an AP previously connected by a terminal, and M being a positive integer; and

performing Wi-Fi scan according to the target SSID and SSIDs in the M Wi-Fi connection records;

wherein performing the Wi-Fi scan according to the target SSID and the SSIDs in the M Wi-Fi connection records comprises:

matching the target SSID with each of the SSIDs in the M Wi-Fi connection records to obtain M matching values;

determining a scan priority sequence of the M Wi-Fi connection records according to the M matching values; and

performing the Wi-Fi scan according to the scan priority sequence and the M Wi-Fi connection records.

2. The method of claim 1 , wherein determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data comprises:

obtaining, from a scan result, information of NAPs each having a null SSID, wherein N is a positive integer; and

determining, according to the information of the NAPs, the M Wi-Fi connection records from the historical Wi-Fi connection data.

3. The method of claim 2 , wherein determining, according to the information of the NAPs, the M Wi-Fi connection records from the historical Wi-Fi connection data comprises:

selecting, from the historical Wi-Fi connection data, A Wi-Fi connection records each containing an AP previously connected by the terminal, wherein A is an integer equal to or larger than M; and

determining, from the A Wi-Fi connection records, M Wi-Fi connection records each containing the same basic service set identifier (BSSID) and the same encryption mode for the BSSID as one of the N APs.

4. The method of claim 1 , wherein the X parameters further comprise a first target encryption mode and a first target password; and

determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data comprises:

obtaining a current position of the terminal;

determining P Wi-Fi connection records from the historical Wi-Fi connection data, wherein each of the P Wi-Fi connection records contains a position of the terminal and an AP previously connected by the terminal, wherein the position of the terminal in each of the P Wi-Fi connection records falls within a preset range with the current position as a center, and P is a positive integer equal to or larger than M; and

selecting the M Wi-Fi connection records from the P Wi-Fi connection records, wherein each of the M Wi-Fi connection records contains the first target encryption mode and the first target password.

5. The method of claim 4 , further comprising:

obtaining the current position through a global positioning system or a Wi-Fi positioning technology.

6. The method of claim 1 , wherein the X parameters further comprise a second target encryption mode and a second target password; and

determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data comprises:

obtaining information of B APs scanned, wherein each of the B APs has a signal strength value higher than a preset threshold, and B is a positive integer;

determining, from the historical Wi-Fi connection data, Q Wi-Fi connection records each containing an AP previously connected by the terminal, wherein each of the Q Wi-Fi connection records contains at least T BSSIDs of the B APs, wherein T is a positive integer smaller than or equal to B; and

selecting the M Wi-Fi connection records from the Q Wi-Fi connection records, wherein for each of the M Wi-Fi connection records the AP previously connected by the terminal has an encryption mode the same as the second target encryption mode, and a password the same as the second target password.

7. The method of claim 1 , further comprising:

matching each character of the target SSID with each character of each of the SSIDs in the M Wi-Fi connection records.

8. A terminal, comprising:

at least one processor; and

a computer readable storage, coupled to the at least one processor and storing at least one computer executable instruction thereon which, when executed by the at least one processor, causes the at least one processor to carry out actions, comprising:

obtaining X parameters of a target access point (AP), the X parameters at least comprising a target service set identifier (SSID) of the target AP, and X being a positive integer;

performing wireless fidelity (Wi-Fi) scan according to the X parameters;

determining, according to current network environment information, M Wi-Fi connection records from historical Wi-Fi connection data in response to unsuccessful finding of the target AP, each of the M Wi-Fi connection records containing an AP previously connected by the terminal, and M being a positive integer; and

performing Wi-Fi scan according to the target SSID and SSIDs in the M Wi-Fi connection records;

wherein the at least one processor configured to carry out performing the Wi-Fi scan according to the target SSID and the SSIDs in the M Wi-Fi connection records is configured to carry out actions, comprising:

matching the target SSID with each of the SSIDs in the M Wi-Fi connection records to obtain M matching values;

determining a scan priority sequence of the M Wi-Fi connection records according to the M matching values; and

performing the Wi-Fi scan according to the scan priority sequence and the M Wi-Fi connection records.

9. The terminal of claim 8 , wherein the at least one processor configured to carry out determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data is configured to carry out actions, comprising:

obtaining, from a scan result, information of NAPs each having a null SSID, wherein N is a positive integer; and

determining, according to the information of the NAPs, the M Wi-Fi connection records from the historical Wi-Fi connection data.

10. The terminal of claim 9 , wherein the at least one processor configured to carry out determining, according to the information of the N APs, the M Wi-Fi connection records from the historical Wi-Fi connection data is configured to carry out actions, comprising:

selecting, from the historical Wi-Fi connection data, A Wi-Fi connection records each containing an AP previously connected by the terminal, wherein A is an integer equal to or larger than M; and

determining, from the A Wi-Fi connection records, M Wi-Fi connection records each containing the same basic service set identifier (BSSID) and the same encryption mode for the BSSID as one of the N APs.

11. The terminal of claim 8 , wherein the at least one processor configured to carry out determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data is configured to carry out actions, comprising:

obtaining a current position of the terminal;

determining P Wi-Fi connection records from the historical Wi-Fi connection data, wherein each of the P Wi-Fi connection records contains a position of the terminal and an AP previously connected by the terminal, wherein the position of the terminal in each of the P Wi-Fi connection records falls within a preset range with the current position of the terminal as a center, and P is a positive integer equal to or larger than M; and

selecting the M Wi-Fi connection records from the P Wi-Fi connection records, wherein the X parameters further comprise a first target encryption mode and a first target password, each of the M Wi-Fi connection records contains the first target encryption mode and the first target password.

12. The terminal of claim 11 , wherein the at least one processor is further configured to carry out an action, comprising:

obtaining the current position of the terminal through a global positioning system or a Wi-Fi positioning technology.

13. The terminal of claim 8 , wherein the at least one processor configured to carry out determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data is configured to carry out actions, comprising:

obtaining information of B APs scanned, wherein each of the B APs has a signal strength value higher than a preset threshold, and B is a positive integer;

determining, from the historical Wi-Fi connection data, Q Wi-Fi connection records each containing an AP previously connected by the terminal, wherein each of the Q Wi-Fi connection records contains at least T BSSIDs of the B APs, wherein T is a positive integer smaller than or equal to B; and

selecting the M Wi-Fi connection records from the Q Wi-Fi connection records, wherein the X parameters further comprise a second target encryption mode and a second target password, for each of the M Wi-Fi connection records the AP previously connected by the terminal has an encryption mode the same as the second target encryption mode, and a password the same as the second target password.

14. The terminal of claim 8 , wherein the at least one processor is further configured to carry out an action, comprising:

matching each character of the target SSID with each character of each of the SSIDs in the M Wi-Fi connection records.

15. A non-transitory computer readable storage medium storing at least one computer program which, when executed by at least one processor, causes the at least one processor to carry out actions, comprising:

obtaining X parameters of a target access point (AP), the X parameters at least comprising a target service set identifier (SSID) of the target AP, and X being a positive integer;

performing Wi-Fi scan according to the X parameters;

determining, according to current network environment information, M Wi-Fi connection records from historical Wi-Fi connection data in response to unsuccessful finding of the target AP, each of the M Wi-Fi connection records containing an AP previously connected by a terminal, and M being a positive integer; and

performing Wi-Fi scan according to the target SSID and SSIDs in the M Wi-Fi connection records;

wherein the X parameters further comprise a second target encryption mode and a second target password, and determining, according to the current network environment information, the M Wi-Fi connection records from the historical Wi-Fi connection data comprises:

obtaining information of B APs scanned, wherein each of the B APs has a signal strength value higher than a preset threshold, and B is a positive integer;

determining, from the historical Wi-Fi connection data, Q Wi-Fi connection records each containing an AP previously connected by the terminal, wherein each of the Q Wi-Fi connection records contains at least T BSSIDs of the B APs, wherein T is a positive integer smaller than or equal to B; and

selecting the M Wi-Fi connection records from the Q Wi-Fi connection records, wherein for each of the M Wi-Fi connection records the AP previously connected by the terminal has an encryption mode the same as the second target encryption mode, and a password the same as the second target password.

16. The non-transitory computer readable storage medium of claim 15 , wherein the at least one computer program executed by the at least one processor to carry out the action of performing the Wi-Fi scan according to the target SSID and the SSIDs in the M Wi-Fi connection records is executed by the at least one processor to carry out actions, comprising:

matching the target SSID with each of the SSIDs in the M Wi-Fi connection records to obtain M matching values;

determining a scan priority sequence of the M Wi-Fi connection records according to the M matching values; and

performing the Wi-Fi scan according to the scan priority sequence and the M Wi-Fi connection records.

17. The non-transitory computer readable storage medium of claim 16 , wherein the at least one computer program is further executed by the at least one processor to carry out actions, comprising:

matching each character of the target SSID with each character of each of the SSIDs in the M Wi-Fi connection records.

18. The non-transitory computer readable storage medium of claim 15 , wherein the at least one computer program executed by the at least one processor to carry out the action of performing the Wi-Fi scan according to the target SSID and the SSIDs in the M Wi-Fi connection records is executed by the at least one processor to carry out actions, comprising:

matching the target SSID with each of the SSIDs in the M Wi-Fi connection records to obtain a target Wi-Fi connection record; and

performing the Wi-Fi scan according to the target Wi-Fi connection record.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2019
From: YU, YI; JIANG, SHIMIN; HU, YADONG; CU, BOTAO
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 050004/0584 →
Priority Claims (1)
CN 2017 1 0090717 · Feb 20, 2017 · national
Continuity (2)
Continuation PCTCN2017103174 · Sep 25, 2017
Related Publication 20190364493A1 · Nov 28, 2019