IP Library › Granted Patent US 10,880,817
Granted Patent B2
US 10,880,817 · App. 16/301,188 · Granted Dec 29, 2020

Wi-fi configuration method, Wi-Fi mobile terminal, and Wi-Fi device

Inventors: Shunbao Wang (Shenzhen, CN); Jianfeng Xu (Shenzhen, CN); Chen Zhang (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
H04W48/10H04L1/0061H04W8/005H04W12/003H04W48/16H04W48/20H04W76/11H04W80/02H04W84/12
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,880,817
App. No.
16/301,188
Granted
Dec 29, 2020
Kind
B2
Abstract

This application provides a Wi-Fi configuration method, a Wi-Fi mobile terminal, and a Wi-Fi device. The Wi-Fi mobile terminal constructs an information string according to obtained Wi-Fi networking parameters, adds information of the information string to a plurality of multicast packets, and sends the plurality of multicast packets to the Wi-Fi device. The Wi-Fi device parses the plurality of received multicast packets according to a method for carrying the information string by the multicast packets, decapsulates the information string according to a method for constructing the information string, to obtain the Wi-Fi networking parameters, and further sends a connection request to a wireless router according to the obtained Wi-Fi networking parameters, to establish a connection to the wireless router. An AP to which the Wi-Fi mobile terminal is connected does not need to be switched, so that initial networking configuration of the Wi-Fi device can be quickly completed.

Claims (16)

1. A Wi-Fi configuration method comprising:

externally releasing a service set identifier (SSID), to trigger a Wi-Fi mobile terminal to discover a Wi-Fi device through scanning;

receiving a plurality of multicast packets, wherein the plurality of multicast packets carry an information string, the information string carries Wi-Fi networking parameters, and the Wi-Fi networking parameters comprise attribute fields: a Wi-Fi name and a Wi-Fi password of a wireless router to which the Wi-Fi device is to be connected to;

locking, according to destination MAC address prefixes of the plurality of multicast packets, Wi-Fi channels and multicast source MAC addresses that are of the plurality of multicast packets;

identifying, according to the locked Wi-Fi channels and multicast source MAC addresses, the plurality of multicast packets sent by the Wi-Fi mobile terminal;

determining sequence numbers of the plurality of multicast packets according to a length value of each multicast packet;

placing, according to the sequence numbers of the plurality of multicast packets, information string parts corresponding to the sequence numbers of the multicast packets to locations that are corresponding to the sequence numbers and that are in created buffer space, wherein a length of the created buffer space is greater than a total length of the plurality of multicast packets;

locating, according to a destination MAC address of a preamble multicast packet, a field in which a string length value of the information string is located and that is in the created buffer space;

obtaining the string length value according to the field in which the string length value is located, and determining, according to the string length value, whether the information string is completely received;

when the information string is completely received, completing the reception of the plurality of multicast packets according to the string length value, and after the plurality of multicast packets are completely received, stopping receiving the plurality of multicast packets, and obtaining the information of the information string;

decomposing the information string according to a method for constructing the information string to obtain an attribute field string of the information string and a string length value that represents a length of the attribute field string;

decomposing the attribute field string according to a method for forming the attribute field string through combination to obtain a plurality of attribute fields in the attribute field string;

decapsulating the plurality of attribute fields using a preset format to obtain the Wi-Fi networking parameters; and

sending, according to the Wi-Fi networking parameters, a connection request to a wireless router corresponding to the Wi-Fi name to establish a connection to the wireless router.

2. The method according to claim 1 , further comprising:

after the Wi-Fi device fails to connect to the wireless router, changing the service set identifier (SSID) of the Wi-Fi device, re-releasing an updated SSID, and transferring a Wi-Fi configuration failure cause to the Wi-Fi mobile terminal using the updated SSID.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 5, 2019
From: WANG, SHUNBAO; XU, JIANFENG; ZHANG, CHEN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 049960/0164 →
Priority Claims (1)
CN 2016 1 0319699 · May 13, 2016 · national
Continuity (1)
Related Publication 20190141614A1 · May 9, 2019
Cited By (2)
US 12,665,949 US 12,739,839