The smart home system aims to achieve the following main functions:(1) can control and the corresponding state query, such as the inquiry indoor and outdoor temperature, can be used for household appliances, such as lights on a key, a key to turn off, more convenient.(2) in the light we can according to the family decoration environment background or the user's other level of needs, the light first for automatic adjustment, refers to the user to bring good perception and comfort.(3) develop the human-computer interaction interface, so that users can adjust the parameters between various electrical appliances according to their own needs, so as to simplify the operation;(4) in the Web server of the smart home gateway, the framework of the network video server, the PC client Web can be used to view the real-time status and remotely control the home device family. Network video server side Web framework, in the smart home gateway Web server, you can view the PC and home devices remote control home real-time status.(5) integration of 3G module in the home gateway, remote access through WCDMA network