tencent cloud

Cloud Object Storage

동향 및 공지
릴리스 노트
제품 공지
제품 소개
제품 개요
기능 개요
적용 시나리오
제품 장점
기본 개념
리전 및 액세스 도메인
규격 및 제한
제품 요금
과금 개요
과금 방식
과금 항목
프리 티어
과금 예시
청구서 보기 및 다운로드
연체 안내
FAQ
빠른 시작
콘솔 시작하기
COSBrowser 시작하기
사용자 가이드
요청 생성
버킷
객체
데이터 관리
일괄 프로세스
글로벌 가속
모니터링 및 알람
운영 센터
데이터 처리
스마트 툴 박스 사용 가이드
데이터 워크플로
애플리케이션 통합
툴 가이드
툴 개요
환경 설치 및 설정
COSBrowser 툴
COSCLI 툴
COSCMD 툴
COS Migration 툴
FTP Server 툴
Hadoop 툴
COSDistCp 툴
HDFS TO COS 툴
온라인 도구 (Onrain Dogu)
자가 진단 도구
실습 튜토리얼
개요
액세스 제어 및 권한 관리
성능 최적화
AWS S3 SDK를 사용하여 COS에 액세스하기
데이터 재해 복구 백업
도메인 관리 사례
이미지 처리 사례
COS 오디오/비디오 플레이어 사례
데이터 다이렉트 업로드
데이터 보안
데이터 검증
빅 데이터 사례
COS 비용 최적화 솔루션
3rd party 애플리케이션에서 COS 사용
마이그레이션 가이드
로컬 데이터 COS로 마이그레이션
타사 클라우드 스토리지 데이터를 COS로 마이그레이션
URL이 소스 주소인 데이터를 COS로 마이그레이션
COS 간 데이터 마이그레이션
Hadoop 파일 시스템과 COS 간 데이터 마이그레이션
데이터 레이크 스토리지
클라우드 네이티브 데이터 레이크
메타데이터 가속
데이터 레이크 가속기 GooseFS
데이터 처리
데이터 처리 개요
이미지 처리
미디어 처리
콘텐츠 조정
파일 처리
문서 미리보기
장애 처리
RequestId 가져오기
공용 네트워크로 COS에 파일 업로드 시 속도가 느린 문제
COS 액세스 시 403 에러 코드 반환
리소스 액세스 오류
POST Object 자주 발생하는 오류
보안 및 컴플라이언스
데이터 재해 복구
데이터 보안
액세스 관리
자주 묻는 질문
인기 질문
일반 문제
과금
도메인 규정 준수 문제
버킷 설정 문제
도메인 및 CDN 문제
파일 작업 문제
로그 모니터링 문제
권한 관리
데이터 처리 문제
데이터 보안 문제
사전 서명 URL 관련 문제
SDK FAQ
툴 관련 문제
API 관련 문제
Agreements
Service Level Agreement
개인 정보 보호 정책
데이터 처리 및 보안 계약
연락처
용어집
문서Cloud Object Storage

Task Callback

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-12 22:36:57

Feature Description

Cloud Infinite supports customizing a callback URL. After task completion, the system sends an HTTP POST request to this URL, with notification content in the request body. You can confirm it by the configured callback URL to promptly learn about task processing progress and status, so that you can perform other business operations.

Callback Content

