As technology advances, constantly changing, especially in the strong push of smart sensors and IoT(Internet of Things) technology development, IoT and Smart Home has become the focus of attention, the Internet of Things technology supporting the Smart Home as an important core technology, and also, Smart Home is a specific application of IoT technology in home area.This paper designed and implemented a framwork for Smart Home system based on smart phone. Via fully tap of the smart phone’s features, we achieve the concept of “mobile phone that is the gateway”, and make most use of smart home’s hardware resources. At the same time, by using the BaaS Back-end cloud services, the structure of application back-end is simplified, so that developers can focus more on the implementation of specific operational and logic. This framework has many features, such as low cost, simple structure, and easy to learn to user.By the Research on Smart Home Technology based on smart phone, meantime, combined with the specific needs of Smart Home and the actual situation, according to three levels of IoT : perception layer, network layer, application layer, we made Smart Home system to three levels, and analyze the various principle part and the specific methods to achieve, eventually forming the framwork for Smart Home management system based on smart phone.This paper analyzes the multiple connection technologies between sensors and acquisition node controller, and select Bluetooth as the communication protocol between acquisition nodes and mobile gateways by analyzing the pros and cons of various communication protocols; at the same time, regulate the flow of data message formats. Develop Android software by using Android Studio platform, to achieve the specific functions of the phone gateway, by listening to the SMS(Short Message Service), and extract the data from SMS, exchanging data with a custom phone APP、Wechat or other application layer; In another ways, by using BaaS back-end cloud services, and respond to the set of instructions and data, operations such as logical analysis, processing and preservation, so as to interact with the application layer. Through these two methods to get the data from lower computer and control it, complete predetermined functions of smart home.Finally, in accordance with the smartphone-based smart home system architecture implemented in this article, we set up several experiments to verify the feasibility of the system, as well as a variety of scenarios adaptability and reliability. |