Thread
0
Thread is a low-power mesh networking protocol.
“Networking is one of the biggest problems of the smart home; sensors and devices dropping offline,” says Tony Fadell, founder of Nest.Thread’s big selling points are speed and reliability.A motion sensor will turn your lights on in a millisecond compared to a second, and your network won’t go down because you accidentally unplugged the hub, as — with enough devices deployed — a Thread network can self-heal.
Unlike Bluetooth or Wi-Fi, Thread was specifically developed as a smart home protocol
Other protocols used in the smart home to date have been co-opted into that role, meaning they have practical and usability issues.
Wi-Fi is too power-hungry for battery-powered devices.
Bluetooth has range limitations.
Zigbee and Z-Wave require dedicated hubs, which are cumbersome to set up and maintain and can be a single point of failure.
Application: High-order business logic of a device. For example, an application that is focused on lighting might contain logic to handle turning on/off the bulb as well as its color characteristics.
Data Model: The data layer corresponds to the data and verb elements that help support the functionality of the application. The Application operates on these data structures when there is an intent to interact with the device.
Interaction Model: The Interaction Model layer defines a set of interactions that can be performed between a client and server device. For example, reading or writing attributes on a server device would correspond to application behavior on the device. These interactions operate on the elements defined at the data model layer.
Action Framing: Once an action is constructed using the Interaction Model, it is serialized into a prescribed packed binary format to encode for network transmission.
Security: An encoded action frame is then sent down to the Security Layer to encrypt and sign the payload to ensure that data is secured and authenticated by both sender and receiver of a packet.
Message Framing & Routing: With an interaction encrypted and signed, the Message Layer constructs the payload format with required and optional header fields; which specify the message's properties and some routing information.
IP Framing & Transport Management: After the final payload has been constructed, it is sent to the underlying transport protocol for IP management of the data.