After task completion, the system will send the callback content to the callback URL you have set, showing the complete node data as follows:
<Response>
<EventName>TaskFinish</EventName>
<JobsDetail>
<State>Success</State>
<Tag>SpeechRecognition</Tag>
<Code>Success</Code>
<CreationTime>2022-09-02T10:25:38+0800</CreationTime>
<StartTime>2022-09-02T10:25:39+0800</StartTime>
<EndTime>2022-09-02T10:25:46+0800</EndTime>
<Input>
<BucketId>test-1234567890</BucketId>
<Object>minnong.mp3</Object>
<Region>ap-chongqing</Region>
</Input>
<JobId>s886c0a7c2a6611ed847a618901112dcf</JobId>
<QueueId>pe91d0af11fc14337987ff0c34f8b0886</QueueId>
<Message/>
<Operation>
<UserData>This is my SpeechRecognition job.</UserData>
<JobLevel>0</JobLevel>
<Output>
<Bucket>test-1234567890</Bucket>
<Object>/example.txt</Object>
<Region>ap-chongqing</Region>
</Output>
<SpeechRecognitionResult>
<AudioTime>19.7124</AudioTime>
<DetailObjectName>/example.txt.detail</DetailObjectName>
<ObjectName>/example.txt</ObjectName>
<Result>[0:3.320,0:19.712] The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</Result>
<ResultDetail>
<EndMs>19712</EndMs>
<FinalSentence>The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</FinalSentence>
<SliceSentence>The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</SliceSentence>
<SpeakerId>0</SpeakerId>
<SpeechSpeed>2.4</SpeechSpeed>
<StartMs>3320</StartMs>
<Words>
<OffsetEndMs>2190</OffsetEndMs>
<OffsetStartMs>0</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Compassion</Word>
</Words>
<Words>
<OffsetEndMs>2625</OffsetEndMs>
<OffsetStartMs>2190</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Agriculture</Word>
</Words>
<Words>
<OffsetEndMs>2625</OffsetEndMs>
<OffsetStartMs>2190</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>3060</OffsetEndMs>
<OffsetStartMs>2625</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Li</Word>
</Words>
<Words>
<OffsetEndMs>3825</OffsetEndMs>
<OffsetStartMs>3060</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Gentleman</Word>
</Words>
<Words>
<OffsetEndMs>3825</OffsetEndMs>
<OffsetStartMs>3060</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>5040</OffsetEndMs>
<OffsetStartMs>3825</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Hoeing</Word>
</Words>
<Words>
<OffsetEndMs>5475</OffsetEndMs>
<OffsetStartMs>5040</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Day</Word>
</Words>
<Words>
<OffsetEndMs>6390</OffsetEndMs>
<OffsetStartMs>5475</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Noon</Word>
</Words>
<Words>
<OffsetEndMs>6390</OffsetEndMs>
<OffsetStartMs>5475</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>7365</OffsetEndMs>
<OffsetStartMs>6390</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Sweat</Word>
</Words>
<Words>
<OffsetEndMs>7755</OffsetEndMs>
<OffsetStartMs>7365</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Rice</Word>
</Words>
<Words>
<OffsetEndMs>8130</OffsetEndMs>
<OffsetStartMs>7755</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Down</Word>
</Words>
<Words>
<OffsetEndMs>8850</OffsetEndMs>
<OffsetStartMs>8130</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Soil</Word>
</Words>
<Words>
<OffsetEndMs>8850</OffsetEndMs>
<OffsetStartMs>8130</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>.</Word>
</Words>
<Words>
<OffsetEndMs>9915</OffsetEndMs>
<OffsetStartMs>8850</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Who knows</Word>
</Words>
<Words>
<OffsetEndMs>11130</OffsetEndMs>
<OffsetStartMs>9915</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Meal</Word>
</Words>
<Words>
<OffsetEndMs>11130</OffsetEndMs>
<OffsetStartMs>9915</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>12045</OffsetEndMs>
<OffsetStartMs>11130</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Grains</Word>
</Words>
<Words>
<OffsetEndMs>12540</OffsetEndMs>
<OffsetStartMs>12045</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>All</Word>
</Words>
<Words>
<OffsetEndMs>14745</OffsetEndMs>
<OffsetStartMs>12540</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Hard</Word>
</Words>
<Words>
<OffsetEndMs>14745</OffsetEndMs>
<OffsetStartMs>12540</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>.</Word>
</Words>
<WordsNum>22</WordsNum>
</ResultDetail>
</SpeechRecognitionResult>
<TemplateId>t14aea553bb55c468b963fafa472afc538</TemplateId>
<TemplateName>test</TemplateName>
</Operation>
</JobsDetail>
</Response>
The data are as follows:
Node Name (Keyword)
Parent Node
Description
Type
Response
None.
Container for saving results
Container
Container node Response content:
Node Name (Keyword)
Parent Node
Description
Type
EventName
Response
Fixed Value, TaskFinish
String
JobsDetail
Response
The same as Response.JobsDetail in the speech recognition task API submission.
Container Array
If the task is triggered by a workflow, Response.JobsDetail.Input will also include the CosHeaders node, with data type as Container array.
Container node CosHeaders content:
Node Name (Keyword)
Parent Node
Description
Type
Key
Response.JobsDetail.Input.CosHeaders
Name of the custom Header
String
Value
Response.JobsDetail.Input.CosHeaders
Value of the custom Header
String
If the task is triggered by a workflow, Response.JobsDetail will also include the Workflow node, with data type as Container.
Container node Workflow content:
Node Name (Keyword)
Parent Node
Description
Type
RunId
Response.Workflow
workflow instance ID
String
WorkflowId
Response.Workflow
workflow ID
String
WorkflowName
Response.Workflow
workflow name
String
Name
Response.Workflow
workflow node name
String

