Service architecture
This topic describes the service architecture of IoT Edge.
Cloud-edge integrated architecture
The cloud-edge integrated architecture is the main service architecture of IoT Edge. It includes a cloud side and an edge side. The following figure shows the architecture.

Cloud side: You can use the edge computing console to integrate and develop resources for edge all-in-one machines. You can manage connected terminal devices, applications, and algorithms. You can also perform real-time monitoring of the machines and their software and hardware resources.
Edge side: After a terminal device connects to an edge all-in-one machine, the machine can collect, transfer, store, analyze, and report device data to the cloud. The machine also provides container service and edge Function Compute to facilitate scenario orchestration and business extension. For more information about the edge-side architecture, see the Edge-side architecture section in this topic.
Edge-side architecture
The edge-side architecture is a software framework that runs on edge all-in-one machines. It supports the container runtime and the binary runtime. Functional modules can be assembled as needed. This makes the architecture suitable for pre-installation on mass-produced hardware products of various specifications. The following figure shows the architecture.

The application runtime includes multiple functional modules, such as business applications, cloud-native middleware, IoT middleware, edge Function Compute, and container service. The application runtime is divided into a binary runtime and a container runtime:
The binary runtime extends the resource sync and monitoring service modules by adding the edge Function Compute and IoT middleware modules.
The container runtime builds on the binary runtime. It can be expanded with container service and a Kubernetes base to support the deployment and pre-installation of cloud-native middleware.
Cloud-edge collaboration is the core component of an edge all-in-one machine, providing the basic feature for integrated cloud-edge management. It includes two main functional modules: resource sync and monitoring service. When combined with the application runtime, cloud-edge collaboration can be configured in various ways to meet complex and diverse edge business needs.