CPC H04L 12/282 (2013.01) [H04L 12/2825 (2013.01); H04L 41/0879 (2013.01); H04L 2012/2841 (2013.01)] | 18 Claims |
1. An electronic device comprising:
communication circuitry;
a processor operatively connected to the communication circuitry; and
memory for storing computer program code,
wherein, when executed by the processor, the computer program code causes the electronic device to:
based on detecting execution of a first operation by a first Internet of Things (IoT) device:
obtain, from the memory, a first instruction to operate the first IoT device,
identify whether there is a request from a user to modify the first instruction,
if there is no request from the user to modify the first instruction, transmit the first instruction to the first IoT device to operate the first IoT device,
if there is the request from the user to modify the first instruction:
modify the first instruction based on the request, and
transmit the modified first instruction to the first IoT device to operate the first IoT device, and
monitor execution of a second operation, wherein the second operation is executed by the first IoT device in response to the first instruction or the modified first instruction,
wherein the computer program code further causes the electronic device to:
modify, based on a selection of the user, at least one configuration element included in the first instruction, the at least one configuration element being one of: operation modes of the first IoT device, a total operation time, an operation order of the operation modes, and an operation time for each operation mode, and
transmit, to a server, the first instruction or the modified first instruction for sharing with at least one user having a IoT device corresponding to the first IoT device.
|