协议书之onvif协议的端口号
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
onvif协议的端口号
【篇一:onvif2.0中文协议原版】
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.1
5.1 同步
点 ....................................................................................................... .. (34)
4.16 存
储 ....................................................................................................... .. (35)
4.16.1 存储模
式 ....................................................................................................... . (35)
4.16.2 记
录 ....................................................................................................... (36)
4.16.3 查
找 ....................................................................................................... (36)
4.16.4 回
放 ....................................................................................................... (37)
全 ....................................................................................................... (37)
5 web服务框
架 ....................................................................................................... . (38)
5.1 服务概
述 ....................................................................................................... .. (38)
5.1.1 服务要
求 ....................................................................................................... (38)
5.2 wsdl概
述 ....................................................................................................... . (39)
5.3 命名空
间 ....................................................................................................... .. (40)
5.4 类
型 ....................................................................................................... . (42)
5.5 消
息 ....................................................................................................... . (43)
5.6操
作 ....................................................................................................... .. (43)
5.6.1 单向操
作 ....................................................................................................... (44)
5.6.2 要求-应答操作类
型 ....................................................................................................... (44)
5.7端口类
型 ....................................................................................................... (45)
定 ....................................................................................................... . (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)
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)
置 ....................................................................................................... (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)
置 ....................................................................................................... (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)
8.3.3备
份 ....................................................................................................... (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)
8.4.18 获取证书信息请
求 (107)
8.4.20 删除证
书 ....................................................................................................... .. (108)
8.4.21 获取远程用
户 ....................................................................................................... (108)
8.4.22 设置远程用
户 ....................................................................................................... (109)
8.4.23获取终端参
数 ....................................................................................................... . (110)
8.5 输入与输
出 ....................................................................................................... . (110)
8.5.1获取继电器输
出 ....................................................................................................... (110)
8.5.2 对继电器输出进行配
置 (111)
8.5.3继电器触发输
出 ....................................................................................................... .. (111)
8.5.4 辅助操
作 ....................................................................................................... . (112)
8.6与服务相关的错误代
码 .......................................................................................................
.... 112 9设备io服
务 ....................................................................................................... (118)
9.1视频输
出 ....................................................................................................... . (118)
9.1.1 获取视频输出
集 ....................................................................................................... .. (118)
9.2视频输出配
置 ....................................................................................................... .. (119)
9.2.1 获取视频输出配
置 (119)
9.2.2 设置视频输出配
置 (120)
9.2.3 获取视频输出配置选项
集 (120)
9.3视频
源 ....................................................................................................... .. (121)
9.3.1 获取视频
源 ....................................................................................................... . (121)
9.4视频源配
置 ....................................................................................................... (122)
9.4.1 获取视频源配
置 ....................................................................................................... .. (122)
9.4.2 设置视频源配
置 ....................................................................................................... .. (122)
9.4.3 获取视频源多个配置选
项 (123)
9.5音频输
出 ....................................................................................................... . (124)
9.5.1 获取多个音频输
出 (124)
9.6音频输出配
置 ....................................................................................................... .. (124)
9.6.1 获取音频输出配
置 (124)
9.6.2 设置音频输出配
置 (125)
9.6.3 获取音频输出多个配置选
项 (125)
9.7音频
源 ....................................................................................................... .. (126)
9.7.1 获取音频
源 ....................................................................................................... . (126)
9.8音频源配
置 ....................................................................................................... (127)
9.8.1 获取音频源配
置 ....................................................................................................... .. (127)
9.8.2 设置音频源配
置 ....................................................................................................... .. (127)
9.8.3 获取音频源多个配置选
项 (128)
9.9继电器输
出 ....................................................................................................... (129)
9.9.1 获取多个继电器输
出 (129)
9.9.2 设置继电器输出设
置 (129)
9.9.3 触发继电器输
出 ....................................................................................................... .. (130)
9.10服务错误
码 ....................................................................................................... .................. 131 10图像配
置 ....................................................................................................... ........................... 132 10.1图像设
置 ....................................................................................................... .. (132)
【篇二:onvif协议进入与修改】
进入摄像机界面,setup-system options-advanced-scripting 然后点击open script editor
选择ws-onvif-media-media.conf,即可打开,如下:
[ws.onvif.media.videosource]
maxgroups=32
[ws.onvif.media.videosource.0]
token=0
name=user0
usecount=2
sourcetoken=0
x=-1
y=-1
width=-1
height=-1
[ws.onvif.media.videosource.1]
token=1
name=user1
usecount=0
sourcetoken=0
x=-1
y=-1
width=-1
height=-1
[ws.onvif.media.videosource.2]
token=2
name=user2
usecount=0
sourcetoken=0
x=-1
y=-1
width=-1
height=-1
[ws.onvif.media.videosource.3]
token=3
name=user3
usecount=0
sourcetoken=0
x=-1
y=-1
width=-1
[ws.onvif.media.videoencoder] maxgroups=64 [ws.onvif.media.videoencoder.0] token=0
name=user0
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80
encoding=jpeg
profile=
govlength=32
multicastaddress=0.0.0.0 multicastport=0
multicastttl=5
multicastautostart=no sessiontimeout=pt60s [ws.onvif.media.videoencoder.1] token=1
name=user1
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80
encoding=jpeg
profile=
govlength=32
multicastaddress=0.0.0.0 multicastport=0
multicastttl=5
multicastautostart=no sessiontimeout=pt60s [ws.onvif.media.videoencoder.2]
name=user2
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80
encoding=jpeg
profile=
govlength=32
multicastaddress=0.0.0.0 multicastport=0
multicastttl=5
multicastautostart=no sessiontimeout=pt60s [ws.onvif.media.videoencoder.3] token=3
name=user3
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80
encoding=jpeg
profile=
govlength=32
multicastaddress=0.0.0.0 multicastport=0
multicastttl=5
multicastautostart=no sessiontimeout=pt60s [ws.onvif.media.videoencoder.4] token=4
name=user4
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80
encoding=jpeg
profile=
govlength=32
multicastaddress=0.0.0.0 multicastport=0
multicastttl=5
multicastautostart=no sessiontimeout=pt60s [ws.onvif.media.videoencoder.5] token=5
name=user5
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80
encoding=jpeg
profile=
govlength=32
multicastaddress=0.0.0.0 multicastport=0
multicastttl=5
multicastautostart=no sessiontimeout=pt60s [ws.onvif.media.videoencoder.6] token=6
name=user6
usecount=0
width=1280
height=960
fpsratelimit=0
bitratelimit=0
encodinginterval=0
quality=80。