1 Introduction
With the development of society, video surveillance technology has been widely used in various industries. How to enable users to monitor anytime, anywhere, mobile phone mobile 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 device through the mobile internet network to realize real-time online monitoring of the scene. At present, the technology used in mobile mobile monitoring systems mainly uses J2ME's P layer player technology for on-site monitoring. It not only needs mobile phones to support RTSP and other real-time streaming media protocols, but also has certain requirements for mobile Internet. This article uses J2ME's Sprite to display the live monitoring images transmitted by the server, and simulate video surveillance to achieve real-time video surveillance.
2 system design
The mobile mobile monitoring system consists of four main parts: video collector, server, mobile internet and mobile phone. The overall architecture is shown in Figure 1.
Figure 1 Overall architecture diagram
System function: 1) Video image acquisition and encoding, store the image acquired by the video collector in the appropriate encoding format on the server; 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 transmission uses Datagram mode; 3) Image display, when the mobile terminal obtains the image, if it is not abnormal, the image is displayed in a static manner. If it is abnormal, the mobile terminal displays in an animated form. Image video; 4) Other auxiliary functions, such as abnormal alarm, access permission setting, video capture, monitoring device control and other functions.
System Workflow: The video collector transmits the on-site situation collection to the server. After receiving the collected data, the server processes the data and saves it to the database in time. At the same time, it waits for the connection connection of the mobile phone. If the mobile phone makes a request, the server The collected scenes are transmitted to the mobile terminal through the mobile Internet, so that the user can monitor the situation on the spot. Considering the actual network traffic and other issues, and the site (the user's home or office) is in the same state, the monitoring system only needs to send a picture of the live keyframe to the user's mobile phone, only when there is an abnormal situation on site. The monitoring system will warn the user, and then continuously send the scene to the user's mobile phone as a key frame picture according to the user's request, and the user's mobile phone will display the live picture to the user through the J2ME Sprite in the form of an animation effect. Real-time video monitoring of the site and saving network traffic.
Server-side design: The server runs on a remote computer and is implemented by J2SE. Its main function is to capture and save the field 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) Extract the corresponding key frame from the video sequence by using the appropriate key frame algorithm by the server 4) Send the corresponding key frame picture data according to the requirements of the client.
Client design: The main function of the client is to display the live monitoring pictures transmitted by the server through animation effects, simulate video playback, and realize real-time video monitoring on the scene. Its hardware requirements:
As a monitoring mobile phone, there is no special requirement in this system, just support M IDP2.0 (the current mobile phone has generally supported M IDP2.0).
3 system implementation
3. 1 server-side implementation
The system server platform uses Apache Tom ca, t For server-side implementation, this article mainly discusses how to perform server-side network connection and image data transmission. The code involved is Server.java and Sender.java. Server.java is used to establish a server-side connection, accept the client's request, obtain the client's address according to the client's datagram, and then transmit the processed live information from the collector to the user in the form of an image by SSender.java. Mobile terminal.
3. 2 client implementation
Mobile terminals are mainly related to user interface programming, client communication, and monitoring image display in J2ME. The MONitor. java code is used to portray the user interface; the Clien.t java code establishes a client communication connection, accepts server-side image data and displays it; CSender. The java code is similar to the server-side SSender. The java code is mainly used for the transmission of client information.
Public class C lientimplements Runnable
{
Figure 2 Test chart.
4 experiment
According to the above design and implementation, this paper tests the system with Tom cat6. 0, J2MEW ire lesSToo lk it2. 5 as the experimental platform, the test results are shown in Figure 2. These three pictures are captured at different times when the mobile phone plays an animated effect to monitor the scene. The results of the system test met the requirements of real-time video surveillance.
5 Conclusion
The innovation of mobile phone mobile video surveillance system solution proposed in this paper is: Using Sprite technology to display the scene monitoring situation in the form of animation effect, achieving the requirements of real-time video surveillance, avoiding the current use of mobile phone player to play real-time video. The series of problems, at the same time, combines animation forms with static image forms, saving network traffic. This kind of scheme is simple to implement, and is not limited by the mobile phone model and technical restrictions (only the mobile phone supports MIDP2.0.), and has wide applicability.
:
Hollow Cathode Lamp,Hollow Cathode,Hollow Cathode Lamp In Aas,Hcl Lamp
Dongguan Boye Instrument & Machinery Equipment Co., Ltd , https://www.boyelab.com