The invention discloses a smart home gateway control system and method based on WebSocket, the system includes: intelligent hardware, smart home gateway server, cloud platform and mobile intelligent terminal; the intelligent hardware connected to the smart home gateway; the smart home gateway is connected to the server the server cloud platform; the cloud platform and the mobile intelligent terminal connection; the mobile intelligent terminal and the intelligent hardware connection; the communication server cloud platform and the mobile intelligent terminals, smart home gateway uses a connection based on WebSocket protocol. Based on the WebSocket protocol network connection in the invention can build lasting long connection and can initiate a request to the client device data using a WebSocket based network connection can get real-time, and improve the communication efficiency; through the control of smart home gateway mode to the control and management of a variety of intelligent hardware, improves the scalability of the the whole system and universal.
【技术实现步骤摘要】
基于WebSocket的家庭智能网关控制系统及方法
本专利技术涉及通信
,具体涉及一种基于WebSocket的家庭智能网关控制系统及方法。
技术介绍
随着物联网技术的不断发展,常见的家用电器也能够通过家庭智能网关连接入网,这种家用电器实质上属于智能硬件,通过移动智能终端远程控制的方式来实时监控智能硬件的运行情况,能够随时随地的知道家里发生的一切。控制的核心是通过与家庭智能网关连接的云平台来实现的,传统的控制连接是http连接,但是在实时性要求不断提高的情况下,http连接不能很好的满足对智能硬件的监控,http连接对网络的负载较大也限制了移动智能终端对智能硬件的监控。也有一些智能设备是通过WebSocket连接来进行控制的,虽然是能够提高通信的效率,但是一般都是针对单个智能设备,这样的整个控制系统仅能够控制单个智能设备,扩展性和通用性都不强。
技术实现思路
本专利技术克服了现有技术的不足,提供一种基于WebSocket的家庭智能网关控制系统及方法。为解决上述的技术问题,本专利技术采用以下技术方案:一种基于WebSocket的家庭智能网关控制系统,它包括:智能硬件、家庭智能网关、服务器云平台以及移动智能终端;所述智能硬件与所述家庭智能网关连接;所述家庭智能网关与所述服务器云平台连接;所述服务器云平台与所述移动智能终端连接;所述移动智能终端与所述智能硬件连接;所述服务器云平台与所述移动智能终端、家庭智能网关的通信采用基于WebSocket协议的连接。更进一步的技术方案是所述的服务器云平台包括:第一控制模块和第一网络模块,所述第一控制模块用于处理来自移动智能终 ...
【技术保护点】
一种基于WebSocket的家庭智能网关控制系统,它包括:智能硬件、家庭智能网关、服务器云平台以及移动智能终端;其特征在于:所述智能硬件与所述家庭智能网关连接;所述家庭智能网关与所述服务器云平台连接;所述服务器云平台与所述移动智能终端连接;所述移动智能终端与所述智能硬件连接;所述服务器云平台与所述移动智能终端、家庭智能网关的通信采用基于WebSocket协议的连接。
【技术特征摘要】
1.一种基于WebSocket的家庭智能网关控制系统,它包括:智能硬件、家庭智能网关、服务器云平台以及移动智能终端;其特征在于:所述智能硬件与所述家庭智能网关连接;所述家庭智能网关与所述服务器云平台连接;所述服务器云平台与所述移动智能终端连接;所述移动智能终端与所述智能硬件连接;所述服务器云平台与所述移动智能终端、家庭智能网关的通信采用基于WebSocket协议的连接。2.根据权利要求1所述的基于WebSocket的家庭智能网关控制系统,其特征在于所述的服务器云平台包括:第一控制模块和第一网络模块,所述第一控制模块用于处理来自移动智能终端的控制指令,所述第一网络模块用于与所述移动智能终端、家庭智能网关通信。3.根据权利要求1所述的基于WebSocket的家庭智能网关控制系统,其特征在于所述的家庭智能网关包括:第一ZigBee模块和第二网络模块,所述第一ZigBee模块用于与所述智能硬件通信,所述第二网络模块用于与所述服务器云平台通信。4.根据权利要求1所述的基于WebSocket的家庭智能网关控制系统,其特征在于所述的智能硬件包括:第二ZigBee模块、第一蓝牙模块和第二...
【专利技术属性】
技术研发人员:张宇,姜韬,谌烜,
申请(专利权)人:四川长虹电器股份有限公司,
类型:发明
国别省市:四川,51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。