Practical Case

Case 1: Task Callback Triggered by Task Interface

<Response>
<EventName>TaskFinish</EventName>
<JobsDetail>
<State>Success</State>
<Tag>SpeechRecognition</Tag>
<Code>Success</Code>
<CreationTime>2022-09-02T10:25:38+0800</CreationTime>
<StartTime>2022-09-02T10:25:39+0800</StartTime>
<EndTime>2022-09-02T10:25:46+0800</EndTime>
<Input>
<BucketId>test-1234567890</BucketId>
<Object>minnong.mp3</Object>
<Region>ap-chongqing</Region>
</Input>
<JobId>s886c0a7c2a6611ed847a618901112dcf</JobId>
<QueueId>pe91d0af11fc14337987ff0c34f8b0886</QueueId>
<Message/>
<Operation>
<UserData>This is my SpeechRecognition job.</UserData>
<JobLevel>0</JobLevel>
<Output>
<Bucket>test-1234567890</Bucket>
<Object>/example.txt</Object>
<Region>ap-chongqing</Region>
</Output>
<SpeechRecognitionResult>
<AudioTime>19.7124</AudioTime>
<DetailObjectName>/example.txt.detail</DetailObjectName>
<ObjectName>/example.txt</ObjectName>
<Result>[0:3.320,0:19.712] The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</Result>
<ResultDetail>
<EndMs>19712</EndMs>
<FinalSentence>The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</FinalSentence>
<SliceSentence>The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</SliceSentence>
<SpeakerId>0</SpeakerId>
<SpeechSpeed>2.4</SpeechSpeed>
<StartMs>3320</StartMs>
<Words>
<OffsetEndMs>2190</OffsetEndMs>
<OffsetStartMs>0</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Compassion</Word>
</Words>
<Words>
<OffsetEndMs>2625</OffsetEndMs>
<OffsetStartMs>2190</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Agriculture</Word>
</Words>
<Words>
<OffsetEndMs>2625</OffsetEndMs>
<OffsetStartMs>2190</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>3060</OffsetEndMs>
<OffsetStartMs>2625</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Li</Word>
</Words>
<Words>
<OffsetEndMs>3825</OffsetEndMs>
<OffsetStartMs>3060</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Gentleman</Word>
</Words>
<Words>
<OffsetEndMs>3825</OffsetEndMs>
<OffsetStartMs>3060</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>5040</OffsetEndMs>
<OffsetStartMs>3825</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Hoeing</Word>
</Words>
<Words>
<OffsetEndMs>5475</OffsetEndMs>
<OffsetStartMs>5040</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Day</Word>
</Words>
<Words>
<OffsetEndMs>6390</OffsetEndMs>
<OffsetStartMs>5475</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Noon</Word>
</Words>
<Words>
<OffsetEndMs>6390</OffsetEndMs>
<OffsetStartMs>5475</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>7365</OffsetEndMs>
<OffsetStartMs>6390</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Sweat</Word>
</Words>
<Words>
<OffsetEndMs>7755</OffsetEndMs>
<OffsetStartMs>7365</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Rice</Word>
</Words>
<Words>
<OffsetEndMs>8130</OffsetEndMs>
<OffsetStartMs>7755</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Down</Word>
</Words>
<Words>
<OffsetEndMs>8850</OffsetEndMs>
<OffsetStartMs>8130</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Soil</Word>
</Words>
<Words>
<OffsetEndMs>8850</OffsetEndMs>
<OffsetStartMs>8130</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>.</Word>
</Words>
<Words>
<OffsetEndMs>9915</OffsetEndMs>
<OffsetStartMs>8850</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Who knows</Word>
</Words>
<Words>
<OffsetEndMs>11130</OffsetEndMs>
<OffsetStartMs>9915</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Meal</Word>
</Words>
<Words>
<OffsetEndMs>11130</OffsetEndMs>
<OffsetStartMs>9915</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>12045</OffsetEndMs>
<OffsetStartMs>11130</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Grains</Word>
</Words>
<Words>
<OffsetEndMs>12540</OffsetEndMs>
<OffsetStartMs>12045</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>All</Word>
</Words>
<Words>
<OffsetEndMs>14745</OffsetEndMs>
<OffsetStartMs>12540</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Hard</Word>
</Words>
<Words>
<OffsetEndMs>14745</OffsetEndMs>
<OffsetStartMs>12540</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>.</Word>
</Words>
<WordsNum>22</WordsNum>
</ResultDetail>
</SpeechRecognitionResult>
<TemplateId>t14aea553bb55c468b963fafa472afc538</TemplateId>
<TemplateName>test</TemplateName>
</Operation>
</JobsDetail>
</Response>

