论文部分内容阅读
本文提出了基于手机APP控制的独立型智能家居解决方案。通过制作智能插座来解决用户电器工作状态。用户手机APP通过SOCKET协议与插座连接,传送家中的路由器账号与密码给插座。插座连接网络后连接服务器,查询自身状态。手机APP通过访问服务器对应插座的MAC码来得到具体插座的当前状态,也可发送指令给服务器改变插座信息。插座访问服务器时根据服务器信息改变自身状态,可以实现手机APP对插座的控制,从而达到控制家中其它电器的目的。这种插座系统小而精,安装部署简单、交互性好、使用简单、成本低。
This paper presents a stand-alone smart home solution based on mobile APP control. Through the production of smart socket to solve the user electrical work status. The user’s mobile phone APP is connected with the socket through the SOCKET protocol, and transmits the router account and password of the home to the socket. After the socket is connected to the network, the server is connected to check its own status. The APP of the mobile phone obtains the current state of the specific socket by accessing the MAC code of the corresponding socket of the server, and may also send an instruction to the server to change the socket information. When the socket accesses the server, the status of the socket is changed according to the server information, so as to control the socket of the phone APP and control other appliances in the house. This socket system is small and sophisticated, easy installation and deployment, good interaction, easy to use and low cost.