ONVIF2.0 协议原版
ONVIF2.0 协议中文原版
第 1 页
目录
1 范围............................................................................................................................................16
2 引用标准 ....................................................................................................................................17
3 术语与定义 ................................................................................................................................19
3.1 定义 .............................................................................................................................................19
3.2 缩写..............................................................................................................................................20
4 概述............................................................................................................................................23
4.1 WEB 服务......................................................................................................................................23
4.2 IP 配置 ..........................................................................................................................................24
4.3 设备发现......................................................................................................................................24
4.4 设备类型......................................................................................................................................24
4.5 设备管理......................................................................................................................................25
4.5.1
功能
......................................................................................................................................25
4.5.2
网络
......................................................................................................................................25
4.5.3
系统
......................................................................................................................................26
4.5.4
系统信息检索
......................................................................................................................26
4.5.5
固件升级
..............................................................................................................................26
4.5.6
系统还原
..............................................................................................................................26
4.5.7
安全
......................................................................................................................................26
4.6 设备 IO.........................................................................................................................................27
4.7 图像配置 .....................................................................................................................................27
4.8 媒体配置 .....................................................................................................................................28
4.8.1
媒体配置文件
......................................................................................................................28
4.9 实时流 .........................................................................................................................................30
4.10 事件处理 ...................................................................................................................................31
4.11 PTZ 控制 .....................................................................................................................................31
4.12 视频分析 ...................................................................................................................................32
4.13 分析设备....................................................................................................................................34
4.14 显示 ...........................................................................................................................................34
4.15 接收器........................................................................................................................................34
4.15.1
同步点
................................................................................................................................34
4.16 存储 ...........................................................................................................................................35
4.16.1
存储模式
............................................................................................................................35
4.16.2
记录
....................................................................................................................................36
4.16.3
查找
....................................................................................................................................36
4.16.4
回放
....................................................................................................................................37
4.17 安全............................................................................................................................................37
5 WEB 服务框架 ..........................................................................................................................38
5.1 服务概述 .....................................................................................................................................38
5.1.1
服务要求
..............................................................................................................................38
5.2 WSDL 概述....................................................................................................................................39
ONVIF2.0 协议中文原版
第 2 页
5.3 命名空间 .....................................................................................................................................40
5.4 类型 .............................................................................................................................................42
5.5 消息 .............................................................................................................................................43
5.6 操作..............................................................................................................................................43
5.6.1
单向操作
..............................................................................................................................44
5.6.2
要求
-
应答操作类型
.............................................................................................................44
5.7 端口类型......................................................................................................................................45
5.8 绑定 .............................................................................................................................................45
5.9 端口 .............................................................................................................................................46
5.10 服务............................................................................................................................................46
5.11 错误处理....................................................................................................................................46
5.11.1
协议错误
............................................................................................................................46
5.11.2 SOAP
错误
........................................................................................................................46
5.11.2.1 常见的故障 ..................................................................................................................................47
5.11.2.2 具体的错误 .................................................................................................................................49
5.11.2.3 HTTP 错误 .....................................................................................................................................49
5.12 安全 ...........................................................................................................................................50
5.12.1
基于用户访问控制
............................................................................................................50
5.12.2
用户令牌配置文件
............................................................................................................50
5.12.2.1 密码推导 ......................................................................................................................................51
5.12.2.1.1 例子......................................................................................................................................51
6 IP 配置.........................................................................................................................................52
7 设备发现 ....................................................................................................................................52
7.1 概述..............................................................................................................................................52
7.2 操作模式......................................................................................................................................52
7.3 发现定义 .....................................................................................................................................53
7.3.1
终端参考
..............................................................................................................................53
7.3.2
服务地址
..............................................................................................................................53
7.3.3 Hello ......................................................................................................................................53
7.3.3.1 类型 ................................................................................................................................................53
7.3.3.2 范围 ................................................................................................................................................53
7.3.3.2.1 例子.........................................................................................................................................54
7.3.3.3 地址 ...............................................................................................................................................55
7.3.4
探头和探头匹配
..................................................................................................................55
7.3.5
解决和解决匹配
..................................................................................................................55
7.3.6 BYE.........................................................................................................................................55
7.3.7 SOAP
错误信息
..................................................................................................................55
7.4 远程发现扩展 .............................................................................................................................56
7.4.1
网络情景
..............................................................................................................................56
7.4.2
发现代理
..............................................................................................................................58
7.4.2.1 直接的 DP 地址配置 .....................................................................................................................59
7.4.2.2 域名服务记录的查找....................................................................................................................59
7.4.3
远程
hello
和探头行为
........................................................................................................59
ONVIF2.0 协议中文原版
第 3 页
7.4.4
客户端行为
..........................................................................................................................60
7.4.4.1 NVC 本地 DP 配置 .........................................................................................................................60
7.4.5
安全
......................................................................................................................................61
7.4.5.1 本地发现 .......................................................................................................................................61
7.4.5.2 远程发现 .......................................................................................................................................61
8 设备管理 .....................................................................................................................................62
8.1 功能..............................................................................................................................................62
8.1.1
获取
WSDL
的
URL................................................................................................................62
8.1.2
交换的功能
...........................................................................................................................62
8.2 网络..............................................................................................................................................68
8.2.1
获取主机
...............................................................................................................................68
8.2.2
设置主机名
...........................................................................................................................68
8.2.3
获取
DNS
配置
....................................................................................................................68
8.2.4
设置
DNS...............................................................................................................................69
8.2.5
获取
NTP
配置信息
..............................................................................................................70
8.2.6
对设备设置
NTP ..................................................................................................................70
8.2.7
获取动态的
DNS
设置
..........................................................................................................71
8.2.8
设置设备动态
DNS ...............................................................................................................71
8.2.9
获取网络接口配置
..............................................................................................................72
8.2.10
设置网络接口配置
............................................................................................................72
8.2.11
获取网络协议
....................................................................................................................74
8.2.12
设置网络协议
....................................................................................................................74
8.2.13
获取默认的网关
................................................................................................................74
8.2.14
设置默认网关
....................................................................................................................75
8.2.15
获取
0
配置
........................................................................................................................75
8.2.16
设置
0
配置
........................................................................................................................76
8.2.17
获取
IP
地址过滤
...............................................................................................................76
8.2.18
对
IP
地址过滤进行配置
...................................................................................................77
8.2.19
增加
IP
地址过滤
...............................................................................................................77
8.2.20
移除
IP
地址过滤
...............................................................................................................78
8.2.21 IEEE 802.11
配置
.................................................................................................................79
8.2.21.1 SSID ...............................................................................................................................................79
8.2.21.2 基站模式 .....................................................................................................................................79
8.2.21.3 多种无线网络配置 .....................................................................................................................79
8.2.21.4 安全配置 .....................................................................................................................................80
8.2.21.4.1 None 模式 ............................................................................................................................80
8.2.21.4.2 PSK 模式................................................................................................................................80
8.2.21.4.3 IEEE 802.1X-2004 模式.........................................................................................................80
8.2.21.5 获取 DOT11 的性能 ....................................................................................................................80
8.2.21.6 GetIEEE802.11 状态......................................................................................................................81
8.2.21.7 扫描可用的 IEEE802.11 网络......................................................................................................82
8.3 系统..............................................................................................................................................83
8.3.1
设备信息
...............................................................................................................................83
8.3.2
获取系统的
URL ...................................................................................................................83
ONVIF2.0 协议中文原版
第 4 页
8.3.3
备份
.......................................................................................................................................84
8.3.4
恢复
.......................................................................................................................................84
8.3.5
开始恢复系统
.......................................................................................................................85
8.3.6
获取系统日期以及时间
.......................................................................................................85
8.3.7
设置系统日期以及时间
.......................................................................................................86
8.3.8
出厂默认配置
......................................................................................................................87
8.3.9
固件升级
..............................................................................................................................87
8.3.10
开始固件升级
....................................................................................................................88
8.3.11
获取系统日志
....................................................................................................................89
8.3.12
获取支持信息
....................................................................................................................89
8.3.13
重启
....................................................................................................................................90
8.3.14
获取范围参数
....................................................................................................................90
8.3.15
设置范围参数
.....................................................................................................................91
8.3.16
添加范围参数
....................................................................................................................91
8.3.17
移除范围参数
....................................................................................................................91
8.3.18
获取发现模式
....................................................................................................................92
8.3.19
设置发现模式
....................................................................................................................92
8.3.20
获取远程发现方式
............................................................................................................93
8.3.21
设置远程发现方式
............................................................................................................93
8.3.22
获取远程
DP
地址
.............................................................................................................94
8.3.23
配置远程
DP
地址
.............................................................................................................94
8.4 安全..............................................................................................................................................94
8.4.1
获取访问策略
.......................................................................................................................95
8.4.2
设置访问策略
......................................................................................................................95
8.4.3
获取用户
..............................................................................................................................95
8.4.4
创建用户
..............................................................................................................................96
8.4.5
删除用户
..............................................................................................................................97
8.4.6
对用户进行配置
..................................................................................................................97
8.4.7 IEEE 802.1X
配置
................................................................................................................98
8.4.7.1 创建 IEEE802.1X 配置 ....................................................................................................................99
8.4.7.2 对 IEEE802.1X 配置 ........................................................................................................................99
8.4.7.3 获取 IEEE802.1X 配置 .................................................................................................................100
8.4.7.4 获取 IEEE802.1X 配置 ..................................................................................................................100
8.4.7.5 删除 IEEE802.1X 配置 .................................................................................................................101
8.4.8
创建签名证书
....................................................................................................................101
8.4.9
获取证书
............................................................................................................................102
8.4.10
获取
CA
证书
...................................................................................................................103
8.4.11
获取证书状态
...................................................................................................................103
8.4.12 设置证书状态 ............................................................................................................................103
8.4.13 获取证书请求 ...............................................................................................................................104
8.4.14
获取客户证书状态
..........................................................................................................104
8.4.15
设置客户认证状态
..........................................................................................................105
8.4.16
下载设备证书
..................................................................................................................105
8.4.17
利用私有密钥来链接下载设备证书
..............................................................................106