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.
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
Log on to the OSS console.
In the left-side navigation pane, click Buckets. On the Buckets page, click the bucket for which you want to create a task.
In the left-side navigation tree, click Data Processing.
Click Document Processing, Media Processing, or other data processing capabilities provided by IMM based on the type of the object to be processed.
Click the Task tab. Then, click Create Task.
In the Create Task panel, configure the parameters.
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.
Click OK.
Query tasks
In the left-side navigation pane, click Buckets. On the Buckets page, click the bucket in which you want to query tasks.
Click Document Processing, Media Processing, or other data processing capabilities provided by IMM based on the task type.
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.
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.To view the details of the task, click Task Details in the Action column.
References
For more information about available IMM SDKs, see Overview.