海康威视摄像头HTTP接口能力调研报告Word格式.docx

上传人:b****2 文档编号:3769944 上传时间:2023-05-02 格式:DOCX 页数:22 大小:550.26KB
下载 相关 举报
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第1页
第1页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第2页
第2页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第3页
第3页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第4页
第4页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第5页
第5页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第6页
第6页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第7页
第7页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第8页
第8页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第9页
第9页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第10页
第10页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第11页
第11页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第12页
第12页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第13页
第13页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第14页
第14页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第15页
第15页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第16页
第16页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第17页
第17页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第18页
第18页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第19页
第19页 / 共22页
海康威视摄像头HTTP接口能力调研报告Word格式.docx_第20页
第20页 / 共22页
亲,该文档总共22页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

海康威视摄像头HTTP接口能力调研报告Word格式.docx

《海康威视摄像头HTTP接口能力调研报告Word格式.docx》由会员分享,可在线阅读,更多相关《海康威视摄像头HTTP接口能力调研报告Word格式.docx(22页珍藏版)》请在冰点文库上搜索。

海康威视摄像头HTTP接口能力调研报告Word格式.docx

port[554]/h264/ch1/码流类型/av_stream

码流类型:

main表示为主码流,sub表示为子码流

举例:

IPC主码流:

number>

,1-32是模拟通道,33以后是IP通道。

IPC@NVR:

举例:

,设备信息和配置推荐使用ISAPI接口,云台控制则推荐使用CGI接口。

接口入口地址:

,GET表示读取当前信息、PUT表示更新配置、POST表示创建数据、DELETE表示删除配置。

3.3设备信息

3.3.1基本信息

调用地址:

/ISAPI/System/deviceInfo

返回消息:

<

xmlversion="

"

encoding="

utf-8"

>

DeviceInfoxmlns="

version="

<

deviceName>

IPDOME<

/deviceName>

deviceID>

ef947dd1-f70b-11b4-83a0-c056e38ef866<

/deviceID>

deviceDescription>

IPDome<

/deviceDescription>

deviceLocation>

STD-CGI<

/deviceLocation>

systemContact>

/systemContact>

model>

DS-2DE7184-A<

/model>

serialNumber>

DS-2DE7184-ACCCH5<

/serialNumber>

macAddress>

c0:

56:

e3:

8e:

f8:

66<

/macAddress>

firmwareVersion>

firmwareReleasedDate>

build150129<

/firmwareReleasedDate>

encoderVersion>

/encoderVersion>

encoderReleasedDate>

build141009<

/encoderReleasedDate>

bootVersion>

bootReleasedDate>

100316<

/bootReleasedDate>

hardwareVersion>

0x0<

/hardwareVersion>

deviceType>

/deviceType>

telecontrolID>

88<

/telecontrolID>

supportBeep>

false<

/supportBeep>

supportVideoLoss>

/supportVideoLoss>

/DeviceInfo>

3.3.2设备状态

/ISAPI/System/status

DeviceStatusxmlns="

currentDeviceTime>

2015-07-30T14:

40:

27+08:

00<

/currentDeviceTime>

deviceUpTime>

185225<

/deviceUpTime>

CPUList>

CPU>

cpuDescription>

ARM926EJ-Sid(wb)[]revision5(ARMv5TEJ)<

/cpuDescription>

cpuUtilization>

58<

/cpuUtilization>

/CPU>

/CPUList>

MemoryList>

Memory>

memoryDescription>

DDRMemory<

/memoryDescription>

memoryUsage>

91<

/memoryUsage>

memoryAvailable>

8624<

/memoryAvailable>

/Memory>

/MemoryList>

/DeviceStatus>

3.3.3重启设备

/ISAPI/System/reboot

3.3.4恢复出厂设置

/ISAPI/System/factoryDefault

3.4图像抓拍

/ISAPI/Streaming/channels/ID/picture

截图本身的二进制数据流

3.5告警通知

3.5.1设置告警开关

全部配置:

/ISAPI/Event/triggers

EventNotificationxmlns="

EventTriggerListversion="

EventTriggerversion="

id>

VMD-1<

/id>

eventType>

VMD<

/eventType>

eventDescription>

VMDEventtriggerInformation<

/eventDescription>

videoInputChannelID>

1<

/videoInputChannelID>

dynVideoInputChannelID>

/dynVideoInputChannelID>

EventTriggerNotificationListversion="

EventTriggerNotification>

center<

notificationMethod>

/notificationMethod>

notificationRecurrence>

beginning<

/notificationRecurrence>

/EventTriggerNotification>

/EventTriggerNotificationList>

/EventTrigger>

videoloss-1<

videoloss<

VideolossEventtriggerInformation<

……

/EventTriggerList>

/EventNotification>

某项配置:

/Event/triggers/ID

实际地址:

/Event/triggers/VMD-1

EventTriggerxmlns="

3.5.2配置告警中心

