| Smart home is a home system with a comfortable living function and convenient information exchange function,which allows people to enjoy a more comfortable and convenient life.Because of its very good prospects of development,was concerned by the government and the community from the widespread.The development of Smart home has gone through three generations of technology updates,since the 1980s was put forward to.Currently the fourth-generation smart home model,under the technology of IoT is driving to a simplified,practical and more humanity direction.In this paper,the author adopted the technology of IoT,and combined with the "cloud + end"mode of the smart home,designed an environment monitoring system,that can obtain the panoramic image,temperature and humidity,air quality status,and send information to the remote site.For the mobile client using streaming media access monitoring data in the 3G,4G network environment,resulting in the problem of data flow and power consumption,the system uses a picture as a transmission format for image collection,the picture is a panoramic image using the Stitching.Combined with the temperature and humidity and air quality data collected by sensors,constitute a set of smart home environment monitoring subsystem together.In the process of research and development of this system,the author in the following three aspects mainly:1.Embedded system development:begin with the monitoring system function required,selected a set of hardware platform to help expand the project,and added some necessary modules in the monitoring system.Built a hardware operating environment,and designed the code of various functional modules.Studying the development technology of IoT cloud service-oneNet provided by China Mobile,to achieve the data remote storage and read functions of monitoring system.2.The research of image splicing algorithm:Through quering literature,we understand the realization and basic algorithm of mainstream image splicing technology on the market,and make an in-depth research on the principle of each algorithm.Through the use of OpenCV visual function toolkit to achieve those algorithms,compared the effect and speed in three kind of key points detection algorithms and two kind of matching device stitchinges provided by OpenCV,finally make an evaluation for the monitoring system based on ORB algorithm image stitching technology,3.Mobile application development:achieved two sets of programs,they are the iOS-based application and React Native cross-platform application,the application based on React Native cross-platform technology with fast development,low learning costs and supports hot update,could be completed iOS and Android the development at the same time;but the iOS-based native application better than React Native in fluency and compatibility.This article presents a program of environmental monitoring subsystem for IoT,which integrated the technologies of embedded development,image processing and mobile development,researched the key technologies in those processes of realization,which is a very good application for the smart home mode of "cloud + end". |