ONVIF专题--ONVIF标准解读(1)

ONVIF标准解读(1) 

本文通过解读ONVIF组织官网,解释ONVIF标准三大核心概念(Profiles、Specifications、Conformance)

0 名词解释

Profiles ONVIF profiles make it easy to recognize how ONVIF conformant devices and clients are compatible with one another.
            • A network camera with local storage can conform to both Profile S and G.
            • Profiles A and C are relevant for access control systems.
            • Profiles G, Q, S and T are relevant for video systems.
Specifications The ONVIF Network Interface Specifications define the network protocols for ONVIF conformant devices. The specifications includes detailed service requirements and interface definitions.
Conformance 设备发布时需要做conformance claims

1 Profiles

Profile(s)是ONVIF标准的核心,一个Profile规定了ONVIF设备或客户端的一组行为,可以说ONVIF标准就是若干Profile组成的。

各Profile按发布时间排列如下:
• ONVIF Profile T Specification [September 2018]
• ONVIF Profile A Specification [June 2017]
• ONVIF Profile Q Specification [July 2016 / July 2018 v1.1]
• ONVIF Profile G specification [June 2014]
• ONVIF Profile C Specification [December 2013]
• ONVIF Profile S Specification [December 2011 / March 2016 v1.1.1 / July 2018 v1.2]

Profile S Profile S 主要为基于IP的视频系统设计。Profile S 设备(如IPC、视频编码器),一般用于传输视频流给 Profile S 客户端(如IVMS)。Profile S 客户端具有通过网络配置、请求、控制 Profile S 设备视频流的功能。同时,Profile S 框架囊括 PTZ control(云台控制)、audio in(音频输入)、multicasting and relay outputs for conformant devices and clients(多播、转播)的规范。
Profile C Profile C 用于电子准入控制系统,服从Profile C 标准的设备和客户端适合于site information(站点信息), door access control(门禁控制), and event and alarm management(事件、报警管理)场景
Profile G Profile G 同样也是为基于IP的视频系统设计。Profile G 设备可以保存视频录像文件,Profile G 客户端可以通过网络配置、请求、控制 Profile G 设备录像数据的功能。同时,Profile G 还包括接收音频和metadata流的规范。
Profile Q Profile Q 提供了设备发现、基本配置功能的标准,Profile Q 设备(network camera, network switch, network monitor)能够被Profile Q 客户端通过网络快速发现、配置、控制。Profile Q 标准支持TLS交互方式。
Profile A Profile A 用于电子准入控制系统,Profile A 设备能进行信息检索(状态、事件)、实体配置如准入规则、证书、schedules(计划)等配置。Profile A 客户端则可以通过网络使用Profile A 设备的上述功能。
Profile T Profile T 同样也是为基于IP的视频系统设计。Profile T 设备支持H.264 and H.265 encoding formats, imaging settings, and alarm events such as motion and tampering detection. 
对Profile T设备的强制规定包括onscreen display and metadata streaming,对Profile T客户端的强制规定包括PTZ控制。Profile T 还包括HTTPS streaming, PTZ configuration, motion region configuration, digital inputs and relay outputs, and bidirectional audio for conformant devices and clients规范。
注: 官方强调,Profile T规范不是对Profile S规范的取代,而是针对不同应用领域的扩展,当然两个标准也可以合并使用。

2 Specifications

ONVIF的Specifications定义了ONVIF标准中各个网络接口的实现细节,可以理解为一个Profile由一系列Specifications定义。(

Specifications内容很多,后续放到独立的博文中解读)

ONVIF标准由若干web服务的接口设计规格书组成,设计规格大体上可以分为:

specification

Service definitions

 

Core

device

event

The specification defines a core set of interface functions for configuration and operation of network devices by defining their server side interfaces.

 

This standard covers device discovery, device configuration as well as an event framework.

 

All services share a common XML schema and all data types are provided in [ONVIF Schema].

Data format

 

 

Service

accessrules

actionengine

analytics

authenticationbehavior

credential

deviceio

display

doorcontrol

imaging

media

media2

provisioning

ptz

receiver

recording

search

replay

schedule

advancedsecurity

thermal

uplink

 

3 Conformance

ONVIF组织规定,只有ONVIF组织成员才能制作“一致性声明”(conformance claims),只有当设备至少支持一种Profile并且在conformant products上登记,才能被ONVIF承认符合“一致性”。

ONVIF设备或客户端实现要求:
    • 必须实现Profile中规定的mandatory项,conditional项则可以选择性实现
    • 需要积极响应Profile的测试规格文档
    • 要求通过对应Profile的ONVIF Device Test Tool 和 ONVIF Client Test Tool测试项
    • 要求通过会员 ONVIF Member Portal发布Declaration of Conformance (DoC)、ONVIF Interface Guide、Feature List file.一旦成功发布,设备会出现在Conformant Products page.

ONVIF Interface Guide The purpose of the ONVIF Interface Guide is to provide installers, system integrators, architects and engineers, as well as end users with the initial steps required to operate an ONVIF client or device using the ONVIF API.作为指南,指导客户使用发布的ONVIF设备或客户端。
Device Test Specifications ONVIF官方提供的ONVIF设备测试规格说明书,参考: https://www.onvif.org/profiles/conformance/device-test/ 
Client Test Specifications ONVIF官方提供的ONVIF设备测试规格说明书,参考: https://www.onvif.org/profiles/conformance/client-test/

具体细节参考:
[1] ONVIF_Member-Conformance-Process-Overview.pdf
[2] ONVIF-Conformance-Process-Specification_v4-0.pdf
 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章