tencent cloud

Feedback

Introduction

Last updated: 2022-09-28 10:37:20

Tencent Cloud Internet of Things Hub (IoT Hub) aims to provide a secure, stable, and efficient connection platform that helps developers quickly achieve stable, high-concurrency, and omnidirectional data communications among devices, user applications, and cloud services at low costs. It can implement cross-device interaction, device data reporting, and configuration distribution. Further, by opening up the linkage between device data and Tencent Cloud services based on the rule engine, it allows for the storage, real-time computation, and smart processing and analysis of massive amounts of data with speed and ease. To sum up, with the aid of IoT Hub, you can connect devices, data, applications, and cloud services at low costs to quickly create an IoT application platform.

Product Architecture

  • Connection to IoT Hub
    User devices can be connected to IoT Hub through SDKs. The underlying data transfer is based on MQTT or CoAP protocols, which effectively lowers the consumption of network bandwidth. Connection over HTTP and WebSocket is also supported. In terms of security, IoT Hub introduces secure network transfer protocols (TLS and DTLS) to prevent risks such as unauthorized access, and data theft and tampering. Taking into account the diversity of devices and use cases, it supports both asymmetric encryption (authentication based on device certificates for scenarios with high security requirements) and symmetric encryption (authentication based on keys for resource-constrained devices).

  • Messages can be published and subscribed to by devices through SDKs
    In order to isolate device data for security purposes, IoT Hub currently limits that devices can only publish and subscribe to messages in their own topics, but they can access messages of other entities by configuring the rule engine.

  • The rule engine can be configured in the console to enable devices to access messages of other entities
    At present, the rule engine supports operations in SQL-like syntax, which implement message communication between devices through "repub" (republishing messages) and device message forwards to third-party services through "forward" (forwarding messages to servers). The interconnection between device messages and other Tencent Cloud services such as storage, function computing, and big data analysis is under development.

  • Device messages can be interconnected with third-party services
    As devices are connected only to IoT Hub, IoT Hub can quickly write specified device messages to Tencent Cloud CMQ or CKafka queues, with the message queue feature enabled. From there, third-party services can get and consume the data through the SDK of CMQ or CKafka queues, achieving async message communication between devices and third-party services.

  • Device shadows can effectively achieve two-way sync of configuration and status data between devices and applications
    On the one hand, configuration parameters can be set for device shadows through TencentCloud API, so that when devices are connected or online, they can get the configuration parameters from the shadows. When the status of a device is queried, it is sufficient to query its shadow without having to perform direct network communication with the device.

  • Devices can be managed through TencentCloud API
    IoT Hub provides convenient SDK tools to enhance IoT device management capabilities. These tools enable quick and batch creating, querying, and operation on the backend, greatly improving the efficiency. Currently, Python, PHP, and Java toolkits are supported.