The invention relates to an
MQTT protocol communication method for
mass message transmission of a power distribution
internet of things, which comprises the following steps: by designing a
queue gateway which is uplink and downlink isolation, real-time priority and support of
mass data, separating and splitting an uplink and a downlink, when the uplink is stacked, sending real-time messages preferentially, and sending stacked messages into an order-preserving degradation
queue; and meanwhile, the accumulated message and the real-time message are sent in parallel, so that the normal operation
processing of the downlink service is not influenced. According to the method, a multi-track
queue model is adopted, massive Topic is isolated from one another, and the purpose that messages of one device accumulate Topic without affecting normal operation of another device is achieved. Through
multiplexing of TCP channels, that is, one TCP channel corresponds to a plurality of
MQTT clients, and the same group of
MQTT clients establish communication connection with an MQTT
proxy server through the same TCP channel, concurrent
connection number requests of power distribution
Internet of Things equipment to the MQTT
proxy server are reduced to the maximum extent, decoupling of an MQTT protocol and a transmission layer is achieved, real isolation of massive Topic is achieved, and the reliability of power distribution
Internet of Things equipment is improved. The time
delay problem caused by accumulation is fundamentally solved.