Consistency checking of a delegated trigger in an automated environment
AssigneeApple Inc.
InventorsAnush G. Nadathur, Kevin P. McLaughlin, Nathan E. Carroll
Life of this patent
Estimating the term…
Abstract
A first device can receive a delegation message from a second device. The delegation message can include a trigger data object that defines a triggered action set including a triggering event and an action to be performed by an accessory device in response to the triggering event. The first device can perform consistency checking of the received trigger data object relative to one or more previously received trigger data objects to determine whether a conflict exists.
Claims20
A method comprising:
- receiving, by a first electronic device, a delegation message from a second electronic device, the delegation message including a first trigger data object that defines a triggered action set, the triggered action set including a triggering event and an action to be performed by one or more accessory devices in response to detecting, by the first electronic device, the triggering event and sending, by the first electronic device, a control message to the one or more accessory devices;
- receiving, by the first electronic device, a second delegation message from the second electronic device, the second delegation message being different from the first delegation message, the second delegation message including a second trigger data object that defines a second triggered action set, the second triggered action set including a second triggering event and a second action to be performed by a second set of one or more accessory devices in response to detecting, by the first electronic device, the second triggering event and sending, by the first electronic device, a second control message to the second set of one or more accessory devices;
- performing, by the first electronic device, consistency checking of the second trigger data object relative to the first trigger data object to determine whether a trigger conflict exists;
- in accordance with a determination that the trigger conflict exists, sending, by the first electronic device, a notification to the second electronic device that the trigger conflict exists;
- and
- in response to determining that the trigger conflict does not exist, executing, by the first electronic device, the second triggered action set, wherein executing the second triggered action set includes detecting the second triggering event and sending the second control message to the second set of one or more accessory devices in response to detecting the second triggering event.
A first electronic device comprising:
- a communications interface;
- and
- a processor coupled to the communications interface, the processor being configured to:
- receive, by the processor of the first electronic device, a first delegation message from a second electronic device, the first delegation message including a first trigger data object that defines a triggered action set, the triggered action set including a triggering event and an action to be performed by one or more accessory devices in response to detecting, by the first electronic device, the triggering event and sending, by the first electronic device, a control message to the one or more accessory devices;
- receive, by the processor of the first electronic device, a second delegation message from the second electronic device, the second delegation message being different from the first delegation message, the second delegation message including a second trigger data object that defines a second triggered action set, the second triggered action set including a second triggering event and a second action to be performed by a second set of one or more accessory devices in response to detecting, by the first electronic device, the second triggering event and sending, by the first electronic device, a second control message to the second set of one or more accessory devices;
- perform, by the processor of the first electronic device, consistency checking of the second trigger data object relative to the first trigger data object to determine whether a trigger conflict exists;
- in accordance with a determination that the trigger conflict exists, send, by the processor of the first electronic device, a notification to the second electronic device that the trigger conflict exists;
- and
- in response to determining that the trigger conflict does not exist, execute, by the processor of the first electronic device, the second triggered action set, wherein executing the triggered action set includes detecting the second triggering event and sending the second control message to the second set of accessory devices in response to detecting the triggering event.
A non-transitory computer readable storage medium having stored therein program code that, when executed by a processor in a first electronic device, cause the first electronic device to perform operations comprising:
- receiving, by the processor of the first electronic device, a first delegation message from a second electronic device, the first delegation message including a first trigger data object that defines a triggered action set, the triggered action set including a triggering event and an action to be performed by one or more accessory devices in response to detecting, by the first electronic device, the triggering event and sending, by the first electronic device, a control message to the one or more accessory devices;
- receiving, by the first electronic device, a second delegation message from the second electronic device, the second delegation message being different from the first delegation message, the second delegation message including a second trigger data object that defines a second triggered action set, the second triggered action set including a second triggering event and a second action to be performed by a second set of one or more accessory devices in response to detecting, by the first electronic device, the second triggering event and sending, by the first electronic device, a second control message to the second set of one or more accessory devices;
- performing, by the processor of the first electronic device, consistency checking of the second trigger data object relative to the first trigger data object to determine whether a trigger conflict exists;
- in accordance with a determination that the trigger conflict exists, sending, by the processor of the first electronic device, a notification to the second electronic device that the trigger conflict exists;
- and
- in response to determining that the trigger conflict does not exist, executing, by the processor of the first electronic device, the second triggered action set, wherein executing the second triggered action set includes detecting the second triggering event and sending the second control message to the second set of one or more accessory devices in response to detecting the second triggering event.
Dependencies are inferred from the claim text.