提交视频DNA作业后,视频DNA服务会进行DNA对比,通过此接口可以查询作业结果。

请求参数

名称 类型 是否必选 描述
Action String 操作接口名,系统规定参数,取值: QueryFpShotJobList
JobIds String 作业ID列表,最多一次查10个,ID之间用“,”分隔。

返回参数

名称 类型 描述
FpShotJobList AliyunFpShotJob[] 视频DNA作业。参见 数据类型AliyunFpShotJob
NonExistIds String[] 不存在的作业ID列表,无数据时该结构不返回。

示例

请求示例
http://mts.cn-shanghai.aliyuncs.com?Action=QueryFpShotJobList&JobId=%2288c6ca184c0e47098a5b665e2a126797%22<公共参数>

返回示例

XML
<QueryFpShotJobListResponse>
    <RequestId>
        25818875-5F78-4A13-BEF6-D7393642CA58
    </RequestId>
    <FpShotJobList list="true">
        <FpShotJob>
            <Id>88c6ca184c0e47098a5b665e2a126797</Id>
            <PipelineId>88c6ca184c0e47098a5b665e2a126797</PipelineId>
            <UserData>testid-001</UserData>
            <CreationTime>2017-01-10T12:00:00Z</CreationTime>
            <State>Success</State>
            <Code></Code>
            <Message></Message>
            <InputFile>
                <Bucket>oss-test</Bucket>
                <Location>oss-cn-beiing</Location>
                <Object>test.mp4</Object>
            </InputFile>
            <FpShotResult>
                <FpShots list="true">
                    <FpShot>
                        <PrimaryKey>123456</PrimaryKey>
                        <Similarity>0.8914769887924194</Similarity>
                        <FpShotSlices list="true">
                            <FpShotSlice>
                                <Input>
                                    <Start>46.0</Start>
                                    <Duration>48.0</Duration>
                                </Input>
                                <Duplication>
                                    <Start>1260.0</Start>
                                    <Duration>48.0</Duration>
                                </Duplication>
                            </FpShotSlice>
                        </FpShotSlices>
                    </FpShot>
                </FpShots>
            </FpShotResult>
        </FpShotJob>
    </FpShotJobList>
</QueryFpShotJobListResponse>
JSON
{
  "RequestId": "ACFDBBE1-9C28-4635-B596-9E1423282BF1",
  "FpShotJobList": {
    "FpShotJob": [{
      "FpShotConfig": {
        "SaveType": "save",
        "PrimaryKey": "431123411341",
        "FpDBId": "2a0697e35a7342859f733a9190c44f91"
      },
      "Message": "Success",
      "FinishTime": "2020-06-30T00:34:02Z",
      "State": "Success",
      "FpShotResult": {
        "FpShots": {
          "FpShot": [{
            "Similarity": "1.0",
            "PrimaryKey": "f3bd5404",
            "FpShotSlices": {
              "FpShotSlice": [{
                "Input": {
                  "Start": "0.0",
                  "Duration": "846.2"
                },
                "Similarity": "1.0",
                "Duplication": {
                  "Start": "0.0",
                  "Duration": "846.2"
                }
              }]
            }
          }]
        }
      },
      "CreationTime": "2020-06-30T00:33:18Z",
      "PipelineId": "fb712a6890464059b1b2ea7c8647be16",
      "FileId": "41e6536e4f2250e2e9bf26cdea19bd7a",
      "Id": "25bacf2824614bcf9273dc0744db5f21",
      "Code": "0",
      "InputFile": {
        "Bucket": "mts-sh-in",
        "Object": "DNA/ceshi202006291451/test.mp4",
        "Location": "oss-cn-shanghai"
      }
    }]
  }
}