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.
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
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.
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.
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.