告警中心可以理解为一个HTTP服务,具体地址信息配置到设备中,当有告警发生,并告警通知设置了为通知告警中心,则设备会根据设定间隔向指定的URL地址发送具体告警信息的XML文。

具体配置的写入则通过PUT消息来实现。

调用地址:

/ISAPI/Event/notification/httpHosts

返回消息:

HttpHostNotificationListxmlns="

HttpHostNotificationversion="

<

url>

/ipd-warn/notify<

/url>

protocolType>

HTTP<

/protocolType>

parameterFormatType>

XML<

/parameterFormatType>

addressingFormatType>

ipaddress<

/addressingFormatType>

ipAddress>

/ipAddress>

portNo>

8080<

/portNo>

userName/>

httpAuthenticationMethod>

none<

/httpAuthenticationMethod>

/HttpHostNotification>

/HttpHostNotificationList>

3.5.3告警消息示例

POST/ipd-warn/notifyHTTP/

Content-Type:

application/xml;

charset="

UTF-8"

Host:

Connection:

Keep-Alive

Content-Length:

799

EventNotificationAlertversion="

xmlns="

urn:

psialliance-org"

c4:

2f:

90:

33:

36<

channelID>

/channelID>

dateTime>

2015-07-29T17:

05:

46+08:

/dateTime>

activePostCount>

51<

/activePostCount>

eventState>

active<

/eventState>

Motionalarm<

Extensionsversion="

serialNumberxmlns="

selfextension:

psiaext-ver10-xsd"

DS-2CD2T20-I5AACH8<

eventPushxmlns="

VMD&

&

DS-2CD2T20-I5AACH8,2015-07-29T17:

00,1,<

/eventPush>

/Extensions>

/EventNotificationAlert>

3.5.4告警消息格式说明

(1)XML节点

ipAddress:

设备的IP地址

protocolType:

协议类型,只支持HTTP

macAddress:

设备的MAC地址

channelID:

通道号

dateTime:

发生报警的时间

activePostCount:

该类型报警发生的次数

eventType:

事件类型:

eventState:

事件状态

eventDescription:

时间描述

Extensions:

私有信息,内部用序列号、事件类型、时间等

(2)事件类型(eventType)的含义

IO:

报警输入报警

VMD:

移动侦测

videoloss:

视频丢失

shelteralarm:

遮挡报警

facedetection:

人脸侦测

defocus:

虚焦侦测

audioexception:

音频异常

scenechangedetection:

场景变更

fielddetection:

区域入侵

linedetection:

越界侦测

regionEntrance:

进入区域

regionExiting:

离开区域

loitering:

徘徊侦测

group:

人员聚集

rapidMove:

快速移动

parking:

停车侦测

unattendedBaggage:

物品遗留

attendedBaggage:

物品拿去

PIR:

人体检测

3.6云台控制

3.6.1云台设置

/PTZCtrl/channels/1/presets

PTZPresetListxmlns="

PTZPreset>

enabled>

true<

/enabled>

33<

presetName>

自动翻转<

/presetName>

/PTZPreset>

34<

回到零点<

35<

巡航扫描1<

39<

白天模式<

40<

黑夜模式<

41<

花样扫描1<

……

45<

一键巡航<

92<

设置手动限位<

93<

确认手动限位<

94<

远程重启<

96<

停止扫描<

97<

随机扫描<

98<

帧扫描<

99<

自动扫描<

100<

垂直扫描<

101<

全景扫描<

102<

巡航扫描5<

106<

风扇常开模式<

107<

风扇常闭模式<

108<

风扇温控模式<

/PTZPresetList>

3.6.2巡航指令

/PTZCtrl/channels/<

ID>

/presets/<

/goto

全景扫描:

valueofcommandis:

LIGHT:

Light

WIPER:

Wiper

FAN:

Fan

HEATER:

Heater.

AUX1:

auxiliaryequipment1.

AUX2:

auxiliaryequipment2

SET_PRESET:

Setpreset

CLE_PRESET:

Clearpreset.

ZOOM_IN:

Zoominthespecifiedspeed.

ZOOM_OUT:

Zoomoutinthespecifiedspeed.

FOCUS_NEAR:

focusnearinthespecifiedspeed.

FOCUS_FAR:

focusfarinthespecifiedspeed.

IRIS_OPEN:

IRISisopeninthespecifiedspeed

IRIS_CLOSE:

IRISiscloesdinthespecifiedspeed

TILT_UP:

PTZistiltupinthespecifiedspeed

TILT_DOWN:

PTZistiltdowninthespecifiedspeed

PAN_LEFT:

PTZispanleftinthespecifiedspeed

PAN_RIGHT:

PTZispanrightinthespecifiedspeed

UP_LEFT:

PTZisup-leftinthespecifiedspeed

UP_RIGHT:

PTZisup-rightinthespecifiedspeed

DOWN_LEFT:

PTZisdown-leftint

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 工程科技 > 能源化工

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2