IoT architecture is the way a connected device is built in three layers of software: firmware on its own chip, an app on the owner's phone, and the maker's cloud that joins the two. Smart bulbs, fitness bands, air purifiers and connected cars are made in this way. IoT stands for the Internet of Things.
Here is how the layers work together in general. The firmware runs on the device and reads its sensors and controls its parts. The device connects to the owner's phone over Bluetooth or Wi-Fi, mainly for first set-up. The app on the phone shows the device's state and sends the owner's commands. The cloud sits in a data centre. It stores the device's data, knows which device belongs to which owner, and sends commands to the device when the owner is away from home. The maker also sends firmware updates from the cloud.
The cloud is in the middle because the phone and the device often cannot reach each other directly. When the owner is away, the phone is on a mobile network and the device is behind a home router, which blocks connections coming in from outside. So the device keeps a connection open to the cloud, and the cloud passes the commands along. The cloud also holds each device's identity and keys, so that only the real owner can control it and only the maker's signed updates are accepted. If the maker closes the cloud, the device may lose its remote features.
Take, for example, a smart air purifier. The owner sits in an office and taps the app to switch it on. The app sends the command to the cloud, the cloud passes it to the purifier at home, and the purifier's firmware starts the fan. Consider a fitness band that keeps readings, which the app collects over Bluetooth and uploads to the cloud for charts. Imagine a connected car, where the cloud also sends updates; see connected-vehicle clouds.
The layers appear on pages such as the connected home, connected appliances, smart lighting and IoT wireless chips. The standards that let devices from different makers work together are described in connectivity standards, and industrial IoT uses a similar plan for factories.
How is it different from a device that is not connected? An ordinary device works alone. A connected device needs all three layers, so it stops working fully if the maker closes the cloud.
Appears in
- Smart ring↗ Smartphone hardwareThe ring's sensors record sleep, its phone app shows the charts, and the cloud stores the history.
- AI hardware devices↗ Smartphone hardwareThe device records the speech, the phone app sets it up and the cloud's model produces the answer.
- Smart home appliances↗ Home technologyThe washing machine runs its cycle, an app on the owner's phone starts it, and the maker's cloud connects them.
- Smart lighting↗ Home technologyA bulb receives a command from the phone app through the cloud to dim at night.
- Smart thermostats and home security systems↗ Home technologyThe thermostat reads the room, the app lets the owner change it and the cloud keeps the schedule.
- Cooking robot↗ Home technologyThe cooking robot heats and stirs, the app holds the recipe, and the cloud delivers new recipes.
- Voice assistant modules↗ Home technologyThe module in the device hears the user, the app pairs it to Wi-Fi and the cloud answers the question.
- Fleet operating system↗ Fleet managementIn-cab devices run the apps, the driver's phone connects them and the cloud collects the fleet's data.