设备网络SDK开发使用手册


<?xml version="1.0" encoding="utf-8"?>
<!--req, 设备协议接入能力集描述 -->
<AccessProtocolAbility version="2.0">
  <channelNO>1</channelNO>
  <!--req,通道号-->
  <EzvizParam>
    <enable opt="true,false"/>
    <!--req, EZVIZ 视频7 协议使能: 0-关闭, 1-开启-->
    <mutexAbility opt="gbt28181,ehome"/>
    <!--req, 互斥能力,GBT28181和Ehome能力-->
    <deviceStatus attri="readonly" opt="offline,online"/>
    <!--设备注册状态-->
    <allowRedirect opt ="0,1,2"/>
    <!--opt, 是否支持域名地址重定向,不支持时无此节点-->
    <domainLen min="" max=""/>
    <!--opt, 域名服务器长度,不支持时无此节点-->
    <netMode opt="auto,wiredNetworkPriority, wiredNetwork,wirelessNetwork"/>
    <!--opt, 网络模式:自动、有线网络优先、有线网络默认、无线网络-->
    <VerificationCode>
      <!--opt, 支持配置验证码, 不支持时无此节点-->
      <!--opt, xs:string-->
      <verificationCodeType opt="normal,empty">normal</verificationCodeType>
      <supportDeclarationURL>
        <!--opt, xs:string, 服务声明超链接返回-->
      </supportDeclarationURL>
      <supportPrivacyPolicyURL>
        <!--opt, xs:string, 隐私条款超链接返回-->
      </supportPrivacyPolicyURL>
      <!--opt, 设备验证码是否修改过,修改了返回true, 没有修改返回false, 不返回该节点表示不支持判断认证码是否修改-->
      <verificationCodeModify>true</verificationCodeModify>
    </VerificationCode>
    <VerificationCode>
      <!--opt,验证码支持配置,不支持时无此节点-->
      <!--opt,xs:string-->
      <verificationCodeType opt="normal,empty">normal</verificationCodeType>
      <supportDeclarationURL>
        <!--opt, xs:string, 服务声明超链接返回-->
      </supportDeclarationURL>
      <supportPrivacyPolicyURL>
        <!--opt, xs:string, 隐私条款超链接返回-->
      </supportPrivacyPolicyURL>
      <!--opt,设备验证码是否修改过, 修改了返回true, 没有修改返回false, 不返回该节点表示不支持判断认证码是否修改-->
      <verificationCodeModify>true</verificationCodeModify>
    </VerificationCode>
  </EzvizParam>
  <SupportTransPrivateProtocol>
    <!--opt 支持通过萤石云透传私有协议-->
    <NotSupportLongConfig>
      <!--opt 通过SDK通过萤石云平台与设备通信时,萤石云平台不支持的长连接功能-->
      <preview>true</preview>
      <!--opt 预览 NET_DVR_RealPlay_V40-->
      <voiceCom>true</voiceCom>
      <!--opt 语音对讲 NET_DVR_StartVoiceCom_V30-->
      <playbackByTime>true</playbackByTime>
      <!--opt 按时间回放 NET_DVR_PlayBackByTime-->
      <playbackByFile>true</playbackByFile>
      <!--opt 按文件回放NET_DVR_PlayBackByName-->
      <playReverseByTime>true</playReverseByTime>
      <!--opt 按时间倒放NET_DVR_PlayBackReverseByTime_V40-->
      <playReverseByFile>true</playReverseByFile>
      <!--opt 按文件倒放NET_DVR_PlayBackReverseByName-->
      <playbackByTimeAndId>true</playbackByTimeAndId>
      <!--opt 按ID和时间回放 NET_DVR_PlayBackByTime_V40-->
      <playbackByTimeLatitudeLongitude>true</playbackByTimeLatitudeLongitude>
      <!--opt 按时间、经纬度回放 NET_DVR_PlayBackByTime_NEW-->
      <playbackByTimePCNVR>true</playbackByTimePCNVR>
      <!--opt PCNVR, 按时间回放 NET_DVR_PlayBackByTime_PCNVR-->
      <arm>true</arm>
      <!--opt 布防 NET_DVR_SetupAlarmChan_V41-->
      <format>true</format>
      <!--opt 远程格式化 NET_DVR_FormatDisk-->
      <log>true</log>
      <!--opt 设备日志 NET_DVR_FindDVRLog_V30-->
      <matrixLog>true</matrixLog>
      <!--opt 视频综合平台日志 NET_DVR_FindDVRLog_Matrix-->
      <smartLog>true</smartLog>
      <!--opt smart日志 NET_DVR_FindDVRLog_V30-->
      <alarmHostLog>true</alarmHostLog>
      <!--opt 报警主机日志 NET_DVR_FindAlarmHostLog-->
      <uploadConfigFile>true</uploadConfigFile>
      <!--opt 导入配置文件 NET_DVR_UploadFile_V40/CONFIGURATION_FILE-->
      <downloadConfigFile>true</downloadConfigFile>
      <!--opt 导出配置文件 NET_DVR_StartDownload/NET_SDK_DOWNLOAD_CONFIGURATION_FILE-->
      <exportIPCConfigFile>true</exportIPCConfigFile>
      <!--opt 导出IPC配置文件NET_DVR_StartRemoteConfig/NET_DVR_IMPORT_IPC_CFG_FILE-->
      <importIPCConfigFile>true</importIPCConfigFile>
      <!--opt 导入IPC配置文件NET_DVR_StartDownload/NET_SDK_DOWNLOAD_IPC_CFG_FILE-->
      <transparencySerial>true</transparencySerial>
      <!--opt 透明通道NET_DVR_SerialStart-->
      <alarmHostTransparencySerial>true</alarmHostTransparencySerial>
      <!--opt 报警主机透明通道NET_DVR_AlarmHostSerialStart -->
      <backupByFile>true</backupByFile>
      <!--opt 按文件名备份录像 NET_DVR_BackupByName-->
      <backupByTime>true</backupByTime>
      <!--opt 按时间备份录像NET_DVR_BackupByTime-->
      <backupPicture>true</backupPicture>
      <!--opt 备份图片NET_DVR_Backup-->
      <backupLog>true</backupLog>
      <!--opt 备份日志 NET_DVR_Backup-->
      <upgrade>true</upgrade>
      <!--opt 升级NET_DVR_StartUpgrade-->
      <upgradeRaidAdapter>true</upgradeRaidAdapter>
      <!--opt 升级适配器 NET_DVR_AdapterUpgrade-->
      <upgradeIPChannel>true</upgradeIPChannel>
      <!--opt 升级IP通道 NET_DVR_StartRemoteConfig/NET_DVR_UPGRADE_IPC-->
      <upgradeVCALib>true</upgradeVCALib>
      <!--opt 智能库升级 NET_DVR_VcalibUpgrade-->
      <upgradeOptical>true</upgradeOptical>
      <!--opt 光端机升级 NET_DVR_OpticalUpgrade-->
      <inquireFaceDBRecord>true</inquireFaceDBRecord>
      <!--opt 查询智能人脸数据库记录 NET_DVR_InquireFaceDBRecord-->
      <searchFaceDB>true</searchFaceDB>
      <!--opt 检索智能人脸数据库 NET_DVR_SearchFaceDB-->
      <inquireSnapDBRecord>true</inquireSnapDBRecord>
      <!--opt 查询抓拍数据库记录NET_DVR_InquireSnapDBRecord-->
      <searchSnapDB>true</searchSnapDB>
      <!--opt 检索抓拍数据库NET_DVR_SearchSnapDB-->
      <faceMatchAlarm>true</faceMatchAlarm>
      <!--opt 查询黑名单比对报警结果NET_DVR_FindFaceMatchAlarm-->
      <findDatabase>true</findDatabase>
      <!--opt 查询数据库NET_DVR_FindDataBase-->
      <findBlackList>true</findBlackList>
      <!--opt 查询黑名单NET_DVR_FindBlackList-->
      <findSnapPicture>true</findSnapPicture>
      <!--opt 查询抓拍图片NET_DVR_FindSnapPicture-->
      <findAdvanceSnapPicture>true</findAdvanceSnapPicture>
      <!--opt 事后检索NET_DVR_AdvanceFindSnapPicture-->
      <uploadAudio>true</uploadAudio>
      <!--opt 上传音频文件 NET_DVR_StartUploadFile-->
      <downloadAudio>true</downloadAudio>
      <!--opt 下载音频文件NET_DVR_StartDownloadFile-->
      <passiveDecode>true</passiveDecode>
      <!--opt 被动解码NET_DVR_MatrixStartPassiveDecode-->
      <passiveTranseCode>true</passiveTranseCode>
      <!--opt 被动转码NET_DVR_StartPassiveTransCode-->
      <pictureView>true</pictureView>
      <!--opt 图片回显NET_DVR_StartPicPreview-->
      <dvcsOperateDevice>true</dvcsOperateDevice>
      <!--opt 配置分布式子设备-->
      <uploadPicture>true</uploadPicture>
      <!--opt 底图上传NET_DVR_PicUpload-->
      <t1Test>true</t1Test>
      <!--opt t1功能测试,产线使用NET_DVR_StartT1Test-->
      <uploadCert>true</uploadCert>
      <!--opt 上传证书NET_DVR_UploadFile_V40/UPLOAD_CERTIFICATE-->
      <downloadCert>true</downloadCert>
      <!--opt 下载证书NET_DVR_StartDownload/NET_SDK_DOWNLOAD_CERT-->
      <downloadBaselineScenePicture>true</downloadBaselineScenePicture>
      <!--opt 下载基准场景图片NET_DVR_StartDownload/NET_SDK_DOWNLOAD_BASELINE_SCENE_PIC-->
      <downloadVQDAlarmPicture>true</downloadVQDAlarmPicture>
      <!--opt 下载VQD报警图片NET_DVR_StartDownload/NET_SDK_DOWNLOAD_VQD_ALARM_PIC-->
      <uploadInquestFile>true</uploadInquestFile>
      <!--opt 上传审讯文件NET_DVR_InquestUploadFile_V30-->
      <resumeInquestEvent>true</resumeInquestEvent>
      <!--opt 恢复审讯事件 NET_DVR_Backup-->
      <getNetworkFlow>true</getNetworkFlow>
      <!--opt 网络流量NET_DVR_StartNetworkFlowTest-->
      <emailTest>true</emailTest>
      <!--opt emial服务测试NET_DVR_StartEmailTest-->
      <algolibDebugInfo>true</algolibDebugInfo>
      <!--opt 算法库调试信息输出NET_DVR_AlgoDebugStart-->
      <eventSearch>true</eventSearch>
      <!--opt 事件搜索NET_DVR_FindFileByEvent-->
      <smartSearch>true</smartSearch>
      <!--opt smart搜索NET_DVR_SmartSearch-->
      <findFile>true</findFile>
      <!--opt 文件搜索NET_DVR_FindFile_V30-->
      <findIPSANDirectory>true</findIPSANDirectory>
      <!--opt 查找IPSAN文件目录NET_DVR_FindIpSanDirectory-->
      <findPicture>true</findPicture>
      <!--opt 查找图片NET_DVR_FindPicture-->
      <findInquestFile>true</findInquestFile>
      <!--opt 搜索审讯文件NET_DVR_InquestFindFile-->
      <findRecordLabel>true</findRecordLabel>
      <!--opt 搜索录像标签NET_DVR_FindRecordLabel-->
      <findPCNVRFile>true</findPCNVRFile>
      <!--opt PCNVR搜索文件NET_DVR_FindFile_PCNVR-->
      <setAccessCameraInfo>true</setAccessCameraInfo>
      <!--opt 设置前端信息NET_DVR_SetAccessCameraInfo-->
      <securityPullRaidDisk>true</securityPullRaidDisk>
      <!--opt 安全拔盘NET_DVR_RaidPullDiskStart-->
      <scanRaid>true</scanRaid>
      <!--opt 扫描阵列NET_DVR_ScanRaidStart-->
      <GPSData>true</GPSData>
      <!--opt 获取GPS数据NET_DVR_GetVehicleGpsInfo-->
      <oneKeyConfig>true</oneKeyConfig>
      <!--opt 一键配置ET_DVR_StartRemoteConfig/NET_DVR_ONE_KEY_CONFIG-->
      <streamInfoList>true</streamInfoList>
      <!--opt 获取已添加的ID信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_STREAM_INFO-->
      <findNASDirectory>true</findNASDirectory>
      <!--opt 查找NAS目录 NET_DVR_StartRemoteConfig/NET_DVR_FIND_NAS_DIRECTORY-->
      <ITSTransparencyChannel>true</ITSTransparencyChannel>
      <!--opt ITS透明通道 NET_DVR_StartRemoteConfig/NET_ITS_TRANSCHAN_START-->
      <getInputVolume>true</getInputVolume>
      <!--opt 获取输入音量 NET_DVR_StartRemoteConfig/NET_DVR_START_GET_INPUTVOLUME-->
      <vehicleCheck>true</vehicleCheck>
      <!--opt 车辆黑名单稽查 NET_DVR_StartRemoteConfig/NET_DVR_VEHICLE_CHECK_START-->
      <fisheyeConfig>true</fisheyeConfig>
      <!--opt 鱼眼长连接配置 NET_DVR_StartRemoteConfig/NET_DVR_FISHEYE_CFG-->
      <getVehicleList>true</getVehicleList>
      <!--opt 获取所有车辆黑白名单信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_ALL_VEHICLE_CONTROL_LIST-->
      <setVehicleList>true</setVehicleList>
      <!--opt 设置所有车辆黑白名单信息 NET_DVR_StartRemoteConfig/NET_DVR_VEHICLE_CONTROL_LIST_START-->
      <NASServerTest>true</NASServerTest>
      <!--opt NAS服务器测试 NET_DVR_StartRemoteConfig/NET_DVR_NAS_SERVER_TEST-->
      <NTPServerTest>true</NTPServerTest>
      <!--opt NTP服务器测试 NET_DVR_StartRemoteConfig/NET_DVR_NTP_SERVER_TEST-->
      <IPServerTest>true</IPServerTest>
      <!--opt IP冲突测试 NET_DVR_StartRemoteConfig/NET_DVR_IP_TEST-->
      <FTPServerTest>true</FTPServerTest>
      <!--opt FTP服务器测试 NET_DVR_StartRemoteConfig/NET_DVR_FTP_SERVER_TEST-->
      <emailServerTest>true</emailServerTest>
      <!--opt email服务器测试 NET_DVR_StartRemoteConfig/NET_DVR_EMAIL_SERVER_TEST-->
      <expand>true</expand>
      <!--opt 远程扩容NET_DVR_ExpandDisk-->
      <raidFastConfig>true</raidFastConfig>
      <!--opt 阵列一键配置NET_DVR_RaidFastConfig-->
      <VQDDiagnoseInfo>true</VQDDiagnoseInfo>
      <!--opt 获取VQD诊断信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_VQD_DIAGNOSE_INFO-->
      <ITSExternalDevice>true</ITSExternalDevice>
      <!--opt 获取ITS外接设备信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_ITS_EXDEVSTATUS-->
      <FCInfo>true</FCInfo>
      <!--opt 获取FC信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_FC-->
      <NPlusOneDeviceInfo>true</NPlusOneDeviceInfo>
      <!--opt 获取N+1模式的设备信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_N_PLUS_ONE_DEVICE_INFO-->
      <matrixDispRoute>true</matrixDispRoute>
      <!--opt 视频显示路径 NET_DVR_StartRemoteConfig/NET_DVR_GET_DISP_ROUTE_LIST-->
      <Ipv6List>true</Ipv6List>
      <!--opt IPv6地址 NET_DVR_StartRemoteConfig/NET_DVR_GET_IPV6_LIST-->
      <zoneInfo>true</zoneInfo>
      <!--opt 获取所有防区信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_ALARMHOST_ZONE_LIST_IN_SUBSYSTEM-->
      <alarmoutInfo>true</alarmoutInfo>
      <!--opt 获取所有触发器信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_ALARMHOST_TRIGGER_LIST-->
      <variableInfo>true</variableInfo>
      <!--opt 获取变量元素信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_ALL_VARIABLE_INFO-->
      <searchAlarmhostExternalDevice>true</searchAlarmhostExternalDevice>
      <!--opt 搜索外接设备 NET_DVR_StartRemoteConfig/NET_DVR_SEARCH_ARMHOST_EXTERNAL_MODULE-->
      <registerAlarmhostExternalDevice>true</registerAlarmhostExternalDevice>
      <!--opt 注册外接设备 NET_DVR_StartRemoteConfig/NET_DVR_REGISTER_ALARMHOST_EXTERNAL_MODULE-->
      <historyValue>true</historyValue>
      <!--opt 获取历史数据 NET_DVR_StartRemoteConfig/NET_DVR_GET_HISTORY_VALUE-->
      <ETCChannelState>true</ETCChannelState>
      <!--opt 获取ECT通道状态 NET_DVR_StartRemoteConfig/NET_ITS_GET_ECT_CHAN_INFO-->
      <VQDmonitorPlan>true</VQDmonitorPlan>
      <!--opt 获取管理计划 NET_DVR_StartRemoteConfig/NET_DVR_GET_MONITOR_PLAN_VQD-->
      <VQDmonitorID>true</VQDmonitorID>
      <!--opt 获取监控点信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_MONITORID_VQD-->
      <CDWriteStatus>true</CDWriteStatus>
      <!--opt CD刻录状态 NET_DVR_StartRemoteConfig/NET_DVR_INQUEST_GET_CDW_STATUS-->
      <pdcResult>true</pdcResult>
      <!--opt 客流量数据 NET_DVR_StartRemoteConfig/NET_DVR_GET_PDC_RESULT-->
      <ptzLockInfo>true</ptzLockInfo>
      <!--opt PTZ锁定信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_PTZLOCKINFO-->
      <gopInfo>true</gopInfo>
      <!--opt gop信息 NET_DVR_StartRemoteConfig/NET_DVR_GET_GOP_INFO-->
      <heatMapResult>true</heatMapResult>
      <!--opt 热度图数据 NET_DVR_StartRemoteConfig/NET_DVR_GET_HEATMAP_RESULT-->
      <lockInfoList>true</lockInfoList>
      <!--opt 被锁定用户信息 NET_DVR_StartRemoteConfig/ NET_DVR_GET_LOCKED_INFO_LIST -->
    </NotSupportLongConfig>
  </SupportTransPrivateProtocol>
</AccessProtocolAbility>