Method for state presentation based on MQTT
A state and message technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as high hardware requirements, high cost of deploying hardware, and meaninglessness, to ensure timeliness, accessibility, and effectiveness sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0095] Please refer to Figure 4 As shown, Broker is the MQTT server used by client B to receive the status message sent by client A. When client B is always online, it includes the following steps:
[0096] Step 1. Client B sends SUBSCRIBE topic information to Broker;
[0097] Step 2. Broker returns topic subscription confirmation (SUBACK) information to client B;
[0098] Step 3. Client A publishes instant message 1 (PUBLISH MSG1, which is a status message) to Broker;
[0099] Step 4, the Broker returns to the client A the instant message 1 confirmation message (PUBACK) received by the Broker and stores the instant message 1 in its cache area;
[0100] Step 5. When the instant message 1 is the content in the topic information subscribed by the client B (of course, it can also be other clients), the Broker pushes the instant message 1 to the client B, and the client B returns the push of the instant message 1 Confirm (PUBACK) information to Broker;
[0101] Step 6. When B...
Embodiment 2
[0105] The present invention is mainly applied to the application when the client B is not always online, and its flow chart refers to Figure 5 shown, including the following steps:
[0106] Firstly, the 3 steps are the normal interaction process when the QOS is 3 in the first embodiment, which will not be repeated here.
[0107] When client B is offline (step 4), after client A sends status message 2 to Broker (step 5), Broker will not push the status message 2 to client B (step 6), but choose to store it in In the cache area above it (step 7), because there is no corresponding status message stored in the cache area at this time (the so-called status message here obviously refers to the corresponding topic information subscribed by client B), so no The previous information will be cleared, and when client A sends status message 3 to Broker (step 8), the same status message 3 cannot be pushed to client B because client B is offline. At this time, you need State message 3 i...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com