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

Claim 0:
1. A method for configuring home devices in batches, used by an electronic device to perform batch network configuration for a plurality of home devices, wherein a first application (APP) is installed in the electronic device, the electronic device comprises a first antenna and a second antenna, 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, and the method comprises:
displaying, by the electronic device, a first interface of the first APP, wherein the first interface is used to trigger the electronic device to perform batch network configuration for the plurality of home devices;
displaying, by the electronic device, 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, by the electronic device, 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, by the electronic device, 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, by the electronic device, 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.