All Products
Search
Document Center

Object Storage Service:Tasks

Last Updated:Jan 13, 2025

Certain data processing requests initiate asynchronous tasks, and a task ID is returned upon completion of each request. You can use these task IDs to check the status of the tasks. This topic describes how to create an asynchronous task to process data.

Note

You can use the features of the new version of Intelligent Media Management (IMM) in all supported regions by calling API operations or using SDKs.

Create a task

  1. Log on to the OSS console.

  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the bucket for which you want to create a task.

  3. In the left-side navigation tree, click Data Processing.

  4. Click Document Processing, Media Processing, or other data processing capabilities provided by IMM based on the type of the object to be processed.

  5. Click the Task tab. Then, click Create Task.

  6. In the Create Task panel, configure the parameters.

    image

    Parameter

    Description

    Input Storage Bucket

    The name of the bucket that contains the object to be processed.

    Input Path

    The storage path of the object to be processed.

    Style

    The style that you want to use to process the object. If no style is available, select Add Style from the drop-down list to create a style.

    Output Path

    The path of the output object.

    The storage path cannot end with a forward slash (/). You can include variables in the storage path. For more information, see Variables.

    Message Queue

    The Simple Message Queue (SMQ) topic to which you want to send the task notification. For more information, see Overview and Asynchronous message examples.

  7. Click OK.

Query tasks

  1. Log on to the OSS console.

  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the bucket in which you want to query tasks.

  3. In the left-side navigation tree, click Data Processing.

  4. Click Document Processing, Media Processing, or other data processing capabilities provided by IMM based on the task type.

  5. Click the Task tab. A list of tasks appears. You can click Previous page or Next page to view the previous or next page of tasks.

  6. In the Task ID search box, enter the task ID to search for a specific task. You can obtain the ID of a task by calling the ListTasks operation and check the TaskId parameter in the response. To query tasks within a specific date range, select a start date and end date in the date filter.

  7. To view the details of the task, click Task Details in the Action column.

References

For more information about available IMM SDKs, see Overview.