The comparison of MQTT and WebSocket performance, with the use of Arduino

碩士 === 國立中正大學 === 資訊工程研究所 === 105 === The concept of Internet of Things in the industry is no stranger. It first comes out at the 1999. The definition of Internet of Things is very simple, that is, all items are connected with the Internet through radio frequency identification and other information...

Full description

Bibliographic Details
Main Authors: WANG,ZI-YI, 王姿懿
Other Authors: REN-SONG KO
Format: Others
Language:zh-TW
Published: 2017
Online Access:http://ndltd.ncl.edu.tw/handle/zd9xpe
Description
Summary:碩士 === 國立中正大學 === 資訊工程研究所 === 105 === The concept of Internet of Things in the industry is no stranger. It first comes out at the 1999. The definition of Internet of Things is very simple, that is, all items are connected with the Internet through radio frequency identification and other information sensing equipment to achieve intelligent management. The core and foundation of the Internet of Things is the Internet, but the client is not limited to personal computers, however extends to anything that requires real-time management from items to items. How to improve the efficiency of transmission between devices and reduce the power consumption to improve the user's desire of using intelligent home equipment, which is expected in this paper. There are three internet protocols studied in this thesis, which are HTTP communicating protocol, MQTT (MQ Telemetry Transport or Message Queue Telemetry Transport) and WebSocket. We compare the efficiency of its communication mode packet size and power-saving effect, and through the actual operation in the Arduino platform, to get the exact results of the certification. Mainly arduino is used because it can sense the environment by receiving input from variety of sensors and can affect its surroundings by other actuators, can make a wide range of applications. Through the battery measurement and packet tracing and analysis, both sides have significant differences, that prove MQTT and WebSocket compared to the HTTP to save energy and improve the efficiency of communication. In order to make Internet of Things more close to everyone's life, it will provide convenience life to people.