XML

IoTプロトコル - XML

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

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