Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Mqtt (message queuing telemetry transport) based protocol server implementation method

An implementation method and server technology, applied in the field of server implementation based on the Mqtt protocol, can solve cumbersome, error-prone, time-consuming and labor-intensive problems, and achieve the effects of saving time and cost, improving work efficiency, and having a wide range of applications

Inactive Publication Date: 2017-05-31
SHANDONG INSPUR COMML SYST CO LTD
View PDF1 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] It would be very cumbersome to use the MQTT protocol without our packaged jar
The first user needs to care about the topics I publish / subscribe and what my hierarchical relationship is; and developers need to combine business logic and development environment to configure the proxy server (Mosquitto) including security, permissions, etc., which is not only time-consuming Laborious and error-prone

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
  • Mqtt (message queuing telemetry transport) based protocol server implementation method
  • Mqtt (message queuing telemetry transport) based protocol server implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0029] A method for implementing a server based on the Mqtt protocol. The present invention is based on the current open source Mosquitto server platform, uses Java as a development framework, adds some open source plug-ins, develops jar packages for the client and server, and repackages the Mosquitto server behavior specification. After the user registers on the platform, he will get two jar packages packaged by us. By calling the method in the jar package, the client can subscribe to the instruction information on the Mosquitto server. When the client receives the instruction from the server, it can make a corresponding instruction. corresponding reflection. The server-side jar package is used for developers, who can call the methods in the jar to send corresponding instructions to the client to complete the corresponding work.

[0030] Base...

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 discloses an Mqtt (message queuing telemetry transport) based protocol server implementation method. The implementation process lies in that on the basis of an open-sourcing Mosquitto server platform, Java is used as a development framework, a client and jar packets of a server side are developed, and behavioral norms in the Mosquito server are packaged once more; a user acquires the two packaged jar packets after registering the platform, command information is subscribed by the client on the Mosquitto server with a method of calling the jar packets, and the client gives corresponding responses according to corresponding commands when receiving the commands form the server side; the jar packets of the server side are used by developers, and the corresponding commands are sent to a client side to enable the client to complete corresponding work with the method of calling the jar packets. Compared with the prior art, the implementation method has the advantages that MQTT access development of the enterprise-class small and medium sized user is completed in the shortest time, time period for learning is omitted, establishment of environmental system is not needed, and rapid development can be performed by the arrangement of the jar packets.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a method for implementing a server based on the Mqtt protocol. Background technique [0002] MQTT (Message Queuing Telemetry Transport) is an instant messaging protocol developed by IBM. [0003] Many domestic enterprises widely use MQTT as the protocol for pushing messages between Android mobile client and server. [0004] Due to the characteristics of open source code and low power consumption, MQTT will make more contributions in the field of mobile message push. In the field of Internet of Things, the communication between sensors and servers, and the collection of information, MQTT can be considered as one of the solutions one. In the future, MQTT will enter all aspects of our lives. [0005] The characteristics of MQTT are as follows: lightweight machine-to-machine communication protocol; publish / subscribe mode; based on TCP / IP; support QoS; A relatively g...

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): G06F9/44
Inventor 尹祎李铁军刘晓
Owner SHANDONG INSPUR COMML SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products