MQTT connection method and system of low-end limited equipment, terminal and server
A connection method and server technology, applied in transmission systems, electrical components, etc., can solve problems such as unsupportable, increased equipment power consumption, increased manufacturing costs, etc., and achieve the effect of expanding the range of choices
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0054] Example 1:
Example Embodiment
[0055] like figure 1As shown, an MQTT connection method for a low-end restricted device of the present application, an implementation manner thereof, includes the following steps:
[0056] Step 102: The terminal and the server share a key, and the server records the key of the terminal and the encryption and decryption algorithm matching the computing capability of the terminal; the server in this application is a server supporting the MQTT protocol.
[0057] Step 104: The terminal connects to the server, sends the MQTT CONNECT message to the server, and the parameters of the MQTT CONNECT message are signed by the key.
[0058] Step 106: The terminal publishes a message to the subscribed topic, and the message payload is encrypted using an encryption and decryption algorithm.
[0059] Step 108: After receiving the message of the subscribed topic sent by the server, the terminal decrypts it according to the encryption and decryption algorithm, and then performs service process...
Example Embodiment
[0066] Embodiment 2:
[0067] like figure 2 As shown, the MQTT connection method of the low-end restricted device of the present application, another implementation manner thereof, includes the following steps:
[0068] Step 202: The terminal and the server share a key, and the server records the key of the terminal and the encryption and decryption algorithm matching the computing capability of the terminal.
[0069] Step 204: After receiving the MQTT CONNECT message sent by the terminal, the server verifies the validity of the terminal, and the parameters of the MQTT CONNECT message are signed by the key.
[0070] Step 206: When the server receives the message published by the terminal through the topic, it decrypts the received message payload according to the decryption algorithm, and then performs subsequent processing on the plaintext message payload.
[0071] Step 208: The server encrypts the message payload of the message to be forwarded to the terminal according to...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap