# US 2021/0341889 A1 · Coordinationg modifications by multiple users to a shared automated environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0341889 A1
- Document ID: US20210341889A1
- Status: Published application
- Kind: A1
- Application number: 17/314,957
- Filed: 2021-05-07
- Published: 2021-11-04
- Earliest claimed: 2016-06-12
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Matthew C. Lucas; Anush G. Nadathur; Nathan E. Carroll
- Web page: https://patentgrep.com/patent/US20210341889A1

## CPC

- G05B 15/02: electric
- H04L 12/2809: {indicating that an appliance service is present in a home automation network (monitoring functionality H04L43/0817; discovery or management thereof, e.g. service location protocol [SLP] or web services, H04L67/51)}
- H04L 63/104: {Grouping of entities}
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Modifications made by multiple controller devices to an environment model describing a shared automated environment can be coordinated. One of the controller devices can be designated as a coordinator, and any controller device other than the coordinator can send an update request to the coordinator. The coordinator can determine whether to accept or reject the requested modification and can report its determination to the requesting controller device. If the coordinator accepts the request, the coordinator can instigate operations to update the environment model across all controller devices of all users. If the coordinator rejects the request, the environment model is not updated. The controller device that made the request can update its local copy of the environment model and roll back the update if the request is rejected.

## Claims

### Claim 1

A method, comprising:
receiving, by a first controller device in an automated environment comprising an environment model that represents the automated environment, a request to add an accessory device to the environment model;
initiating, by the first controller device, a pair add process with the accessory device for pairing the accessory device with a second controller device in the automated environment;
determining, by the first controller device, whether an operation succeeds, the operation comprising at least the pair add process; and
in accordance with a determination that the operation succeeded:
sending, by the first controller device, a message indicating the success to the second controller device;
updating, by the first controller device, a first controller device local copy of the environment model to include the accessory device; and
pushing, by the first controller device, the updated first controller device local copy of the environment model to the second controller device in the automated environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein the request is received from the second controller device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the request includes information associated with a previous pairing between the second controller device and the accessory device.

### Claim 4 (depends on 3)

The method of claim 3, wherein the information comprises a long term public key used for the previous pairing between the second controller device and the accessory device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the second controller device is configured to push the updated second controller device local copy of the environment model to a server in accordance with the message indicating the success of the operation.

### Claim 6 (depends on 1)

The method of claim 1, wherein the operation further comprises an admin privilege revocation process.

### Claim 7 (depends on 1)

The method of claim 1, wherein the pair add process is initiated at least in response to the request from the second controller device.

### Claim 8 (depends on 1)

The method of claim 1, further comprising in accordance with a determination that the operation failed to succeed:
sending, by the first controller device, a second message indicating the failure of the success to the second controller device.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second controller device is configured to restore a second controller device local copy of the environment model.

### Claim 10 (depends on 9)

The method of claim 9, wherein the restored second controller device local copy of the environment does not include the accessory device.

### Claim 11

A non-transitory computer-readable medium including one or more sequences of instructions that, when executed by one or more processors of a first controller device in an automated environment comprising an environment model, causes:
receiving a request to add an accessory device to the environment model, the environment model representing the automated environment;
initiating a pair add process with the accessory device for pairing the accessory device with a second controller device in the automated environment;
determining whether an operation succeeds, the operation comprising at least the pair add process; and
in accordance with a determination that the operation succeeded:
sending a message indicating the success to the second controller device;
updating a first controller device local copy of the environment model to include the accessory device; and
pushing the updated first controller device local copy of the environment model to the second controller device in the automated environment.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the request includes information associated with a previous pairing between the second controller device and the accessory device.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the information comprises a long term public key used for the previous pairing between the second controller device and the accessory device.

### Claim 14 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the second controller device is configured to push the updated second controller device local copy of the environment model to a server in accordance with the message indicating the success of the operation.

### Claim 15 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the pair add process is initiated at least in response to the request from the second controller device.

### Claim 16

A first controller device in an automated environment comprising an environment model, the first controller device comprising:
a memory configured to store computer-executable instructions; and
one or more processors configured to access the memory and execute the computer-executable instructions to at least:
receive a request to add an accessory device to the environment model, the environment model representing the automated environment;
initiate a pair add process with the accessory device for pairing the accessory device with a second controller device in the automated environment;
determine whether an operation succeeds, the operation comprising at least the pair add process; and
in accordance with a determination that the operation succeeded:
send a message indicating the success to the second controller device;
update a first controller device local copy of the environment model to include the accessory device; and
push the updated first controller device local copy of the environment model to the second controller device in the automated environment

### Claim 17 (depends on 16)

The first controller device of claim 16, wherein the request includes information associated with a previous pairing between the second controller device and the accessory device.

### Claim 18 (depends on 16)

The first controller device of claim 16, wherein the one or more processors are further configured to execute the computer-executable instructions to at least: in accordance with a determination that the operation failed to succeed:
send a second message indicating the failure of the success to the second controller device.

### Claim 19 (depends on 18)

The first controller device of claim 18, wherein the second controller device is configured to restore a second controller device local copy of the environment model

### Claim 20 (depends on 19)

The first controller device of claim 19, wherein the restored second controller device local copy of the environment does not include the accessory device.
