Communication Manager (CM)
Introduction
Communication Manager (CM) is the main AosCore component. It communicates with AosCloud and manages connections with other AosCore components such as IAM, SM, and UM. It consists of the following modules:
Communication Manager modules
Module | Description |
---|---|
fcrypt | a crypto module used to establish a secure connection with AosCloud and AosEdge components and to decrypt end verify data received from AosCloud. |
amqphandler | serves AMQP connections with AosCloud. |
cloudprotocol | describes cloud protocol messages, constants, etc. |
downloader | downloads SOTA and FOTA update images |
config | parses CM configuration files. |
database | used to store persistent CM data. |
alerts | collects, aggregates, and sends different kinds of alerts. For example, download alerts, service errors, system errors, etc. |
monitoring | collects system monitoring data (e.g. CPU, RAM, disk usage) and sends it to AosCloud. |
unitstatushandler | sends the current unit status and performs SOTA and FOTA updates. |
iamclient | provides the communication to the AosEdge IAM. |
smcontroller | communicates with AosEdge SM's. |
Update Manager controller | implements SOTA/FOTA logic |
cmserver | gRPC server to trigger the SOTA/FOTA update. This module is a part of the update scheduler mechanism. |
statestorage | service instances state storage realization. |
imagemanager | package responsible for storing encrypted services and layers images |