A MQTT-based device connection method, device, apparatus and medium

By employing hierarchical DNS resolution and encrypted channel authentication, the problems of long connection times and poor stability of IoT devices are solved, enabling fast, secure, and efficient device connection and interaction, which is suitable for various IoT device applications.

CN121644260BActive Publication Date: 2026-04-17SHENZHEN LINGDECHUANG TECH CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202610159387.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-02-04
Publication Date
2026-04-17
Estimated Expiration
2046-02-04

AI Technical Summary

Technical Problem

IoT devices suffer from problems such as long connection times, low interaction efficiency, and high communication risks during the connection process. They are particularly unstable in complex network environments and cannot meet the requirements for high-frequency and low-latency communication.

Method used

A tiered DNS resolution strategy is adopted, prioritizing the use of native interfaces to query highly available DNS servers. If the query fails, it is downgraded to system resolution. Connections are established directly using IP addresses and authenticated through encrypted channels. A topic format containing target identifiers is defined to achieve targeted message delivery. Request-response interaction is performed using the mapping relationship between message identifiers and concurrent security, and timeout control is achieved using delayed messages.

Benefits of technology

It achieves millisecond-level connection for IoT devices, improves connection stability and interaction reliability, ensures communication security, and adapts to the needs of multiple application scenarios.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The application discloses an MQTT-based device connection method and device, equipment and medium, relates to the technical field of Internet communication, and the method is applied to a device end and comprises the following steps: loading device identity configuration information; adopting a hierarchical domain name system resolution strategy to resolve access point information and acquiring a target connection address; initiating an MQTT connection request and completing authentication through an encrypted channel; if the connection fails, switching to a standby access point to repeat the resolution and connection processes; after the connection is established, directing message transmission based on a set topic format, realizing request and response interaction through a message association mechanism, and completing timeout control by using an MQTT delay message. The scheme improves the device connection speed, stability and interaction reliability, guarantees communication safety, and adapts to the multi-scene requirements of Internet of Things.
Need to check novelty before this filing date? Find Prior Art