ONVIF™ – 1 – ONVIF Core Spec. – Ver. 19.06
ONVIF™
Core Specification
Version 19.06
June, 2019
ONVIF™ – 2 – ONVIF Core Spec. – Ver. 19.06
2008-2019 by ONVIF: Open Network Video Interface Forum Inc.. All rights reserved.
Recipients of this document may copy, distribute, publish, or display this document so long as this
copyright notice, license and disclaimer are retained with all copies of the document. No license is
granted to modify this document.
THIS DOCUMENT IS PROVIDED "AS IS," AND THE CORPORATION AND ITS MEMBERS AND
THEIR AFFILIATES, MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THIS
DOCUMENT ARE SUITABLE FOR ANY PURPOSE; OR THAT THE IMPLEMENTATION OF SUCH
CONTENTS WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER
RIGHTS.
IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE
FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
DAMAGES, ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS
DOCUMENT, WHETHER OR NOT (1) THE CORPORATION, MEMBERS OR THEIR AFFILIATES
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR (2) SUCH DAMAGES
WERE REASONABLY FORESEEABLE, AND ARISING OUT OF OR RELATING TO ANY USE OR
DISTRIBUTION OF THIS DOCUMENT. THE FOREGOING DISCLAIMER AND LIMITATION ON
LIABILITY DO NOT APPLY TO, INVALIDATE, OR LIMIT REPRESENTATIONS AND WARRANTIES
MADE BY THE MEMBERS AND THEIR RESPECTIVE AFFILIATES TO THE CORPORATION AND
OTHER MEMBERS IN CERTAIN WRITTEN POLICIES OF THE CORPORATION.
ONVIF™ – 3 – ONVIF Core Spec. – Ver. 19.06
CONTENTS
1 Scope 9
2 Normative references 10
3 Terms and Definitions 11
3.1 Definitions...................................................................................................................... 11
3.2 Abbreviations ................................................................................................................ 11
4 Overview 13
4.1 Web Services ................................................................................................................ 13
4.2 IP configuration ............................................................................................................. 14
4.3 Device discovery ........................................................................................................... 14
4.4 Profiles .......................................................................................................................... 14
4.5 Device management ..................................................................................................... 14
4.5.1 Capabilities ............................................................................................................... 15
4.5.2 Network ..................................................................................................................... 15
4.5.3 System ...................................................................................................................... 16
4.5.4 Retrieval of System Information................................................................................ 16
4.5.5 Firmware Upgrade .................................................................................................... 16
4.5.6 System Restore ........................................................................................................ 16
4.5.7 Security ..................................................................................................................... 16
4.5.8 Storage configuration ................................................................................................ 17
4.6 Event handling .............................................................................................................. 17
4.7 Geo Location ................................................................................................................. 17
5 Web Services framework 18
5.1 Services overview ......................................................................................................... 19
5.1.1 General ..................................................................................................................... 19
5.1.2 Services requirements .............................................................................................. 19
5.2 WSDL overview ............................................................................................................. 19
5.3 Namespaces ................................................................................................................. 20
5.4 Types ............................................................................................................................. 21
5.5 Messages ...................................................................................................................... 21
5.6 Operations ..................................................................................................................... 22
5.6.1 General ..................................................................................................................... 22
5.6.2 One-way operation type ............................................................................................ 23
5.6.3 Request-response operation type............................................................................. 24
5.7 Port Types ..................................................................................................................... 24
5.8 Binding .......................................................................................................................... 25
5.9 Ports .............................................................................................................................. 25
5.10 Services......................................................................................................................... 25
5.11 Error handling ................................................................................................................ 25
5.11.1 Protocol errors ...................................................................................................... 25
5.11.2 SOAP errors ......................................................................................................... 26
5.12 Security ......................................................................................................................... 29
5.12.1 Authentication ....................................................................................................... 29
5.12.2 User-based access control ................................................................................... 30
5.12.3 Username token profile ........................................................................................ 32
5.13 String representation ..................................................................................................... 32
ONVIF™ – 4 – ONVIF Core Spec. – Ver. 19.06
5.13.1
Character Set ....................................................................................................... 32
5.13.2 Allowed characters in strings ................................................................................ 32
6 IP configuration 33
7 Device discovery 34
7.1 General .......................................................................................................................... 34
7.2 Modes of operation ....................................................................................................... 34
7.3 Discovery definitions ..................................................................................................... 34
7.3.1 Endpoint reference ................................................................................................... 34
7.3.2 Hello .......................................................................................................................... 34
7.3.3 Probe and Probe Match ............................................................................................ 37
7.3.4 Resolve and Resolve Match ..................................................................................... 37
7.3.5 Bye ............................................................................................................................ 37
7.3.6 SOAP Fault Messages ............................................................................................. 37
8 Device management 38
8.1 Capabilities .................................................................................................................... 38
8.1.1 Get WSDL URL......................................................................................................... 38
8.1.2 Capability exchange ................................................................................................. 38
8.2 Network ......................................................................................................................... 43
8.2.1 Get hostname ........................................................................................................... 43
8.2.2 Set hostname ............................................................................................................ 44
8.2.3 Set hostname from DHCP ........................................................................................ 44
8.2.4 Get DNS settings ...................................................................................................... 45
8.2.5 Set DNS settings ...................................................................................................... 45
8.2.6 Get NTP settings ...................................................................................................... 46
8.2.7 Set NTP settings ....................................................................................................... 46
8.2.8 Get dynamic DNS settings ........................................................................................ 47
8.2.9 Set dynamic DNS settings ........................................................................................ 49
8.2.10 Get network interface configuration ...................................................................... 49
8.2.11 Set network interface configuration ...................................................................... 50
8.2.12 Get network protocols .......................................................................................... 51
8.2.13 Set network protocols ........................................................................................... 52
8.2.14 Get default gateway.............................................................................................. 52
8.2.15 Set default gateway .............................................................................................. 53
8.2.16 Get zero configuration .......................................................................................... 53
8.2.17 Set zero configuration .......................................................................................... 54
8.2.18 Get IP address filter .............................................................................................. 54
8.2.19 Set IP address filter .............................................................................................. 55
8.2.20 Add an IP filter address ........................................................................................ 55
8.2.21 Remove an IP filter address ................................................................................. 56
8.2.22 IEEE 802.11 configuration .................................................................................... 57
8.3 System .......................................................................................................................... 61
8.3.1 Device Information .................................................................................................... 61
8.3.2 Get System URIs ...................................................................................................... 61
8.3.3 Backup ...................................................................................................................... 62
8.3.4 Restore ..................................................................................................................... 62
8.3.5 Start system restore .................................................................................................. 63
8.3.6 Get system date and time ......................................................................................... 64
8.3.7 Set system date and time ......................................................................................... 65
8.3.8 Factory default .......................................................................................................... 65
8.3.9 Firmware upgrade ..................................................................................................... 66
8.3.10 Start firmware upgrade ......................................................................................... 67
8.3.11 Get system logs .................................................................................................... 68
8.3.12 Get support information ........................................................................................ 68
8.3.13 Reboot .................................................................................................................. 69
8.3.14 Get scope parameters .......................................................................................... 69
8.3.15 Set scope parameters .......................................................................................... 70
ONVIF™ – 5 – ONVIF Core Spec. – Ver. 19.06
8.3.16
Add scope parameters ......................................................................................... 70
8.3.17 Remove scope parameters .................................................................................. 71
8.3.18 Get discovery mode.............................................................................................. 71
8.3.19 Set discovery mode .............................................................................................. 72
8.3.20 Get geo location information ................................................................................ 72
8.3.21 Set geo location information ................................................................................. 74
8.3.22 Remove geo location information ........................................................................ 74
8.4 Security ......................................................................................................................... 75
8.4.1 Get access policy ...................................................................................................... 75
8.4.2 Set access policy ...................................................................................................... 76
8.4.3 Get users .................................................................................................................. 76
8.4.4 Create users ............................................................................................................. 76
8.4.5 Delete users .............................................................................................................. 77
8.4.6 Set users settings ..................................................................................................... 78
8.4.7 Get remote user ........................................................................................................ 78
8.4.8 Set remote user ........................................................................................................ 79
8.4.9 Get endpoint reference ............................................................................................. 79
8.5 Input/Output (I/O) .......................................................................................................... 80
8.5.1 Get relay outputs ...................................................................................................... 80
8.5.2 Set relay output settings ........................................................................................... 80
8.5.3 Trigger relay output ................................................................................................... 81
8.6 Auxiliary operation ......................................................................................................... 82
8.7 Storage Configuration ................................................................................................... 83
8.7.1 GetStorageConfigurations ........................................................................................ 83
8.7.2 CreateStorageConfiguration ..................................................................................... 83
8.7.3 GetStorageConfiguration .......................................................................................... 84
8.7.4 SetStorageConfiguration .......................................................................................... 84
8.7.5 DeleteStorageConfiguration ..................................................................................... 85
8.8 MonitoringEvents .......................................................................................................... 86
8.8.1 Processor Usage ...................................................................................................... 86
8.8.2 Link Status ................................................................................................................ 86
8.8.3 Upload Status ........................................................................................................... 86
8.8.4 Operating Time ......................................................................................................... 86
8.8.5 Environmental Conditions ......................................................................................... 88
8.8.6 Battery capacity ........................................................................................................ 89
8.8.7 Asynchronous Operation Status ............................................................................... 89
8.8.8 Device Management ................................................................................................. 89
8.8.9 Liquid level ................................................................................................................ 89
8.8.10 Mechanial failure .................................................................................................. 90
8.8.11 Geo Location ........................................................................................................ 91
8.9 Service specific fault codes ........................................................................................... 92
9 Event handling 98
9.1 Real-time Pull-Point Notification Interface .................................................................... 98
9.1.1 Create pull point subscription ................................................................................. 100
9.1.2 Pull messages......................................................................................................... 100
9.1.3 Renew ..................................................................................................................... 101
9.1.4 Unsubscribe ............................................................................................................ 102
9.1.5 Seek ........................................................................................................................ 103
9.1.6 Pull Point Lifecycle .................................................................................................. 103
9.1.7 Persistent notification storage ................................................................................. 104
9.2 Notification Streaming Interface .................................................................................. 104
9.3 Basic Notification Interface.......................................................................................... 104
9.3.1 Introduction ............................................................................................................. 104
9.3.2 Requirements.......................................................................................................... 105
9.4 Event Notifications ...................................................................................................... 106
9.4.1 Notification Message Format .................................................................................. 107
评论0