Case 2: Task Callback Triggered by Workflow

<Response>
<EventName>TaskFinish</EventName>
<JobsDetail>
<Code>Success</Code>
<CreationTime>2022-09-02T10:25:38+0800</CreationTime>
<EndTime>2022-09-02T10:25:46+0800</EndTime>
<Input>
<BucketId>test-1234567890</BucketId>
<Object>minnong.mp3</Object>
<Region>ap-chongqing</Region>
<CosHeaders>
<Key>Content-Type</Key>
<Value>Audio/mp3</Value>
</CosHeaders>
<CosHeaders>
<Key>x-cos-request-id</Key>
<Value>NjJiZDYwYTFfNjUzYTYyNjRfZjEwZl8xMmZhYzY5</Value>
</CosHeaders>
<CosHeaders>
<Key>EventName</Key>
<Value>cos:ObjectCreated:Put</Value>
</CosHeaders>
<CosHeaders>
<Key>Size</Key>
<Value>1424687</Value>
</CosHeaders>
</Input>
<JobId>s886c0a7c2a6611ed847a618901112dcf</JobId>
<Message/>
<Operation>
<UserData>This is my SpeechRecognition job.</UserData>
<JobLevel>0</JobLevel>
<Output>
<Bucket>test-1234567890</Bucket>
<Object>/example.txt</Object>
<Region>ap-chongqing</Region>
</Output>
<SpeechRecognitionResult>
<AudioTime>19.7124</AudioTime>
<DetailObjectName>/example.txt.detail</DetailObjectName>
<ObjectName>/example.txt</ObjectName>
<Result>[0:3.320,0:19.712] The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</Result>
<ResultDetail>
<EndMs>19712</EndMs>
<FinalSentence>The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</FinalSentence>
<SliceSentence>The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.</SliceSentence>
<SpeakerId>0</SpeakerId>
<SpeechSpeed>2.4</SpeechSpeed>
<StartMs>3320</StartMs>
<Words>
<OffsetEndMs>2190</OffsetEndMs>
<OffsetStartMs>0</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Compassion</Word>
</Words>
<Words>
<OffsetEndMs>2625</OffsetEndMs>
<OffsetStartMs>2190</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Agriculture</Word>
</Words>
<Words>
<OffsetEndMs>2625</OffsetEndMs>
<OffsetStartMs>2190</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>3060</OffsetEndMs>
<OffsetStartMs>2625</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Li</Word>
</Words>
<Words>
<OffsetEndMs>3825</OffsetEndMs>
<OffsetStartMs>3060</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Gentleman</Word>
</Words>
<Words>
<OffsetEndMs>3825</OffsetEndMs>
<OffsetStartMs>3060</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>5040</OffsetEndMs>
<OffsetStartMs>3825</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Hoeing</Word>
</Words>
<Words>
<OffsetEndMs>5475</OffsetEndMs>
<OffsetStartMs>5040</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Day</Word>
</Words>
<Words>
<OffsetEndMs>6390</OffsetEndMs>
<OffsetStartMs>5475</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Noon</Word>
</Words>
<Words>
<OffsetEndMs>6390</OffsetEndMs>
<OffsetStartMs>5475</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>7365</OffsetEndMs>
<OffsetStartMs>6390</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Sweat</Word>
</Words>
<Words>
<OffsetEndMs>7755</OffsetEndMs>
<OffsetStartMs>7365</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Rice</Word>
</Words>
<Words>
<OffsetEndMs>8130</OffsetEndMs>
<OffsetStartMs>7755</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Down</Word>
</Words>
<Words>
<OffsetEndMs>8850</OffsetEndMs>
<OffsetStartMs>8130</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Soil</Word>
</Words>
<Words>
<OffsetEndMs>8850</OffsetEndMs>
<OffsetStartMs>8130</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>.</Word>
</Words>
<Words>
<OffsetEndMs>9915</OffsetEndMs>
<OffsetStartMs>8850</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Who knows</Word>
</Words>
<Words>
<OffsetEndMs>11130</OffsetEndMs>
<OffsetStartMs>9915</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Meal</Word>
</Words>
<Words>
<OffsetEndMs>11130</OffsetEndMs>
<OffsetStartMs>9915</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>,</Word>
</Words>
<Words>
<OffsetEndMs>12045</OffsetEndMs>
<OffsetStartMs>11130</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Grains</Word>
</Words>
<Words>
<OffsetEndMs>12540</OffsetEndMs>
<OffsetStartMs>12045</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>All</Word>
</Words>
<Words>
<OffsetEndMs>14745</OffsetEndMs>
<OffsetStartMs>12540</OffsetStartMs>
<VoiceType>0</VoiceType>
<Word>Hard</Word>
</Words>
<Words>
<OffsetEndMs>14745</OffsetEndMs>
<OffsetStartMs>12540</OffsetStartMs>
<VoiceType>1</VoiceType>
<Word>.</Word>
</Words>
<WordsNum>22</WordsNum>
</ResultDetail>
</SpeechRecognitionResult>
<TemplateId>t14aea553bb55c468b963fafa472afc538</TemplateId>
<TemplateName>test</TemplateName>
</Operation>
<QueueId>p2242ab62c7c94486915508540933a2c6</QueueId>
<StartTime>2022-09-02T10:25:39+0800</StartTime>
<State>Success</State>
<Tag>SpeechRecognition</Tag>
<Workflow>
<Name>SpeechRecognition_1581665960537</Name>
<RunId>ic90edd59f84f11ec9d4f525400a3c59f</RunId>
<WorkflowId>web6ac56c1ef54dbfa44d7f4103203be9</WorkflowId>
<WorkflowName>workflow-test</WorkflowName>
</Workflow>
</JobsDetail>
</Response>

