物聯網的概念在業界並不陌生，最早在1999年就提出來了。物聯網的定義十分簡單，就是把所有物品通過射頻識別等信息傳感設備與互聯網連接起來，實現智能管理。物聯網的核心和基礎是互聯網，不過用戶端不僅局限於個人電腦，而是延伸到任何需要實時管理的物品和物品之間。如何有效的提升設備間傳輸的效率以及降低耗電成本來提高使用者使用智慧居家設備的意願，這是本文中希望可以達到的效果。本文主旨主要是使用三種網路通訊協定，包含一般HTTP通訊協定、MQTT (MQ Telemetry Transport or Message Queue Telemetry Transport)、以及WebSocket，比較其通訊模式的效率封包大小以及省電效果，並且透過實際在Arduino平台的操作，來得到確實認證的結果，主要會使用Arduino也是因為它可以接收各種感測器的輸入來源感測環境和其他的執行器來影響周圍環境，可以做出各式各樣的運用。也確實經過了電池的量測和封包的側錄，兩方都有明顯的差異性，證明了MQTT與WebSocket相較於一般HTTP協定的省電節能與通訊效率的提高，希望可以更使得物聯網的生活更貼近大家的生活，更為世界提供便利。 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.