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
 

 

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