摘要
LoRa作为一种远距离无线通信技术,具有功耗低、数据通信效率高等优势,目前已经广泛应用于物联网平台。针对在实际部署的应用中使用LoRaWAN协议会存在通信实时性较低的问题,提出了改变服务器架构和通信协议的方法。该方法通过重构服务器,将原来的4个服务器架构重构成2个服务器,并改进通信方式,摒弃现行的消息队列遥测传输(Message Queuing Telemetry Transport,MQTT)通信,使用Netty框架进行数据通信,有效缩短终端的响应时间,提高了响应实时性。
As a long-distance wireless communication technology,LoRa has the advantages of low power consumption and high data communication efficiency,and has been widely used in the Internet of Things platform.Aiming at the problem that LoRaWAN protocol will lead to low real-time communication in the actual deployed applications,this paper proposes a method to change the server architecture and communication protocol.This method reconstructs the server,reconstructs the original four server architecture into two servers,and improves its communication mode,discards the current Message Queuing Telemetry Transport(MQTT)communication,and uses the Netty framework for data communication.This method can effectively improve the response time of the terminal and improve the real-time response.
作者
谌弘毓
侯冬晴
SHEN Hongyu;HOU Dongqing(College of Communication and Electronic Engineering,Jishou University,Jishou Hunan 416000,China)
出处
《信息与电脑》
2022年第21期203-205,共3页
Information & Computer