| CPC H04W 4/026 (2013.01) [G06T 7/521 (2017.01); H04W 4/33 (2018.02); G06T 2207/10028 (2013.01)] | 20 Claims |

|
1. An electronic device comprising:
communication circuitry;
a depth camera;
at least one processor; and
memory storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain distance information and direction information about a first external device disposed in a first room defining a first space of an enclosed area using the communication circuitry, and obtain first distance information between the electronic device and an object separating the first room from a second room defining another space of the enclosed area, wherein the first distance information indicates a distance range between the object and the electronic device using the depth camera, the object separating the first room from the second room, and
when identifying that the first external device is located within the distance range between the object and the electronic device representing the first distance information based on the distance information and the direction information about the first external device and the first distance information, the electronic device identifies that the first external device is located in the first room defining the first space, and groups the first external device as a device in the first room.
|