Mobile phone mobile video surveillance system solution
[ad_1]
1 Introduction
With the development of society, video surveillance technology has been widely used in all walks of life. How to allow users to monitor anytime, anywhere, mobile phone monitoring system provides a good solution. Through the combination of the wireless network and the Internet, the mobile phone mobile monitoring system transmits the video signal of the monitoring equipment through the mobile internet network to realize real-time online monitoring of on-site conditions. At present, the technology adopted by the mobile phone mobile monitoring system mainly uses the P layer player technology of J2ME for on-site monitoring. Not only does the mobile phone support RTSP and other real-time streaming media protocols, but also has certain requirements for the mobile Internet. This article uses Sprite of J2ME to display the live surveillance pictures transmitted by the server with the effect of animation, simulate video surveillance, and meet the requirements of real-time video surveillance.
2 System design
The mobile phone monitoring system is composed of four main parts: a video capture device, a server, a mobile Internet, and a mobile phone. The overall architecture is shown in Figure 1.
System functions: 1) Video image collection and encoding, the image acquired by the video collector is stored on the server in an appropriate encoding format; 2) Image transmission, when the user sends a request to the server, the server sends the collected image according to the request To the user’s mobile terminal, the datagram is used for transmission; 3) The display of the image, when the mobile terminal obtains the image, if it is a non-abnormal situation, the image will be displayed in a static manner. If it is an abnormal situation, the mobile terminal will display it in the form of animation Image and video; 4) Other auxiliary functions, such as abnormal alarm, access authority setting, video capture, monitoring equipment control and other functions.
System workflow: The video collector collects and transmits on-site conditions to the server. After receiving the collected data, the server processes the data and saves it in the database in time. At the same time, it waits for the connection of the mobile phone. If the mobile phone sends a request, the server The collected field conditions are transmitted to the mobile phone terminal via the mobile Internet, so that the user can monitor the field conditions. Considering the actual network traffic and other issues, and the scene (the user’s home or office) is in the same state when there is no abnormal situation, the monitoring system only needs to send a scene key frame picture to the user’s mobile phone, only when there is an abnormal situation on the scene , The monitoring system will warn the user, and then according to the user’s request, the scene will be continuously sent to the user’s mobile phone in the form of key frame pictures. Real-time video monitoring of the scene, and save network traffic.
Server-side design: The server-side runs on a remote computer and is implemented by J2SE. Its main function is to capture and save on-site monitoring data. The specific steps are as follows: 1) Obtain the address of the video collector; 2) Input the video sequence collected by the video collector into the data pool; 3) Use the appropriate key frame algorithm by the server to extract the corresponding key frame from the video sequence ; 4) Send the corresponding key frame picture data according to the requirements of the client.
The design of the client: The main function of the client is to display the live monitoring pictures transmitted by the server with animation effects, simulate video playback, and realize real-time video monitoring of the scene. Its hardware requirements:
As a monitoring mobile phone, there is no special requirement in this system, it only needs to support M IDP 2.0 (currently mobile phones have generally supported M IDP 2.0).
3 System realization
3. 1 server-side implementation
The system server platform uses Apache Tom ca, t. For the server-side implementation, this article mainly discusses how to perform server-side network connection and image data transmission. The codes involved are Server. java and Sender. java. Server.java is used to establish a server-side connection, accept requests from the client, obtain the client’s address according to the client’s datagram, and then transfer the processed field information from the collector to the user in the form of pictures by SSender.java Mobile terminal.
[ad_2]