Case 3: Task Callback Triggered by Workflow in JSON Format

{
"EventName": "TaskFinish",
"JobsDetail": [{
"Code": "Success",
"CreationTime": "2022-09-02T10:25:38+0800",
"EndTime": "2022-09-02T10:25:46+0800",
"Input": {
"BucketId": "test-1234567890",
"Object": "minnong.mp3",
"Region": "ap-chongqing",
"CosHeaders": [{
"Key": "Content-Type",
"Value": "Audio/mp3"
},
{
"Key": "x-cos-request-id",
"Value": "NjJiZDYwYTFfNjUzYTYyNjRfZjEwZl8xMmZhYzY5"
},
{
"Key": "EventName",
"Value": "cos:ObjectCreated:Put"
},
{
"Key": "Size",
"Value": "1424687"
}
]
},
"JobId": "s886c0a7c2a6611ed847a618901112dcf",
"Operation": {
"UserData": "This is my SpeechRecognition job.",
"JobLevel": "0",
"Output": {
"Bucket": "test-1234567890",
"Object": "/example.txt",
"Region": "ap-chongqing"
},
"SpeechRecognitionResult": {
"AudioTime": "19.7124",
"DetailObjectName": "/example.txt.detail",
"ObjectName": "/example.txt",
"Result": "[0:3.320,0:19.712] The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil."
"ResultDetail": {
"EndMs": "19712",
"FinalSentence": "The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil."
"SliceSentence": "The Peasants, Li Shen, At noon they weed with hoes; Their sweat drips on the soil. Each bowl of rice, who knows? Is the fruit of hard toil.",
"SpeakerId": "0",
"SpeechSpeed": "2.4",
"StartMs": "3320",
"Words": [{
"OffsetEndMs": "2190",
"OffsetStartMs": "0",
"VoiceType": "0",
"Word": "Compassion"
},
{
"OffsetEndMs": "2625",
"OffsetStartMs": "2190",
"VoiceType": "0",
"Word": "Agriculture"
},
{
"OffsetEndMs": "2625",
"OffsetStartMs": "2190",
"VoiceType": "1",
"Word": ","
},
{
"OffsetEndMs": "3060",
"OffsetStartMs": "2625",
"VoiceType": "0",
"Word": "Li"
},
{
"OffsetEndMs": "3825",
"OffsetStartMs": "3060",
"VoiceType": "0",
"Word": "Gentleman"
},
{
"OffsetEndMs": "3825",
"OffsetStartMs": "3060",
"VoiceType": "1",
"Word": ","
},
{
"OffsetEndMs": "5040",
"OffsetStartMs": "3825",
"VoiceType": "0",
"Word": "Hoeing"
},
{
"OffsetEndMs": "5475",
"OffsetStartMs": "5040",
"VoiceType": "0",
"Word": "Day"
},
{
"OffsetEndMs": "6390",
"OffsetStartMs": "5475",
"VoiceType": "0",
"Word": "Noon"
},
{
"OffsetEndMs": "6390",
"OffsetStartMs": "5475",
"VoiceType": "1",
"Word": ","
},
{
"OffsetEndMs": "7365",
"OffsetStartMs": "6390",
"VoiceType": "0",
"Word": "Sweat"
},
{
"OffsetEndMs": "7755",
"OffsetStartMs": "7365",
"VoiceType": "0",
"Word": "Grain"
},
{
"OffsetEndMs": "8130",
"OffsetStartMs": "7755",
"VoiceType": "0",
"Word": "Down"
},
{
"OffsetEndMs": "8850",
"OffsetStartMs": "8130",
"VoiceType": "0",
"Word": "Soil"
},
{
"OffsetEndMs": "8850",
"OffsetStartMs": "8130",
"VoiceType": "1",
"Word": "."
},
{
"OffsetEndMs": "9915",
"OffsetStartMs": "8850",
"VoiceType": "0",
"Word": "Who knows"
},
{
"OffsetEndMs": "11130",
"OffsetStartMs": "9915",
"VoiceType": "0",
"Word": "Meal"
},
{
"OffsetEndMs": "11130",
"OffsetStartMs": "9915",
"VoiceType": "1",
"Word": ","
},
{
"OffsetEndMs": "12045",
"OffsetStartMs": "11130",
"VoiceType": "0",
"Word": "Grains"
},
{
"OffsetEndMs": "12540",
"OffsetStartMs": "12045",
"VoiceType": "0",
"Word": "All"
},
{
"OffsetEndMs": "14745",
"OffsetStartMs": "12540",
"VoiceType": "0",
"Word": "Hard"
},
{
"OffsetEndMs": "14745",
"OffsetStartMs": "12540",
"VoiceType": "1",
"Word": "."
}
],
"WordsNum": "22"
}
},
"TemplateId": "t14aea553bb55c468b963fafa472afc538",
"TemplateName": "test"
},
"QueueId": "p2242ab62c7c94486915508540933a2c6",
"StartTime": "2022-09-02T10:25:39+0800",
"State": "Success",
"Tag": "SpeechRecognition",
"Workflow": {
"Name": "SpeechRecognition_1581665960537",
"RunId": "ic90edd59f84f11ec9d4f525400a3c59f",
"WorkflowId": "web6ac56c1ef54dbfa44d7f4103203be9",
"WorkflowName": "workflow-test"
}
}]
}


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백