| With the rapid development of artificial intelligence and the Internet of things,"smart home"begins to enter people’s life and family.At the same time,with the development of the society,the unsafe factors increased,and the fire security and other security and protection problems has become the primary demand of household life.As an important constituent part of smart home,video monitoring system is mainly used in large venue,supermarkets,Banks and other public places.In recent years,home video monitoring system has developed rapidly,however,compared to the public places,video monitoring and control system for household needs to integrate into the intelligent household system,and also face the severe challenge of cost,volume,power consumption,practical,convenient and so on.At present,the high price of a set of expensive security monitoring system is one of the largest block to its popularization.Based on the above requirements,this paper designs a smart home remote security monitoring system with low power consumption,low cost,good compatibility,easy layout and convenient and practical application.The system used ARM9 processor as the core hardware platform,took the embedded Linux operation system as software platform,designed the client by B/S architecture,and solved the problem of NAT penetration in public transport based on the Secure Shell Protocol,then realized the data encryption transmission.System mainly includes three parts:Front-end data acquisition/control subsystem,Web server base station and Web client.①The front-end subsystem is designed with the Arduino microcontroller,which realized data acquisition,monitoring and control.By Zigbee wireless network technology,the system realized LAN communication with the Web server base station,the data collected is stored in a Web server station as the form of database.②The Web server station built on S3C2440 processor.Aiming at minimizing the system cost the video is redeveloped on the basis of MJPG-streamer,a lightweight video server project,and make the video motion detection based on OpenCV image library.On the other hand,the Web server station as a transit between front-end subsystem and Web client,store the static Web pages accessed by Web browse.,CGI program and database files.③The Web client communicates through the HTTP protocol so that the browser can access local data and regulatory devices online to achieve remote monitoring and interaction.In terms of motion detection,this subject adopts double test of the human body infrared sensor detection and the machine vision detection,and put forward an improved multi-threshold motion detect algorithm suitable for embedded devices based on frame difference method and background difference method,comparing several classical algorithms by simulation experiment,the algorithm has good detection effect and a faster calculation speed.Smart home remote security monitoring system designed in this paper has realized the remote accessing by mobile phone browser,which can check real-time monitoring video and history security information,remote control circuits and electrical switch、When the user do not login the system,the system detect household environment information such as temperature,humidity,dew point,smoke and harmful gas,suspicious invasion and so on,by the sensor and motion detect algorithm.Once the alarm threshold is reached,GSM module will send message to alarm and the buzzer also alarm. |