Mqtt is an IoT transport protocol designed for lightweight publish/subscribe messaging, designed to provide reliable network services for IoT devices in low-bandwidth and unstable network environments. MQTT is a lightweight transport protocol developed specifically for the Internet of things. The MQTT protocol is optimized for low-bandwidth networks and low-capacity devices, enabling them to adapt to a variety of IoT applications. At present, MQTT has a variety of platforms and devices on the client, has formed a preliminary ecological system. At the Oiot Open IoT Conference on December 18, IBM's Xugang brought together the topic of the IBM MQTT: an International standard IoT recommendation agreement, which was organized in the context of its presentation.
Development history of Mqtt
Open source and open standards are fundamental elements in the Internet of things. The development history of MQTT is as follows:
- In 1999, IBM and its partners jointly invented the MQTT protocol.
- In 2004, Mqtt.org opened the forum for broad participation.
- In 2011, IBM established the Eclipse Open Source project PAHO and contributed the code. Eclipse PAHO is the Java implementation version of MQTT.
- The OASIS MQTT Technical Specification Committee was established in 2013.
- In 2014, Mqtt formally became the recommended standard for IoT transport protocols.
Internet of Things access challenges
Data transmission in the Internet of things will face a lot of problems, such as in the case of network instability, if the data transmission is not a problem, how to ensure that the data is not repeated, how to reconnect after the disconnection. In general, Internet of Things (IoT) access faces the following challenges:
- equipment, sensors. IoT access has high requirements for terminal acquisition and control equipment, as well as for the improvement of terminal and network cost. In addition, the demand for the terminal energy consumption is also high.
- Internet. The existing network transmission loan is uneven, the transmission network is unstable.
- Server. High concurrency, multi-client access and message processing capabilities.
The benefits of MQTT
Mqtt's design idea is open source, reliable, lightweight, simple, MQTT transmission format is very small, the smallest packet only 2 bits, and no application message header. MQTT guarantees the reliability of the message, which includes three different quality of service (one at a time, at least once, once and only once), and if the client unexpectedly falls off, a message can be published using "will", while supporting persistent subscriptions. The benefits of MQTT in the Internet of things and mobile applications include:
- Reliable transmission. MQTT ensures reliable and secure transmission of messages, and can be easily integrated with enterprise applications.
Message push. Supports real-time notification of messages, rich push content, flexible pub-sub, and message storage and filtering.
Low bandwidth, low energy consumption, lower cost. Consumes less bandwidth for mobile applications, with high bandwidth utilization and low power consumption.
IoT Transport Protocol Mqtt