Patent ID: 11929872
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 16:
17. An electronic device, comprising:
a first antenna and a second antenna, wherein a transmit distance of the first antenna is a first distance, a transmit distance of the second antenna is a second distance, the first distance is less than the second distance;
one or more processors; and
a memory coupled to the one or more processors and configured to store a code, wherein when executed by the one or more processors, the code causes the electronic device to perform:
displaying a first interface of a first application (APP) installed in the electronic device, wherein the first interface is used to trigger the electronic device to perform batch network configuration for a plurality of home devices;
displaying a second interface in response to a first operation of a user on the first interface, wherein the second interface is used to set a quantity and at least one device type of home devices to be network-configured, and the device type is classified based on a function of the home device;
receiving and displaying a quantity M that is set by the user on the second interface, and receiving and displaying a device type of M home devices that is set by the user on the second interface, wherein M≥2, and M is a positive integer;
requesting a cloud server to allocate a registration credential to the M home devices in response to a second operation of the user on the second interface, wherein the cloud server is a server of the first APP; and
broadcasting a first message by using the first antenna, wherein the first message comprises the registration credential, and a service set identifier (SSID) and an access password of a wireless local area network, and the first message is used to indicate the M home devices to access the wireless local area network and register with the cloud server based on the registration credential.