摘要
将可扩展消息处理现场协议(XMPP)即时消息及基于XMPP架构的对等网(P2P)技术应用到智能家居系统中,致力于构建基于即时消息的智能家居系统;整个系统由camera设备端、viewer客户端和openfire服务器构成;视频流由P2P连接直接发送至viewer端,不经过服务器,该系统中的openfire服务器只用于管理账户及转发xml流的XMPP消息。客户端以google提供的C++开发库libjingle来协商通道与设备端构建P2P连接。视频流采用高压缩比的H.264编码进行压缩,viewer端采用ffmpeg库进行解码;以z-wave构成无线传感器网,在camera设备端完成httpzwave网关。
This article introduced a smart home system, which was built with Extensible Messaging and Presence Protocol (XMPP) instant messaging and Peer-to-Peer (P2P) technology. The system consists of camera device, viewer client and open_fire server. Video streaming was sent directly to the viewer client through P2P connection, not through the openfire server. The server was used only for the management of accounts and forwarding xml format message. Viewer client used libjingle which is C ++ development library provided by google to negotiate and establish P2P connection. Video stream was encoded by H. 264 with high compression ratio, viewer client used ffmpeg library to decode vedio stream. To constitute wireless sensor network with z-wave and integrated the http-zwave gateway on the camera device.
出处
《计算机应用》
CSCD
北大核心
2013年第A02期307-308,320,共3页
journal of Computer Applications