与众多网络协议相比,ONVIF标准在网络视频安防领域以更好的兼容性、扩展性和完善性赢得了很高的市场占有率。介绍ONVIF协议的内容,分析ONVIF客户端与服务端之间的通信过程。在通信模块的设计过程中,首先利用Web Service实现设备发现功能,并在此基础上实现远端设备的云台控制。测试结果表明,设计的ONVIF客户端模块接口可以发现局域网内所有支持ONVIF协议的设备,并且实现远端设备的云台控制。
Compared with many network protocols, ONVIF standards win a high market share in the field of video surveillance with better compatibility, scalability and integrity. This article describes the contents of ONVIF protocol, and analyzes the communication process between ONVIF client and server. In the design process of the communication module, web service is used to achieve device discovery function. Based on this discovery, PTZ control of the remote device is realized. The test results demonstrate that all devices supporting ONVIF protocol in LAN can be detected as well as PTZ control can be implemented by the designed ONVIF client module interface.