The IoT Platform supports the device task feature, enabling simultaneous property configuration, asynchronous service invocation, message delivery, and custom tasks across multiple devices. This topic outlines the utilization of a device task.
Instructions
Device tasks on the IoT Platform execute specific functions on devices using predefined JSON rule files.
Task |
Description |
Create a custom rule file and device list file tailored to your business needs. Develop the functionality and logic for the custom task on the device, adhering to the Alink protocol data format specified by the IoT Platform. |
|
For devices within a product or group sharing the same Thing Specification Language (TSL) property ID, configure multiple properties simultaneously using a batch property configuration task. |
|
For devices within a product or group sharing the same asynchronous TSL service ID, invoke these services in batch with a service call task. |
|
Utilize this task to publish messages to multiple devices with the same custom topic suffix using the Pub interface in batch. The custom topic format is |
Limits
Public instance: Device tasks are available exclusively in the China (Shanghai) region.
Enterprise edition instance: Device tasks are supported in multiple regions, including China (Shanghai), China (Beijing), China (Shenzhen), Singapore, US (Virginia), US (Silicon Valley), and Germany (Frankfurt).
Process description
The diagrams below illustrate the workflows for various types of device tasks:
Custom task

For further details on this topic, see the referenced document.
Batch property configuration task

For further details on this topic, see the referenced document.
Batch service invocation task

For further details on this topic, see the referenced document.
Pub batch message push task

For more information on custom topic configuration and usage, see the referenced document.
Create the appropriate device tasks to meet your business requirements. For detailed instructions, refer to: