设备网络SDK开发使用手册


<?xml version="1.0" encoding="UTF-8"?>
<!--req, 智能设备能力集描述 -->
<VcaDevAbility>
  <vcaChanNum>32</vcaChanNum>
  <!--智能通道总个数-->
  <plateChanNum>2</plateChanNum>
  <!--车牌通道个数-->
  <basicBehaviorChanNum>2</basicBehaviorChanNum>
  <!--行为分析基本版个数-->
  <advanceBehaviorChanNum>2</advanceBehaviorChanNum>
  <!--行为高级版个数-->
  <fullBehaviorChanNum>2</fullBehaviorChanNum>
  <!--行为完整版个数-->
  <ATMChanNum>2</ATMChanNum>
  <!--智能ATM个数-->
  <PDCChanNum>2</PDCChanNum>
  <!--人数统计通道个数-->
  <ITSChanNum>2</ITSChanNum>
  <!--交通事件通道个数-->
  <prisonBehaviorChanNum>2</prisonBehaviorChanNum>
  <!--行为监狱版(监舍)通道个数-->
  <faceSnapChanNum>2</faceSnapChanNum>
  <!--人脸抓拍通道个数-->
  <faceSnapRecogChanNum>2</faceSnapRecogChanNum>
  <!--人脸抓拍和识别通道个数-->
  <faceRetrievalChanNum>2</faceRetrievalChanNum>
  <!--人脸后检索个数-->
  <faceRecogChanNum>2</faceRecogChanNum>
  <!--人脸识别通道个数-->
  <prisonPerimeterChanNum>2</prisonPerimeterChanNum>
  <!--行为监狱版(周界)通道个数-->
  <TPSChanNum>2</TPSChanNum>
  <!--交通诱导通道个数-->
  <TFSChanNum>2</TFSChanNum>
  <!--道路违章取证通道个数-->
  <faceSnapBehaviorChanNum>2</faceSnapBehaviorChanNum>
  <!--人脸抓拍和行为分析通道个数-->
  <intelligentTracking>true</intelligentTracking>
  <!--智能跟踪-->
  <vcaCtrlBatch>true</vcaCtrlBatch>
  <!--支持智能控制类型批量配置-->
  <SmartRoadDetectionChanNum>2</SmartRoadDetectionChanNum>
  <!--SMART事件+道路监控通道个数-->
  <SmartFaceDetectionChanNum>2</SmartFaceDetectionChanNum>
  <!--SMART事件+人脸侦测通道个数-->
  <SmartHeatMapChanNum>2</SmartHeatMapChanNum>
  <!--SMART事件+人脸侦测通道个数-->

  <!--普通设备取流-->
  <NormalPuStream>
    <StreamMediaServer>
      <!--流媒体-->
      <enabled opt="true,false"/>
      <!--启用性-->
      <streamMediaServerIP opt="ipv4,ipv6"/>
      <!--流媒体服务器地址-->
      <streamMediaServerPort min="8000" max="65535"/>
      <!--流媒体服务器端口-->
      <transProtocol opt="TCP,UDP"/>
      <!--传输协议-->
    </StreamMediaServer>
    <DevChanInfo>
      <!--设备通道-->
      <devIP opt="ipv4,ipv6"/>
      <!--ip地址-->
      <devPort min="8000" max="65535"/>
      <!--端口-->
      <channelNO>true</channelNO>
      <!--通道号-->
      <transProtocol opt="TCP,UDP,RTP"/>
      <!--传输协议-->
      <transMode opt="mainstream,substream"/>
      <!--传输码流模式,mainstream-主码流,substream-子码流-->
      <usernameLength min="0" max="32"/>
      <!--用户名长度-->
      <passwordLength min="0" max="16"/>
      <!--密码长度-->
    </DevChanInfo>
  </NormalPuStream>
  <!--IP接入参数-->
  <IPAccessParam>
    <analogChanEnable opt="true,false"/>
    <!--模拟通道启用性-->
    <ipDevInfo>
      <!--IP设备信息-->
      <enabled opt="true,false"/>
      <!--IP设备启用性-->
      <protocolType>true</protocolType>
      <!--协议类型-->
      <quickAdd opt="true,false"/>
      <!--支持快速添加-->
      <devIP opt="ipv4,ipv6"/>
      <!--ip地址-->
      <devPort min="8000" max="65535"/>
      <!--端口-->
      <usernameLength min="0" max="32"/>
      <!--用户名长度-->
      <passwordLength min="0" max="16"/>
      <!--密码长度-->
      <domainNameLength min="0" max="64"/>
      <!--设备域名长度-->
    </ipDevInfo>
    <!--取流方式参数-->
    <PuStreamType>
      <!--直接从设备取流-->
      <DirectDevice>
        <enabled opt="true,false"/>
        <!--启用性-->
        <ipIDLow>true</ipIDLow>
        <!--IP设备ID的低8位-->
        <ipIDHigh>true</ipIDHigh>
        <!--IP设备ID的高8位-->
        <channelNO>true</channelNO>
        <!--取流设备通道号-->
        <transProtocol opt="TCP,UDP,RTP"/>
        <!--传输协议-->
        <transMode opt="mainstream,substream"/>
        <!--传输码流模式,mainstream-主码流,substream-子码流-->
        <factoryType>true</factoryType>
        <!--前端设备厂家类型-->
      </DirectDevice>
      <!--从流媒体取流-->
      <OverMediaServer>
        <StreamMediaServer>
          <!--流媒体-->
          <enabled opt="true,false"/>
          <!--启用性-->
          <streamMediaServerIP opt="ipv4,ipv6"/>
          <!--流媒体服务器地址-->
          <streamMediaServerPort min="8000" max="65535"/>
          <!--流媒体服务器端口-->
          <transProtocol opt="TCP,UDP"/>
          <!--传输协议-->
        </StreamMediaServer>
        <DevChanInfo>
          <!--设备通道-->
          <devIP opt="ipv4,ipv6"/>
          <!--ip地址-->
          <devPort min="8000" max="65535"/>
          <!--端口-->
          <channelNO>true</channelNO>
          <!--通道号-->
          <transProtocol opt="TCP,UDP,RTP"/>
          <!--传输协议-->
          <transMode opt="mainstream,substream"/>
          <!--传输码流模式,mainstream-主码流,substream-子码流-->
          <usernameLength min="0" max="32"/>
          <!--用户名长度-->
          <passwordLength min="0" max="16"/>
          <!--密码长度-->
        </DevChanInfo>
      </OverMediaServer>
      <!--通过IPServer获得IP地址后取流-->
      <DeviceOverIpServer>
        <enabled opt="true,false"/>
        <!--启用性-->
        <ipServerIP opt="ipv4,ipv6"/>
        <!--IPServer地址-->
        <ipServerPort min="8000" max="65535"/>
        <!--IPServer端口-->
        <devNameLength min="0" max="32"/>
        <!--取流设备名称长度-->
        <devSerialLength min="0" max="48"/>
        <!--取流设备序列号长度-->
        <devUsernameLength min="0" max="32"/>
        <!--取流设备用户名长度-->
        <devPasswordLength min="0" max="16"/>
        <!--取流设备密码长度-->
        <devChannelNO>true</devChannelNO>
        <!--取流设备通道号-->
      </DeviceOverIpServer>
      <!--通过IPServer找到设备,再通过流媒体取流-->
      <MediaServerOverIpServer>
        <enabled opt="true,false"/>
        <!--启用性-->
        <streamMediaServerIP opt="ipv4,ipv6"/>
        <!--流媒体服务器地址-->
        <streamMediaServerPort min="8000" max="65535"/>
        <!--流媒体服务器端口-->
        <streamMediaServerTransmitType opt="TCP,UDP"/>
        <!--流媒体服务器传输协议-->
        <ipServerIP opt="ipv4,ipv6"/>
        <!--IPServer地址-->
        <ipServerPort min="8000" max="65535"/>
        <!--IPServer端口-->
        <devNameLength min="0" max="32"/>
        <!--取流设备名称长度-->
        <devSerialLength min="0" max="48"/>
        <!--取流设备序列号长度-->
        <devUsernameLength min="0" max="32"/>
        <!--取流设备用户名长度-->
        <devPasswordLength min="0" max="16"/>
        <!--取流设备密码长度-->
        <devChannelNO>true</devChannelNO>
        <!--取流设备通道号-->
        <devPort min="8000" max="65535"/>
        <!--取流设备端口-->
        <transProtocol opt="TCP,UDP,RTP"/>
        <!--传输协议-->
        <transMode opt="mainstream,substream"/>
        <!--传输码流模式,mainstream-主码流,substream-子码流-->
        <factoryType>true</factoryType>
        <!--前端设备厂家类型-->
      </MediaServerOverIpServer>
      <!--通过流媒体由URL去取流-->
      <UrlOverMediaServer>
        <enabled opt="true,false"/>
        <!--启用性-->
        <urlLength min="0" max="255"/>
        <!--取流URL路径长度-->
        <transProtocol opt="TCP,UDP,RTP"/>
        <!--传输协议-->
        <ipID>true</ipID>
        <!--设备ID号-->
        <channelNO>true</channelNO>
        <!--通道号-->
      </UrlOverMediaServer>
      <!--通过hiDDNS找到设备然后从设备取流-->
      <DeviceOverHiDDNS>
        <enabled opt="true,false"/>
        <!--启用性-->
        <hiDDNSDomainLength min="0" max="64"/>
        <!--hiDDNS服务器地址长度-->
        <hiDDNSPort min="8000" max="65535"/>
        <!--hiDDNS服务器端口-->
        <devAliasLen min="0" max="32"/>
        <!--取流设备别名长度-->
        <devSerialLength min="0" max="48"/>
        <!--取流设备序列号长度-->
        <devUsernameLength min="0" max="32"/>
        <!--取流设备用户名长度-->
        <devPasswordLength min="0" max="16"/>
        <!--取流设备密码长度-->
        <devChannelNO>true</devChannelNO>
        <!--取流设备通道号-->
      </DeviceOverHiDDNS>
    </PuStreamType>
  </IPAccessParam>
</VcaDevAbility>