# US 10,958,464 B2 · Distributed rules engine

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

- Number: US 10,958,464 B2
- Document ID: US10958464B2
- Status: Granted
- Kind: B2
- Application number: 16/688,674
- Filed: 2019-11-19
- Published: 2020-05-21
- Granted: 2021-03-23
- Earliest claimed: 2018-04-17
- Assignees: Flex Ltd.
- Applicants: Flex Ltd.
- Inventors: Anoop Krishnan Nair
- Web page: https://patentgrep.com/patent/US10958464B2

## CPC

- H04L 12/2803: {Home automation networks}
- H04L 12/66: Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
- H04L 41/044: comprising hierarchical management structures
- H04L 41/0803: Configuration setting
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A plurality of devices of an enterprise are identified. For example, lights and door sensors are identified. The plurality of devices of the enterprise uses a plurality of gateways in a hierarchy of gateways to control the plurality of devices of the enterprise. A first rule for at least two of the plurality devices of the enterprise is received. For example, the first rule may be to turn on a light when door is opened. In response to receiving the first rule, a first lowest level gateway of the plurality of gateways in the hierarchy of gateways is determined for applying the first rule for the at least two of the plurality of devices of the enterprise. The first rule for the at least two of the plurality devices of the enterprise is sent to the first lowest level gateway.

## Claims

### Claim 1

A system, comprising:
a microprocessor;
a computer readable medium, coupled with the microprocessor and comprising microprocessor readable and executable instructions that program the microprocessor to:
identify a plurality of devices of an enterprise, wherein the plurality of devices of the enterprise are controlled through a plurality of gateways in a hierarchy of gateways;
receive a first rule, wherein the first rule controls at least two of the plurality of devices of the enterprise;
in response to receiving the first rule, determine a first lowest level gateway of the plurality of gateways in the hierarchy of gateways that supports the at least two of the plurality of devices of the enterprise controlled by the first rule; and
send the first rule to the first lowest level gateway that supports the at least two of the plurality of devices of the enterprise controlled by the first rule.

### Claim 2 (depends on 1)

The system of claim 1, wherein the plurality of gateways in the hierarchy of gateways are separate devices from different vendors that use different protocols.

### Claim 3 (depends on 1)

The system of claim 1, wherein the microprocessor readable and executable instructions further program the microprocessor to receive a second rule for controlling at least two different devices of the plurality of devices of the enterprise and wherein the second rule is sent to a second lowest level gateway.

### Claim 4 (depends on 3)

The system of claim 3, wherein the first lowest level gateway is at a lowest level in the hierarchy of gateways and wherein the second lowest level gateway is at a highest level in the hierarchy of gateways.

### Claim 5 (depends on 1)

The system of claim 1, wherein the microprocessor readable and executable instructions further program the microprocessor to:
identify that a new device of the plurality of devices of the enterprise has been added to the first rule;
in response to identifying that the new device of the plurality of devices of the enterprise has been added to the first rule, determine a second lowest level gateway of the plurality of gateways in the hierarchy of gateways that supports the new device and the at least two of the plurality of devices of the enterprise controlled by the first rule; and
send the first rule with the added new device to the second lowest level gateway.

### Claim 6 (depends on 5)

The system of claim 5, wherein the microprocessor readable and executable instructions further program the microprocessor to send a message to the first lowest level gateway to delete the first rule for controlling the at least two of the plurality of devices.

### Claim 7 (depends on 5)

The system of claim 5, wherein the second lowest level gateway is at a higher level in the hierarchy of gateways than the first lowest level gateway.

### Claim 8 (depends on 1)

The system of claim 1, wherein the first rule for controlling the at least two of the plurality of devices of the enterprise is for controlling at least three devices of the plurality of devices of the enterprise and wherein the microprocessor readable and executable instructions further program the microprocessor to:
identify that a first device of the at least three of the plurality of devices of the enterprise has been removed from the first rule;
in response to identifying that the first device of the at least three of the plurality of devices of the enterprise has been removed from the first rule, determine a second lowest level gateway of the plurality of gateways in the hierarchy of gateways for applying the first rule without the removed first device; and
send the first rule without the removed first device to the second lowest level gateway.

### Claim 9 (depends on 8)

The system of claim 8, wherein the second lowest level gateway is at a lower level in the hierarchy of gateways than the first lowest level gateway.

### Claim 10 (depends on 8)

The system of claim 8, wherein the microprocessor readable and executable instructions further program the microprocessor to send a message to the first lowest level gateway to delete the first rule for controlling the at least three devices of the plurality of devices of the enterprise.

### Claim 11

A method, comprising:
identifying, by a microprocessor, a plurality of devices of an enterprise, wherein the plurality of devices of the enterprise are controlled through a plurality of gateways in a hierarchy of gateways;
receiving, by the microprocessor, a first rule for controlling at least two of the plurality of devices of the enterprise;
in response to receiving the first rule, determining, by the microprocessor, a first lowest level gateway of the plurality of gateways in the hierarchy of gateways that supports the at least two of the plurality of devices of the enterprise controlled by the first rule; and
sending, by the microprocessor, the first rule to the first lowest level gateway.

### Claim 12 (depends on 11)

The method of claim 11, wherein the plurality of gateways in the hierarchy of gateways are separate devices from different vendors that use different protocols.

### Claim 13 (depends on 11)

The method of claim 11, further comprising, receiving a second rule that is for controlling at least two different devices of the plurality of devices of the enterprise and wherein the second rule is sent to a second lowest level gateway.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first lowest level gateway is at a lowest level in the hierarchy of gateways and wherein the second lowest level gateway is at a highest level in the hierarchy of gateways.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
identifying that a new device of the plurality of devices of the enterprise has been added to the first rule;
in response to identifying that the new device of the plurality of devices of the enterprise has been added to the first rule, determining a second lowest level gateway of the plurality of gateways in the hierarchy of gateways that supports the new device and the at least two of the plurality of devices of the enterprise controlled by the first rule; and
sending the first rule with the added new device to the second lowest level gateway.

### Claim 16 (depends on 15)

The method of claim 15, further comprising sending a message to the first lowest level gateway to delete the first rule for controlling the at least two of the plurality of devices.

### Claim 17 (depends on 15)

The method of claim 15, wherein the second lowest level gateway is at a higher level in the hierarchy of gateways than the first lowest level gateway.

### Claim 18 (depends on 11)

The method of claim 11, wherein the first rule for controlling the at least two of the plurality of devices of the enterprise is for controlling at least three devices of the plurality of devices of the enterprise and further comprising:
identifying that a first device of the at least three of the plurality of devices of the enterprise has been removed from the first rule;
in response to identifying that the first device of the at least three of the plurality of devices of the enterprise has been removed from the first rule, determining a second lowest level gateway of the plurality of gateways in the hierarchy of gateways that supports the at least three of the plurality of devices without the removed first device controlled by the first rule; and
sending the first rule without the removed first device to the second lowest level gateway.

### Claim 19 (depends on 18)

The method of claim 18, wherein the second lowest level gateway is at a lower level in the hierarchy of gateways than the first lowest level gateway.

### Claim 20 (depends on 18)

The method of claim 18, further comprising sending a message to the first lowest level gateway to delete the first rule for controlling the at least three devices of the plurality of devices of the enterprise.
