With the development of society, video surveillance technology has been widely used in all walks of life. How to enable users to monitor anytime and anywhere, mobile monitoring system provides a good solution. Through the combination of wireless network and Internet, mobile monitoring system transmits the video signal of monitoring equipment through mobile Internet network to realize real-time online monitoring of on-site situation. At present, the technology adopted by mobile monitoring system mainly uses J2ME's P layer player technology to conduct on-site monitoring, which not only requires the mobile phone to support real-time streaming media protocols such as RTSP, but also has certain requirements for mobile Internet. This article uses J2ME's Sprite to display the on-site monitoring pictures transmitted from the server with animation effects, simulate video monitoring, and meet the requirements of real-time video monitoring.
2 System Design
The 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 functions: 1) Video image acquisition and encoding, the images acquired by the video collector are 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 acquired image to the user's mobile terminal according to the request, and the transmission adopts the Datagram method; 3) Image display, when the mobile terminal acquires the image, if it is a normal situation, the image will be displayed in a static way, if it is an abnormal situation, the mobile terminal will display the image video in the form of animation; 4) Other auxiliary functions, such as abnormal alarm, access permission setting, video capture, monitoring equipment control and other functions.
System workflow: The video collector collects and transmits the on-site situation 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 mobile phone to connect and access. If the mobile phone makes a request, the server transmits the collected on-site situation to the mobile terminal through the mobile Internet so that the user can monitor the on-site situation. Considering the actual network traffic and other issues, and when there is no abnormal situation at the scene (the user's home or office), it is in the same state. Therefore, the monitoring system only needs to send a key frame picture of the scene to the user's mobile phone. Only when an abnormal situation occurs at the scene, the monitoring system will warn the user, and then send the on-site situation to the user's mobile phone in the form of key frame pictures according to the user's requirements. The user's mobile phone displays the on-site picture to the user in the form of animation effects through J2ME's Sprite, realizing real-time video monitoring of the scene and saving network traffic.
Design of the server: The server 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) Get the address of the video collector; 2) Input the video sequence collected by the video collector into the data pool; 3) The server uses an appropriate key frame algorithm to extract the corresponding key frames from the video sequence; 4) Send the corresponding key frame image data according to the client's requirements.
Client design: The main function of the client is to display the on-site monitoring pictures transmitted from the server with animation effects, simulate video playback, and realize real-time video monitoring of the site. Its hardware requirements:
As a monitoring mobile phone, there is no special requirement in this system, it only needs to support M IDP2.0 (currently mobile phones generally support M IDP2.0).
3 System Implementation
3.1 Server-side implementation
The system server platform uses Apache Tomcat. For the implementation of the server side, this paper mainly discusses how to connect to the server side network and transmit image data. The codes involved are Server.java and Sender.java. Server.java is used to establish a connection with the server side, accept the client's request, obtain the client's address according to the client's datagram, and then transmit the processed field information transmitted from the collector to the user's mobile terminal in the form of pictures by SSender.java.
3.2 Client Implementation
Mobile terminals mainly involve the user interface programming, client communication, monitoring image display and other technologies in J2ME. The MONitor.java code is used to draw the user interface; the Client.java code establishes the client communication connection, receives the image data from the server and displays it; the CSender.java code is similar to the SSender on the server.java code is mainly used for the transmission of client information.
public class C lientimplements Runnable
{
;
Figure 2 Test image.
4 Experiments
According to the above design and implementation, this paper tests the system with Tomcat6.0 and J2MEW ire lesSToolk 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 the monitoring scene with animation effects. The results of the system test meet the requirements of real-time video monitoring.
5 Conclusion
The mobile video surveillance system solution proposed in this paper is innovative in that it uses Sprite technology to display the on-site monitoring situation in the form of animation effects, meeting the requirements of real-time video surveillance and avoiding a series of problems that exist in the current use of mobile phone players to play real-time videos. At the same time, it combines animation with static images to save network traffic. This solution is simple to implement, is not limited by mobile phone models and technologies (it only requires that the mobile phone supports M IDP2.0), and has wide applicability.
Previous article:A brief discussion on the application of variable magnification infrared smart ball in night vision monitoring
Next article:Bayer format image preprocessing based on FPGA+DSP technology
Recommended ReadingLatest update time:2024-11-16 20:56
- Popular Resources
- Popular amplifiers
- User’s hand effects on EMC internal GSM DCS mobile phone antenna
- ST:STBLC01 Bluetooth Low Energy Controller Product Data
- Electrical/electronic related parts certification must follow the automotive electromagnetic compatibility (EMC) directive
- ST:BlueNRG ultra-low power network processor product data
- Mir T527 series core board, high-performance vehicle video surveillance, departmental standard all-in-one solution
- Akamai Expands Control Over Media Platforms with New Video Workflow Capabilities
- Tsinghua Unigroup launches the world's first open architecture security chip E450R, which has obtained the National Security Level 2 Certification
- Pickering exhibits a variety of modular signal switches and simulation solutions at the Defense Electronics Show
- Parker Hannifin Launches Service Master COMPACT Measuring Device for Field Monitoring and Diagnostics
- Connection and distance: A new trend in security cameras - Wi-Fi HaLow brings longer transmission distance and lower power consumption
- Smartway made a strong appearance at the 2023 CPSE Expo with a number of blockbuster products
- Dual-wheel drive, Intellifusion launches 12TOPS edge vision SoC
- Toyota receives Japanese administrative guidance due to information leakage case involving 2.41 million pieces of user data
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- How to delete a specified length from any position of a line (autocad)
- Three ways to power the Raspberry Pi
- RISC-V IDE MRS usage notes (Part 2): Board chip status error
- Share: 2018 eSports Gesture Recognition Source Code
- Download Center’s April benefit: a collection of Bluetooth articles will be given away for free!
- Analysis of common problems of touch switches
- What sensor can measure the droplet falling (through the infusion tube)
- Which power chip is BNOF?
- How to connect the communication interface of Topmicro intelligent module (I)
- Award-winning live broadcast|When smart grid meets TI Sitara AM335x