Design of an Adaptive Heartbeat Mechanism for MQTT Based on BP Neural Network
This paper describes that the historical data of network latency is sampled by improving the Holt smoothing network state detection algorithm,the historical data is trained using the improved BP neural network algorithm to predict the future network latency time points;and at the predicted latency time points,the improved MQTT heartbeat algorithm is used to avoid connection failures.It effectively reduces the additional overhead on the MQTT protocol caused by the use of binary search method.