| With the rapid development of computer network technology,embedded technology and multimedia technology,video surveillance system is becoming more and more popular.The traditional video surveillance system and the PC-based digital video surveillance system can’t meet the current requirements of video real-time transmission and processing.The embedded video surveillance system based on embedded technology has become the inevitable trend of the development of video surveillance system.The design and implementing of the embedded video server of this project is based on ONVIF protocol.The ONVIF protocol defines a common protocol for the exchange of information between network devices.Each terminal device has a Web Service interface corresponding to the function.The data exchange between server and client uses SOAP protocol.Audio and video data streams are transmitted through RTP/RTSP.The ONVIF protocol sets up the standard for device discovery,audio and video streaming,and information exchange.This project uses the gSOAP tool to convert the WSDL document into a C language header file,and generates the frame code under the ONVIF protocol through the automatic compilation tool to obtain the basic information of the ONVIF webcam and the address of the video stream and save it to the server.The client through the remote network visits the server to call the information files and play real-time video.The whole server system takes embedded technology as the core.It realizes the functional requirements of each module of the system by transplanting and installing the Web server in the embedded system and constructing the B/S mode software architecture.The development of the server system function is carried out on the basis of the ONVIF specification.The purpose is to enable the various network cameras to work together with a unified platform to promote the interoperability of different products of different manufacturers,so as to improve the equipment utilization and products compatibility.When the remote monitoring equipment connected to the network,the server automatically discovers the device which is supported by ONVIF protocol.And the client browser through the browser accesses the Linux server to obtain data information,video configuration files and play real-time video of RTSP video streams,and Android mobile phone through the RtspPlayer player obtains video files.This design provides a good human-computer interaction interface,making the whole system is very flexible and convenient with a high use value.The research and development of the project is based on the embedded system as the software platform and the raspberry Pi development board as the hardware platform.By transplanting and building a LAMP server successfully,it developes a complete video server playback system.This system realizes the unified management of multiple network cameras,RTSP video playback and so on,and completes the system design targets,and has the stability and practical value. |