Mengkueri pekerjaan DNA dengan memanggil QueryDNAJobList.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:QueryDNAJobList |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| JobIds |
string |
No |
ID pekerjaan DNA yang akan dikueri. Anda dapat menentukan hingga 10 ID pekerjaan per pengatur waktu, dipisahkan dengan koma (,). |
88c6ca184c0e47098a5b665e2a12**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
25818875-5F78-4A13-BEF6-D7393642CA58 |
| JobList |
array<object> |
Informasi pekerjaan DNA. |
|
|
array<object> |
DNAJob. |
||
| DNAResult |
string |
Tautan hasil DNA. |
http://test_bucket.oss-cn-shanghai.aliyuncs.com/fingerprint/video/search_result/5/5.txt |
| PrimaryKey |
string |
Kunci utama unik video. Keunikan dijamin oleh pengguna. |
3ca84a39a9024f19853b21be9cf9**** |
| DBId |
string |
ID pustaka DNA. |
2288c6ca184c0e47098a5b665e2a12**** |
| CreationTime |
string |
Pengatur waktu saat pekerjaan dibuat. |
2022-12-28T03:21:37Z |
| FinishTime |
string |
Pengatur waktu saat pekerjaan selesai. |
2022-12-28T03:21:44Z |
| Status |
string |
Status pekerjaan. Nilai valid:
|
Queuing |
| Message |
string |
Paket kesalahan dari eksekusi pekerjaan. |
"The resource operated \"a887d0b***d805ef6f7f6786302\" cannot be found" |
| Config |
string |
Konfigurasi DNA. |
{"SaveType": "save","MediaType"":"video"} |
| UserData |
string |
Data kustom. |
testdna |
| Code |
string |
Kode kesalahan dari eksekusi pekerjaan. |
"InvalidParameter.ResourceNotFound" |
| Input |
object |
File input. |
|
| Type |
string |
The type of the input file. Valid values:
|
Media |
| Media |
string |
The input file. The file can be an OSS object or a media asset. The path of an OSS object can be in one of the following formats: 1. oss://bucket/object 2. http(s)://bucket.oss-[regionId].aliyuncs.com/object In the preceding paths, bucket indicates an OSS bucket that resides in the same region as the current project, and object indicates the path of the object in the bucket. |
1b1b9cd148034739af413150fded**** |
| Id |
string |
ID pekerjaan. |
88c6ca184c0e47098a5b665e2a12**** |
Konten DNAResult adalah Array of VideoMatchInfo, di mana:
Detail VideoMatchInfo.
| Nama | Tipe | Deskripsi |
| PrimaryKey | String | Kunci utama unik dari file yang cocok. |
| GlobalSimilarity | Double | Tingkat kemiripan keseluruhan. |
| VideoMatchSegments | Array of VideoMatchSegment | Informasi segmen yang cocok untuk pencarian video/gambar-ke-video. |
| AudioMatchSegments | Array of AudioMatchSegment | Informasi segmen yang cocok untuk pencarian audio-ke-audio. |
| TextMatchSegments | Array of TextMatchSegment | Informasi segmen yang cocok untuk pencarian teks-ke-teks. |
Detail VideoMatchSegment/AudioMatchSegment.
| Nama | Tipe | Deskripsi |
| StartTime | Double | Pengatur waktu mulai video/audio input. |
| EndTime | Double | Pengatur waktu selesai video/audio input. |
| MasterStartTime | Double | Pengatur waktu mulai video/audio di pustaka. |
| MasterEndTime | Double | Pengatur waktu selesai video/audio di pustaka. |
| Similarity | Double | Skor kepercayaan segmen yang cocok. |
Detail TextMatchSegment
| Nama | Tipe | Deskripsi |
| Start | Double | Pengatur waktu mulai segmen yang cocok dari kueri. |
| End | Double | Pengatur waktu selesai segmen yang cocok dari kueri. |
| QueryText | String | Segmen teks yang cocok dari kueri. |
| MasterText | String | Segmen teks yang cocok di pustaka. |
| Similarity | Double | Skor kepercayaan segmen yang cocok. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
"JobList": [
{
"DNAResult": "http://test_bucket.oss-cn-shanghai.aliyuncs.com/fingerprint/video/search_result/5/5.txt",
"PrimaryKey": "3ca84a39a9024f19853b21be9cf9****",
"DBId": "2288c6ca184c0e47098a5b665e2a12****",
"CreationTime": "2022-12-28T03:21:37Z",
"FinishTime": "2022-12-28T03:21:44Z",
"Status": "Queuing",
"Message": "\"The resource operated \\\"a887d0b***d805ef6f7f6786302\\\" cannot be found\"",
"Config": "{\"SaveType\": \"save\",\"MediaType\"\":\"video\"}",
"UserData": "testdna",
"Code": "\"InvalidParameter.ResourceNotFound\"",
"Input": {
"Type": "Media",
"Media": "1b1b9cd148034739af413150fded****"
},
"Id": "88c6ca184c0e47098a5b665e2a12****"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.