| With the progress of science and technology, people’s request of life quality and livingenvironment are constantly improving, these cases promote the research on smart home, itsrealization becomes more and more urgent. But now there are two aspects condition needs tosolve urgently: Firstly, there are wide range of intelligent home’s control equipments andcomplex control protocol and control function, the compatibility among control systems ispoor, so the front-end user-oriented controller needs unify; Secondly, the introduction ofInternet network technology into smart home to achieve remote control has become a trend,but the IPv4address is nearly exhausted, which affected the full realization of intelligenthome furnishing remote system control, so the IPv6address is imperative.Internet for public services are using the32-bit IPv4address, in order to achieve thetransition from IPv4to IPv6protocol, the collaboration and compatibility issues betweenthese two protocols of switchboard, router and LAN need to solve. China is activelypromoting IPv6commercial process, proposed large-scale trial of IPv6commercial in2015.Thus, the IPv6protocol with128-bit address will be the main protocol of smart homeremote control. The introduction of IPv6into the smart home system provides a wider spacefor the development of intelligent home furnishing (of smart home).Home appliancesconnected to the Internet network, each household electrical appliance can obtain an IPaddress, the purpose of remote control home appliances will be achieved through the remoteclient.This paper mainly targets the smart home system, researched and realized the remotecommunication based on IPv6, completed the design of the controller and simulated theremote control of implements the electrical users’on/off simulatively.First of all, the paperstudied the principle and structure of the TCP/IP protocol, designed and implemented thecustom application layer protocol based on TCP, compared the IPv4communication protocolwith IPv6communication protocols, used Visual C++software to complete the Winsock C/S mode communication testing based on IPv4and IPv6protocol, analyzed the difficultiesof IPv6communication and the difference with IPv4. Secondly, wrote the controller controlinterface based on IPv6communication protocol, and use the software program to completeserial communication user layer protocols. Finally, this paper realized the visual controlinterface, which facilitated operation and accomplished the controller’s remote control oflamp on/off. |