Markdown

IoTプロトコル - Markdown

IoTプロトコルは、モノのインターネット(Internet of Things)環境において、デバイス間のデータ通信を実現するための通信規約です。MQTT、CoAP、AMQPなどの軽量メッセージングプロトコルを中心に、XMPP、DDS、HTTP、LwM2Mなど、さまざまな用途や要件に応じたプロトコルが存在します。これらのプロトコルは、帯域幅の制約、消費電力、遅延時間、信頼性など、IoTデバイスの特性に合わせて設計されています。スマートホーム、産業自動化、スマートシティ、ヘルスケアなど、幅広い分野で活用されています。

IoT プロトコル MQTT CoAP AMQP 通信規約 M2M スマートデバイス
| code | slug | name | description | architecture | bestFor | fullName | headerSize | powerConsumption | qosLevels | transportProtocol |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 01 | mqtt | MQTT | 軽量なパブリッシュ/サブスクライブ型メッセージングプロトコル | Broker-based (Pub/Sub) | ["unreliable networks","remote monitoring","smart homes","industrial automation"] | Message Queuing Telemetry Transport | 2 bytes | moderate | 3 | TCP |
| 02 | coap | CoAP | 制約のあるデバイス向けの軽量Web転送プロトコル | Client-Server (RESTful) | ["battery-powered devices","constrained networks","smart agriculture","LPWAN"] | Constrained Application Protocol | 4 bytes | low | 2 | UDP |
| 03 | amqp | AMQP | エンタープライズ向けの高度なメッセージキューイングプロトコル | Broker-based (Multiple patterns) | ["enterprise integration","financial systems","healthcare","mission-critical applications"] | Advanced Message Queuing Protocol | variable (larger) | high | 3 | TCP |
| 04 | xmpp | XMPP | XMLベースのリアルタイム通信プロトコル | Distributed (Client-Server) | ["instant messaging","presence detection","chat applications","device management"] | Extensible Messaging and Presence Protocol | variable (XML overhead) | moderate | 1 | TCP |
| 05 | dds | DDS | リアルタイムデータ配信のためのミドルウェアプロトコル | Brokerless (Pub/Sub) | ["industrial automation","robotics","defense systems","automotive","real-time systems"] | Data Distribution Service | variable | high | 22 | UDP/TCP |
| 06 | http-https | HTTP/HTTPS | Web通信のための標準プロトコル | Client-Server (Request/Response) | ["web applications","device management portals","data visualization","RESTful APIs"] | HyperText Transfer Protocol / HTTP Secure | 800+ bytes | high | 1 | TCP |
| 07 | lwm2m | LwM2M | 軽量M2Mデバイス管理プロトコル | Client-Server | ["device management","firmware updates","smart metering","asset tracking"] | Lightweight M2M | 4+ bytes | low | 2 | UDP (over CoAP) |
| 08 | mqtt-sn | MQTT-SN | センサーネットワーク向けのMQTTプロトコル | Broker-based (Pub/Sub) | ["sensor networks","non-IP networks","Zigbee","LoRaWAN","Bluetooth"] | MQTT for Sensor Networks | 2-5 bytes | low | 3 | UDP |
| 09 | opc-ua | OPC UA | 産業自動化向けのM2M通信プロトコル | Client-Server | ["industrial automation","process control","manufacturing","Industry 4.0"] | OPC Unified Architecture | variable | moderate | 2 | TCP |
| 10 | websocket | WebSocket | 全二重通信を実現するWebプロトコル | Client-Server (Full-duplex) | ["real-time streaming","chat applications","live dashboards","bidirectional communication"] | WebSocket Protocol | 2-14 bytes | moderate | 1 | TCP |