Device Control Method and Device
AssigneeHuawei Technologies Co., Ltd.
InventorsWei Shi, Li Yi
Life of this patent
Estimating the term…
Abstract
A device control method is disclosed. When a first device and a second device are required to perform actions, a first instruction is sent to the first device, and a second instruction is sent to the second device after a first time interval; and when the first device, the second device, and a third device are required to perform actions, the first instruction is sent to the first device, the second instruction is sent to the second device after the first time interval, and a third instruction is sent to the third device after a second time interval, where the second time interval is greater than the first time interval, so that the third device performs a third action after a delay.
Claims20
-14. (canceled)
A method, comprising:
- displaying a first interface, wherein the first interface comprises a first condition, a name of a first device, and a name of a second device;
- determining a first time interval based on a first parameter of the first device and a second parameter of the second device, wherein the first parameter is related to a first surge current of the first device, and the second parameter is related to a second surge current of the second device;
- when the first interface is displayed, in response to the first condition being satisfied, sending a first instruction to the first device, and sending a second instruction to the second device after the first time interval, wherein the first instruction enables the first device to perform a first action, and the first action generates the first surge current, and wherein the second instruction enables the second device to perform a second action, and the second action generates the second surge current;
- displaying a second interface, wherein the second interface comprises the first condition, the name of the first device, the name of the second device, and a name of a third device;
- determining a second time interval based on the first parameter, the second parameter, and a third parameter of the third device, wherein the third parameter is related to a third surge current of the third device;
- and
- when the second interface is displayed, in response to the first condition being satisfied, sending the first instruction to the first device, sending the second instruction to the second device after the first time interval, and sending a third instruction to the third device after the second time interval, wherein the third instruction enables the third device to perform a third action, the third action generates the third surge current, and the second time interval is greater than the first time interval.
An electronic device, comprising:
- one or more processors;
- and
- one or more memories;
- wherein the one or more memories are coupled to the one or more processors, the one or more memories are configured to store computer program code, the computer program code comprises computer instructions, and when the one or more processors execute the computer instructions, the electronic device is caused to:
- display a first interface, wherein the first interface comprises a first condition, a name of a first device, and a name of a second device;
- determine a first time interval based on a first parameter of the first device and a second parameter of the second device, wherein the first parameter is related to a first surge current of the first device, and the second parameter is related to a second surge current of the second device;
- when the first interface is displayed, in response to the first condition being satisfied, send a first instruction to the first device, and send a second instruction to the second device after the first time interval, wherein the first instruction enables the first device to perform a first action, and the first action generates the first surge current, and wherein the second instruction enables the second device to perform a second action, and the second action generates the second surge current;
- display a second interface, wherein the second interface comprises the first condition, the name of the first device, the name of the second device, and a name of a third device;
- determine a second time interval based on the first parameter, the second parameter, and a third parameter of the third device, wherein the third parameter is related to a third surge current of the third device;
- and
- when the second interface is displayed, in response to the first condition being satisfied, send the first instruction to the first device, send the second instruction to the second device after the first time interval, and send a third instruction to the third device after the second time interval, wherein the third instruction enables the third device to perform a third action, the third action generates the third surge current, and the second time interval is greater than the first time interval.
A system, comprising:
- an electronic device;
- a server;
- a first device;
- a second device;
- and
- a third device;
- wherein the electronic device is configured to:
- display a first interface, wherein the first interface comprises a first condition, a name of the first device, and a name of the second device;
- determine a first time interval based on a first parameter of the first device and a second parameter of the second device, wherein the first parameter is related to a first surge current of the first device, and the second parameter is related to a second surge current of the second device;
- wherein the server is configured to:
- in response to the first condition being satisfied, send a first instruction to the first device, and send a second instruction to the second device after the first time interval;
- wherein the first device is configured to perform a first action in response to receiving the first instruction, wherein the first action generates the first surge current;
- wherein the second device is configured to perform a second action in response to receiving the second instruction, wherein the second action generates the second surge current;
- wherein the electronic device is further configured to:
- display a second interface, wherein the second interface comprises the first condition, the name of the first device, the name of the second device, and a name of the third device;
- determine a second time interval based on the first parameter, the second parameter, and a third parameter of the third device, wherein the third parameter is related to a third surge current of the third device;
- wherein the server is configured to:
- in response to the first condition being satisfied, send the first instruction to the first device, send the second instruction to the second device after the first time interval, and send a third instruction to the third device after the second time interval;
- and
- wherein the third device is configured to perform a third action in response to receiving the third instruction, wherein the third action generates the third surge current, and the second time interval is greater than the first time interval.
Dependencies are inferred from the claim text.