Patent ID: 11972761
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A method for controlling an electronic device, the method comprising:
obtaining information on a plurality of functions and a voice command for executing the plurality of functions, and functional environment information for executing the plurality of functions;
determining an environment of the electronic device required to execute the plurality of functions based on the functional environment information when a received user's voice corresponds to the voice command; and
determining that the electronic device executes the plurality of functions when the environment of the electronic device matches the determined environment based on the environment information of the electronic device, and execute the plurality of functions corresponding to the voice command, and
determining that the electronic device does not execute the plurality of functions when the environment of the electronic device does not match the determined environment based on the environment information of the electronic device, and setting an environment of the electronic device based on the functional environment information and executing the plurality of functions corresponding to the voice command based on the set environment, or providing a guide related to the plurality of functions,
wherein the environment information of the electronic device and the functional environment information include at least one of information on hardware included in the electronic device, setting information of the electronic device, or information on an application installed in the electronic device.