Fundamentals 4 min read

IoT Architecture Model and Layered Design for the Lan Platform

This article presents a practical IoT layered architecture model, contrasting the classic three‑tier view with a four‑tier structure (hardware, coordination, service, and application layers), explains the role of each layer, and advocates using hexagonal architecture for the service layer in the Lan platform.

Architect
Architect
Architect
IoT Architecture Model and Layered Design for the Lan Platform

When designing the Lan (GitHub: https://github.com/phodal/lan) IoT platform, the author built a practical IoT architecture model based on previous experience.

IoT Layered Structure

Typical online diagrams show a three‑layer model, separating the network layer from the application functions, but in practice the author prefers a four‑layer architecture:

Hardware Layer – acquires and sends sensor data, executes commands; connections include serial, Bluetooth, wired, SPI, Wi‑Fi, USB, etc.

Coordination Layer – bridges the hardware layer with the server, handling part of the data processing; communication relies on network links and the hardware connections.

Service Layer – acts as the server side; the core follows a traditional web‑application structure but replaces the protocol layer with various adapters, suggesting the use of a hexagonal architecture.

Application Layer – provides user interaction and experience.

The following table summarizes the layers:

Layer

Function

Connection to Next Layer

Hardware Layer

Acquire, send sensor data, execute commands

Serial, Bluetooth, wired, SPI, Wi‑Fi, USB, etc.

Coordination Layer

Coordinate hardware‑server communication and process part of the data

Network connection and hardware‑layer interfaces

Service Layer

Server‑side processing (viewed as server layer)

Network connection

Application Layer

Provide user interaction functions

Network connection

The hardware layer is typically developed jointly by hardware engineers and developers, while the coordination layer is a critical part that heavily influences the overall IoT system design.

IoT Service Layer

The service layer follows the traditional web‑application structure, but its protocol layer is replaced by adapters to support multiple protocols, making a hexagonal architecture a suitable choice. The user ultimately interacts with the application layer, which requires good UX design and smooth performance.

In designing the Lan platform, the author incorporated user authorization and modular loading concepts, resulting in a model that abstracts away specific frameworks and implementations to focus on business logic.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

architectureIoTHexagonal ArchitectureLayered DesignService Layer
Architect
Written by

Architect

Professional architect sharing high‑quality architecture insights. Topics include high‑availability, high‑performance, high‑stability architectures, big data, machine learning, Java, system and distributed architecture, AI, and practical large‑scale architecture case studies. Open to ideas‑driven architects who enjoy sharing and learning.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.