IoT Platform provides secure and reliable capabilities to connect and communicate with devices. IoT Platform can connect with a large number of devices and collect device data to the cloud. IoT Platform also provides API operations for business servers to send remote commands to devices.
The following figure shows the message communication process of IoT Platform.
To achieve device communication, you must develop devices, IoT Platform servers, databases, and mobile apps. We recommend that you use IoT Platform SDKs to develop IoT Platform servers.
The following sections describe the message communication links of IoT Platform.
For more information about device communication, see Communication methods.
Upstream data link
- A device establishes a persistent connection with IoT Platform by using the MQTT protocol. Then, the device submits data to IoT Platform by publishing payloads to a topic.
- You can configure the rules engine and write SQL statements to process submitted data. Then, you can configure data forwarding rules to forward processed data. You can forward the data to cloud services such as ApsaraDB RDS, Tablestore, and Function Compute.You can also forward the data to your ECS instance by using AMQP consumer groups.
Downstream communication link
- Your ECS instance calls the HTTPS-based Pub API operation to send commands to IoT Platform topics.
- IoT Platform sends data to devices by publishing payloads to specified topics. The MQTT protocol is used for communication.