arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.19931cs.NI
收藏

DHNet:一种面向智能家居的分布式网络架构

DHNet: A Distributed Network Architecture for Smart Home

Chaoqi Zhou, Jingpu Duan, YuPeng Xiao, Qing Li, Dingding Chen, Ruobin Zheng, Shaoteng Liu

AI总结:

本文提出面向智能家居的分布式网络架构DHNet及基于向量路由的分簇通信算法,通过网卡地址直用和服务发现下沉至网络层,显著降低接入与通信延迟,并实现与TCP/IP应用的兼容。

摘要:

随着智能家居日益普及,越来越多的设备需要接入家庭网络。传统家庭网络主要依赖集中式组网,集中式拓扑中设备数量过多会增加中心路由器的压力,可能导致通信延迟等网络性能指标下降。为解决集中式网络带来的延迟性能问题,本文提出了一种名为DHNet的新型网络系统,并设计了一种基于向量路由的分簇组网与通信算法。在模拟虚拟环境中,簇内通信的延迟约为0.7毫秒。此外,通过直接使用设备第一个非“lo”网卡地址作为协议的网络层地址,该协议避免了DHCP带来的数十毫秒接入延迟。服务发现功能通过“服务器主动推送服务”与“客户端请求+服务器回复”相结合的方式集成到网络层协议中。与传统应用层DNS被动服务发现相比,平均延迟降低超过50%。PVH协议使用Go编程语言在用户空间实现,实现细节借鉴了Google的gVisor项目。代码已从x86_64 Linux计算机移植到OpenWrt路由器和Android智能手机等设备上。PVH协议可以通过“隧道”进行通信以提供IP兼容性,使基于TCP/IP的现有应用无需修改代码即可使用PVH协议进行通信。

英文摘要:

With the increasing popularity of smart homes, more and more devices need to connect to home networks. Traditional home networks mainly rely on centralized networking, where an excessive number of devices in the centralized topology can increase the pressure on the central router, potentially leading to decreased network performance metrics such as communication latency. To address the latency performance issues brought about by centralized networks, this paper proposes a new network system called DHNet, and designs an algorithm for clustering networking and communication based on vector routing. Communication within clusters in a simulated virtual environment achieves a latency of approximately 0.7 milliseconds. Furthermore, by directly using the first non-"lo" network card address of a device as the protocol's network layer address, the protocol avoids the several tens of milliseconds of access latency caused by DHCP. The integration of service discovery functionality into the network layer protocol is achieved through a combination of "server-initiated service push" and "client request + server reply" methods. Compared to traditional application-layer DNS passive service discovery, the average latency is reduced by over 50%. The PVH protocol is implemented in the user space using the Go programming language, with implementation details drawn from Google's gVisor project. The code has been ported from x86\_64 Linux computers to devices such as OpenWrt routers and Android smartphones. The PVH protocol can communicate through "tunnels" to provide IP compatibility, allowing existing applications based on TCP/IP to communicate using the PVH protocol without requiring modifications to their code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