IP Library › Granted Patent US 11,418,388
Granted Patent B2
US 11,418,388 · App. 16/885,370 · Granted Aug 16, 2022

Method for network configuration, and electronic device

Inventors: Qingyuan Wang (Beijing, CN); Zheng Li (Beijing, CN); Shaoze Ma (Beijing, CN)
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
H04L41/0806H04L9/0841H04L9/3226H04L63/083H04W12/0431H04L61/6022
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 11,418,388
App. No.
16/885,370
Granted
Aug 16, 2022
Kind
B2
Abstract

Aspect of the disclosure can provide a method for network configuration that can include broadcasting a probe request frame, the probe request frame carrying device information of a first device, and, responsive to that a predetermined field of a received probe response frame carries predetermined connection information, establishing a first connection, based on the predetermined connection information, with a target router that sent the probe response frame, the probe response frame carrying the predetermined connection information in the predetermined field being sent after the device information is verified. Additionally, the method can include acquiring a second network identifier from the target router based on the first connection, and establishing a second connection with the target router based on the second network identifier, to perform interaction with a second device through the second connection.

Claims (43)

1. A method for network configuration that is applied to a first device, the method comprising:

broadcasting a probe request frame, the probe request frame including device information of the first device;

establishing, based on predetermined connection information, a first connection with a target router that sent a probe response frame including the predetermined connection information in a predetermined field being sent after the device information is verified, when the predetermined field of the received probe response frame carries the predetermined connection information;

acquiring a second network identifier from the target router based on the first connection; and

establishing a second connection with the target router based on the second network identifier in order to perform interaction with a second device through the second connection,

wherein the method further comprises:

performing key negotiation with the target router based on the first connection to obtain a first key and a second key used with the first key in pair,

wherein acquiring the second network identifier from the target router based on the first connection further includes receiving, based on the first connection, the second network identifier and a second password encrypted by the target router according to the first key obtained by negotiation, and

wherein the method further comprises:

decrypting the encrypted second network identifier and second password with the first key or the second key.

2. The method of claim 1 , wherein the probe request frame further includes a first network identifier pre-stored in the first device, and the predetermined connection information includes a Media Access Control (MAC) address of the target router.

3. The method of claim 1 , wherein the predetermined connection information includes a first network identifier and a first password used to access the target router.

4. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an electronic device, cause the electronic device to perform the method for network configuration of claim 1 .

5. A method for network configuration that is applied to a router, the method comprising:

receiving a probe request frame broadcast by a first device, the probe request frame including device information of the first device;

parsing the probe request frame to obtain the device information, and sending the device information to a server;

sending a probe response frame including predetermined connection information in a predetermined field to the first device when receiving verification success information sent by the server based on the device information;

establishing a first connection with the first device based on the predetermined connection information;

sending a second network identifier to the first device based on the first connection; and

establishing a second connection with the first device based on the second network identifier in order to implement transmission of interaction information between the first device and a second device,

wherein the method further comprises:

performing key negotiation with the first device based on the first connection to obtain a first key and a second key used with the first key in pair,

wherein sending the second network identifier to the first device based on the first connection comprises:

sending the second network identifier and a second password encrypted with the first key to the first device based on the first connection; and

wherein establishing the second connection with the first device based on the second network identifier comprises:

establishing the second connection with the first device based on decrypted second network identifier and second password, the decrypted second network identifier and second password being obtained by the first device by decrypting the encrypted second network identifier and second password with the first key or the second key.

6. The method of claim 5 , wherein the probe request frame further carries a first network identifier pre-stored in the first device, and the predetermined connection information comprises a Media Access Control (MAC) address of the router.

7. The method of claim 5 , wherein the predetermined connection information includes a first network identifier and a first password of the router.

8. A router for implementing the method for network configuration of claim 5 .

9. An electronic device, comprising:

a processor; and

a memory that is configured to store instructions executable by the processor,

wherein the processor is configured to execute the instructions stored in the memory to:

broadcast a probe request frame, the probe request frame including device information of the first device;

establish, based on a predetermined connection information, a first connection with a target router that sent a probe response frame including predetermined connection information in the predetermined field that is sent after the device information is verified, when a predetermined field of a received probe response frame carries predetermined connection information;

acquire a second network identifier from the target router based on the first connection; and

establish a second connection with the target router based on the second network identifier in order to perform interaction with a second device through the second connection,

wherein the processor is further configured to:

perform key negotiation with the target router based on the first connection to obtain a first key and a second key used with the first key in pair;

receive, based on the first connection, the second network identifier and a second password encrypted by the target router according to the first key; and

decrypt the encrypted second network identifier and second password with the first key or the second key.

10. The device of claim 9 , wherein the probe request frame further includes a first network identifier pre-stored in the first device, and the predetermined connection information includes a Media Access Control (MAC) address of the target router.

11. The device of claim 9 , wherein the predetermined connection information includes a first network identifier and a first password used to access the target router.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 28, 2020
From: WANG, QINGYUAN; LI, ZHENG; MA, SHAOZE
To: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Reel/Frame 052771/0071 →
Priority Claims (1)
CN 201911122610.8 · Nov 15, 2019 · national
Continuity (1)
Related Publication 20210152421A1 · May 20, 2021
Cited By (1)
US 12,666,242