摘要
在新型智能家居系统中,家庭网关将取代PC机作为家庭控制中心。传统客户端/服务器模式不能保持家庭网关与远程服务器实时连接。基于百万级的家庭网关与服务器保持长连接的目的。采用主从服务器框架进行负载均衡,心跳机制保障网关与服务器实时连接的方案。通过电脑模拟网关和主从服务器进行验证。得出了用主从服务器框架,用心跳保持长连接的方案可适用于家庭网关与远程服务器连接的结论。
The new smart home system uses the home gateway as the family's controlling center instead of a PC, the traditional C/S model can not keep the home gateway in real-time connection with a remote server, a new type of design of connecting the gateway to the server is needed. By using the master-slave server framework to balance the load, the heartbeat mechanism to keep the gateway in real-time connection with the server and by using three computers to simulate the authentication of the gateway and the master-slave server, it comes to the conclusion that the design is suit for the connection of home gateway and the remote server.
出处
《电子设计工程》
2016年第4期114-116,共3页
Electronic Design Engineering
关键词
智能家居
远程控制
家庭网关
主从服务器
长连接
smart home system
remote control
home gateway
master and slave servers
long connection