tencent cloud

Feedback

Resource Management

Last updated: 2021-08-31 12:07:28

    Overview

    This document describes how to use the resource management feature to quickly deliver resources to devices or upload device resources to the IoT Hub platform.

    Platform Resources

    The platform resource feature allows you to deliver resources uploaded to the IoT Hub platform to devices.

    Adding resource

    1. Log in to the IoT Hub console, click Resources on the left sidebar, and select Platform Resources to enter the resource list page and view all uploaded resources currently on the platform.

    2. Click Add Resource to add a resource by entering the resource information.

      • Resource Name: it can contain up to 32 letters, digits, underscores, minus signs, and parentheses and must begin with a letter or digit.
      • Product: select the product of the resource to be uploaded.
      • Resource: the resource file to be uploaded cannot exceed 1,024 MB in size.
      • Resource Description: it is the description and record of the resource to be uploaded and can contain 0–100 characters.
    3. After successful upload, click Save, and the added resource will be displayed in the list. You can perform operations such as delivering, adding, deleting, querying, and modifying the resource and viewing its details.

    Note:

    You can upload up to 1,000 pieces or 1 GB of resource files under each account. If the limit is exceeded, please delete some old resources first.

    Delivering resource

    Select the resource to be delivered and click Deliver Resource on the right of the resource list to initiate a delivery task.

    Resources can be delivered to a single device or batch delivered to multiple devices as detailed below:

    1. Go to the resource delivery page, select Single Device, and select the target device for delivery in the drop-down list.

    2. Click Save, and the system will perform the delivery task by delivering the selected resource to the selected target device.

    Viewing resource details

    1. In the resource list, click View Details on the right to view the resource details.
    2. On the resource details page, you can view the resource details, statistics of devices to which the resource has been delivered, and delivery task management list.
      • Resource Information: it includes the resource name, resource signature, signature algorithm, adding time, and resource description.
      • Delivery Statistics: it includes the total number of devices in the resource delivery task and the numbers of devices in different delivery status.
      • Task management list:
        • Click Tasks to view all delivery tasks of this resource. There are four delivery task status: not started, creating, created, and creation failed.
        • Click Devices to view the detailed records of devices in all delivery tasks of this resource. There are five device delivery status: to push, pushed, delivering, delivered, and delivery failed.
    3. In Tasks or Devices in task management, click View Details on the right of a task to enter the task details page, where you can view the list of target devices, delivery status, and numbers of devices in different delivery status in this task.

    In the device details list, you can view the current delivery status and status details of all target devices in the delivery task.

    • If the delivery status is To push or Pushed, no status details will be displayed.
    • If the delivery status is Delivering, the status details will display Delivering and the delivery progress values in percentage of each device.
    • If the delivery status is Delivery failed, the status details will display the error messages.

    In addition, you can cancel or retry resource delivery on the right of the device details list based on the delivery progress. Devices to which delivery is canceled will be marked as Delivery failed. For such devices, you can click Retry to deliver the resource again.

    Device Resources

    The device resource feature allows you to directly download and view resources uploaded by devices to the platform in the console.

    Directions

    1. A device uploads its resource to the platform over the resource upload communication protocol. After successful upload, the resource will be displayed in the resource list in the IoT Hub console.
    2. Log in to the IoT Hub console, click Resources on the left sidebar, select Device Resources to enter the resource list page, where you can view all resources uploaded by devices and perform operations such as downloading and deleting resources.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support