Message transceiving method based on MQTT protocol for acquisition terminals
A technology for sending and receiving messages and collecting terminals. It is used in inter-program communication, instruments, multi-program devices, etc., and can solve problems such as inability to meet cross-container message communication.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The present invention will be further described below in conjunction with the accompanying drawings. The following content is only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.
[0036] The present invention provides a method for sending and receiving messages based on the MQTT protocol for collecting terminals and its implementation, including: S11, sending synchronous messages;
[0037] S12, asynchronous message sending; S21, message receiving and processing;
[0038] figure 1 It is a flow chart of synchronous message sending in the present invention, which mainly includes the following steps:
[0039] S111, call the unit_plat_infc_msg_send interface and then determine whether it is in the callback function, if it is called, it will directly return failure; S112, format the MQTT topic and resubscribe to the topic according to the parameters; S113, the unit_plat_msg_to_b...
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