Method for connecting industrial acquisition module with MQTT cloud server

A collection module, cloud server technology, applied in the direction of model-driven code, program code conversion, creation/generation of source code, etc. Good results

Inactive Publication Date: 2019-11-08
HUAZHONG UNIV OF SCI & TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, graphical, modular development methods and scalability of development are still lacking

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for connecting industrial acquisition module with MQTT cloud server
  • Method for connecting industrial acquisition module with MQTT cloud server
  • Method for connecting industrial acquisition module with MQTT cloud server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0030] see figure 1 , figure 2 , image 3 and Figure 4 , the method that industrial acquisition module provided by the present invention connects MQTT cloud server, described method mainly comprises the following steps:

[0031] In step 1, the logic program is written in a modular form, and the logic program is linked and compiled to generate a static library.

[0032] Specifically, IEC61...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the related technical field of MQTT transmission protocols, and discloses a method for connecting an industrial acquisition module with an MQTT cloud server. The method comprises the following steps: (1) performing connection compiling on a logic program to generate a static library; (2) compiling a user program and the static library link to generate an HEX file, and downloading the HEX file into an acquisition module by using a serial port; (3) initializing an authentication parameter of the MQTT server by the acquisition module, and sending an access authenticationrequest through the wireless communication module to connect the MQTT server; (4) publishing the data information acquired in real time by the acquisition module to a predetermined theme of the MQTT server, and forwarding the published information to a client subscribing the predetermined theme by the MQTT server; meanwhile, subscribing to the theme by the acquisition module and sending the information under the corresponding theme to the acquisition module by the MQTT server. According to the invention, the applicability and the flexibility are improved.

Description

technical field [0001] The invention belongs to the technical field related to the MQTT transmission protocol, and more specifically relates to a method for connecting an industrial collection module to an MQTT cloud server. Background technique [0002] At present, the emergence of new technologies such as big data, smart factories, and cloud computing heralds the arrival of a new era. In the field of industrial control, the R&D, production, and maintenance methods of traditional industrial sites appear to be limited and closed. The cost of manual operation and maintenance alone is too high and the production efficiency is not high. It is easy to make mistakes when processing more and more production data, and Failures cannot be dealt with in a timely manner. [0003] The MQTT protocol is a TCP / IP-based application layer communication protocol developed by IBM. It has the advantages of light weight, open source, low power consumption, and low traffic. It is usually suitabl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08G06F8/35G06F8/41
CPCG06F8/35G06F8/41H04L63/08H04L63/083H04L67/12H04L67/141H04L69/168
Inventor 王晓宇吕晓凡孟繁初陈雨
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products