{"id":952,"date":"2024-03-26T18:37:16","date_gmt":"2024-03-26T09:37:16","guid":{"rendered":"https:\/\/edgecross.jp\/blog\/?p=952"},"modified":"2024-07-03T20:29:30","modified_gmt":"2024-07-03T11:29:30","slug":"%e3%80%90inside-aiot%e3%80%91aiot%e3%81%ab%e6%9c%80%e9%81%a9%e3%81%aa%e3%83%97%e3%83%ad%e3%83%88%e3%82%b3%e3%83%ab%e3%80%81mqtt%e3%82%92%e6%8e%98%e3%82%8a%e4%b8%8b%e3%81%92%e3%81%be%e3%81%99","status":"publish","type":"post","link":"https:\/\/edgecross.jp\/blog\/tech\/952\/","title":{"rendered":"\u3010Inside AIoT\u3011AIoT\u306b\u6700\u9069\u306a\u30d7\u30ed\u30c8\u30b3\u30eb\u3001MQTT\u306b\u3064\u3044\u3066\u6df1\u6398\u308a\u3059\u308b\u3002"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-text-color has-swl-main-color has-alpha-channel-opacity has-swl-main-background-color has-background is-style-wide\"\/>\n\n\n\n<p>\u3053\u3093\u306b\u3061\u306f\uff01<br>\u6a5f\u68b0\u3068AI\u304c\u7e4b\u304c\u308b\u30b9\u30de\u30fc\u30c8\u306a\u88fd\u9020\u73fe\u5834\u3092\u4f5c\u3063\u3066\u3044\u308bEdgeCross\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3088\u308a\u591a\u304f\u306e\u65b9\u306bAI\u3068IoT\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u5206\u304b\u308a\u3084\u3059\u304f\u304a\u4f1d\u3048\u3059\u308b\u305f\u3081\u306b\u3069\u306e\u3088\u3046\u306a\u6280\u8853\u304c\u3069\u3046\u5909\u5316\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u307e\u305f\u3001\u305d\u306e\u6280\u8853\u304c\u5b9f\u969b\u306e\u73fe\u5834\u3067\u306f\u3069\u306e\u3088\u3046\u306b\u9069\u7528\u3055\u308c\u3001\u30a4\u30ce\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u52a0\u901f\u3055\u305b\u3066\u3044\u308b\u306e\u304b\u304a\u4f1d\u3048\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u7b2c\u4e00\u5f3e\u3068\u3057\u3066\u3001\u5b9f\u969b\u306eAIoT\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u30b3\u30a2\u30b3\u30f3\u30bb\u30d7\u30c8\u3067\u3042\u308bMQTT\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-swl-main-color has-alpha-channel-opacity has-swl-main-background-color has-background is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">IoT\u30c7\u30fc\u30bf\u306f\u3069\u306e\u3088\u3046\u306b\u3057\u3066\u5c4a\u304f\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/h3>\n\n\n\n<p>MQTT\u3092\u8aac\u660e\u3059\u308b\u524d\u306b\u3001\u307e\u305a\u3001IoT\u30bb\u30f3\u30b5\u30fc\u3067\u53ce\u96c6\u3055\u308c\u305f\u6e29\u5ea6\u306a\u3069\u306e\u30c7\u30fc\u30bf\u304c\u5b9f\u969b\u306b\u3069\u306e\u3088\u3046\u306b\u30e6\u30fc\u30b6\u30fc\u306b\u9001\u4fe1\u3055\u308c\u308b\u3093\u304b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6a5f\u68b0\u304b\u3089\u30c7\u30fc\u30bf\u304c\u53ce\u96c6\u3055\u308c\u3001\u30af\u30e9\u30a6\u30c9\u306b\u9001\u4fe1\u3055\u308c\u3001\u305d\u306e\u30c7\u30fc\u30bf\u304c\u518d\u3073\u30e6\u30fc\u30b6\u30fc\u306b\u5c4a\u304f\u307e\u3067\u306e\u904e\u7a0b\u3092\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u56f3\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"378\" src=\"https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/img-1024x378.png\" alt=\"\" class=\"wp-image-953\" srcset=\"https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/img-1024x378.png 1024w, https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/img-300x111.png 300w, https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/img-768x283.png 768w, https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/img.png 1060w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>1.\u30c7\u30d0\u30a4\u30b9\u306b\u5185\u8535\u3055\u308c\u305f\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc\u304c\u5468\u56f2\u306e\u6e29\u5ea6\u5024\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002<br>2.\u30c7\u30d0\u30a4\u30b9\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306f\u3001\u6e2c\u5b9a\u5024\u3092\u30e6\u30fc\u30b6\u30fc\u304c\u7406\u89e3\u3067\u304d\u308b\u7279\u5b9a\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u52a0\u5de5\u3057\u307e\u3059\u3002<br>3.\u52a0\u5de5\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306f\u3001\u30af\u30e9\u30a6\u30c9\u306e\u30c7\u30fc\u30bf\u53ce\u96c6\u30dd\u30a4\u30f3\u30c8\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<br>4.\u6700\u7d42\u7684\u306b\u3001\u30af\u30e9\u30a6\u30c9\u306f\u53ce\u96c6\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u9001\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u30d7\u30ed\u30bb\u30b9\u3092\u901a\u3058\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u304c\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5730\u307e\u3067\u5b89\u5168\u304b\u3064\u52b9\u7387\u7684\u306b\u8ee2\u9001\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e2\u3064\u304c\u5fc5\u9808\u3067\u3059\u3002<\/p>\n\n\n\n<p>1) Wifi\u3084LTE\u306e\u3088\u3046\u306a\u4fe1\u983c\u3067\u304d\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6280\u8853<br>2) \u3053\u306e\u3088\u3046\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6280\u8853\u3092\u901a\u3058\u3066\u30c7\u30fc\u30bf\u3092\u4f1d\u9001\u3059\u308b\u305f\u3081\u306eIoT\u30e1\u30c3\u30bb\u30fc\u30b8\u4f1d\u9001\u30d7\u30ed\u30c8\u30b3\u30eb<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">IoT\u30e1\u30c3\u30bb\u30fc\u30b8\u8ee2\u9001\u30d7\u30ed\u30c8\u30b3\u30eb MQTT<\/h3>\n\n\n\n<p>\u30d7\u30ed\u30c8\u30b3\u30eb\u3068\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5185\u90e8\u307e\u305f\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u9593\u3067\u30c7\u30fc\u30bf\u306e\u4ea4\u63db\u65b9\u6cd5\u3092\u5b9a\u7fa9\u3059\u308b\u30eb\u30fc\u30eb\u4f53\u7cfb\u3092\u610f\u5473\u3057\u307e\u3059\u3002<br>\u3067\u306f\u3001IoT\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u306f\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<p>IoT\u30c7\u30d0\u30a4\u30b9\u306f\u4e00\u822c\u7684\u306b\u5c0f\u578b\u3067\u90fd\u5e02\u90e8\u306e\u30d3\u30eb\u5185\u304b\u3089\u8fb2\u6751\u90e8\u307e\u3067\u69d8\u3005\u306a\u74b0\u5883\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001\u3053\u308c\u3089\u306e\u7279\u6027\u3092\u8003\u616e\u3059\u308b\u3068\u3001\u5b89\u5b9a\u3057\u305f\u96fb\u6e90\u3092\u4f9b\u7d66\u3059\u308b\u305f\u3081\u306b\u30d0\u30c3\u30c6\u30ea\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u8a00\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d0\u30c3\u30c6\u30ea\u30fc\u3067\u52d5\u4f5c\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u306f\u3001\u4f4e\u6d88\u8cbb\u96fb\u529b\u8a2d\u8a08\u306b\u3088\u308a\u3001\u9577\u6642\u9593\u306e\u4f7f\u7528\u3092\u53ef\u80fd\u3068\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<br>\u3064\u307e\u308a\u3001\u4f4e\u6d88\u8cbb\u96fb\u529b\u3068\u4f4e\u5e2f\u57df\u5e45\u3067\u3082IoT\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3067\u304d\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u5fc5\u9808\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<br>\u3053\u306e\u305f\u3081\u3001\u4e00\u822c\u7684\u306bWEB\u4e0a\u3067\u3088\u304f\u4f7f\u308f\u308c\u308bHTTP\u306f\u3001IoT\u30c7\u30d0\u30a4\u30b9\u306e\u901a\u4fe1\u306b\u306f\u9069\u3057\u3066\u3044\u307e\u305b\u3093\u3002<br>IoT\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u3068\u3057\u3066MQTT\u3068CoAP\u3092\u4e3b\u306b\u4f7f\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MQTT\u3092\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308b<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"418\" src=\"https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/mqtt01-1024x418.png\" alt=\"\" class=\"wp-image-954\" srcset=\"https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/mqtt01-1024x418.png 1024w, https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/mqtt01-300x122.png 300w, https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/mqtt01-768x313.png 768w, https:\/\/edgecross.jp\/blog\/wp-content\/uploads\/2024\/03\/mqtt01.png 1250w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>MQTT\u306fPublish-Subscribe\u30e1\u30c3\u30bb\u30fc\u30b8\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3001Broker\u304cPulisher\u3068Subscriber\u306e\u9593\u3092\u4ef2\u4ecb\u3057\u307e\u3059\u3002<br>Publisher\u306fBroker\u304c\u7ba1\u7406\u3059\u308b\u7279\u5b9a\u306e\u30c8\u30d4\u30c3\u30af\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u767a\u884c\u3057\u3001Subscriber\u306f\u95a2\u5fc3\u306e\u3042\u308b\u7279\u5b9a\u306e\u30c8\u30d4\u30c3\u30af\u3067\u767a\u884c\u3055\u308c\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8cfc\u8aad\u3059\u308b\u65b9\u5f0f\u3067\u3059\u3002<\/p>\n\n\n\n<p>Topic\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4f1d\u9054\u3059\u308b\u901a\u8def\u3067\u3001&#8217;\/&#8217;\u3092\u57fa\u6e96\u306b\u968e\u5c64\u7684\u306b\u8868\u73fe\u3055\u308c\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001sensor\/temperature\/room1\u3001sensor\/humidity\/room1\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<br>Topic\u3092\u57fa\u6e96\u306b\u8907\u6570\u306ePublisher\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u767a\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u8907\u6570Subscriber\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8cfc\u8aad\u3057\u3066\u540c\u6642\u306b\u540c\u3058\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u69cb\u9020\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u3082\u3001\u3082\u3057Publisher\u304c\u767a\u884c\u3057\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306e\u554f\u984c\u3067\u3046\u307e\u304f\u914d\u4fe1\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3069\u3046\u306a\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<br>\u3053\u306e\u5834\u5408\u306f\u3001QoS\u306e\u8a2d\u5b9a\u5024\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<br>QoS\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u54c1\u8cea\u3092\u4fdd\u8a3c\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001MQTT\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b3\u3064\u306eQoS\u8a2d\u5b9a\u5024\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>QoS 0 (At most once) : \u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u6700\u5927\u4e00\u5ea6\u3060\u3051\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002\u9001\u4fe1\u78ba\u8a8d\u304c\u306a\u3044\u305f\u3081\u3001\u6d41\u5931\u306e\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>QoS 1 (At least once) : \u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5c11\u306a\u304f\u3068\u3082\u4e00\u5ea6\u4ee5\u4e0a\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\u9001\u4fe1\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u304c\u3001\u91cd\u8907\u3057\u3066\u8ee2\u9001\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>QoS 2 (Exactly once) : \u6b63\u78ba\u306b1\u56de\u306e\u8ee2\u9001\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u4f1d\u9001\u9045\u5ef6\u306e\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">MQTT\u3068\u306f\u3001HTTP\u3068\u4f55\u304c\u9055\u3046\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/h3>\n\n\n\n<p>\u6700\u3082\u4e00\u822c\u7684\u306b\u3088\u304f\u77e5\u3089\u308c\u3066\u3044\u308bHTTP\u3068\u306f\u3069\u3046\u9055\u3046\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<br>MQTT\u3068HTTP\u306e\u9055\u3044\u3092\u6bd4\u8f03\u6574\u7406\u3057\u3066\u307f\u308b\u3068\u3001\u306a\u305cMQTT\u304cIoT\u74b0\u5883\u3067MQTT\u304c\u9069\u5207\u306a\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308b\u304b\u3092\u3088\u308a\u660e\u78ba\u306b\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>1.\u30d8\u30c3\u30c0\u30fc\u30b5\u30a4\u30ba<\/strong>\uff1aMQTT\u306e\u30d8\u30c3\u30c0\u30fc\u30b5\u30a4\u30ba\u306f\u975e\u5e38\u306b\u5c0f\u3055\u3044\u3067\u3059\u3002\u6700\u5c0f\u30d8\u30c3\u30c0\u30fc\u30b5\u30a4\u30ba\u306f2\u30d0\u30a4\u30c8\u3067\u3059\u304c\u3001HTTP\u306e\u30d8\u30c3\u30c0\u30fc\u306f\u4e00\u822c\u7684\u306b\u6570\u767e\u30d0\u30a4\u30c8\u306b\u9054\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001MQTT\u304c\u306f\u308b\u304b\u306b\u5c11\u306a\u3044\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3067\u304d\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>2.\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u8907\u96d1\u3055<\/strong>\uff1a HTTP\u306f\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308a\u3001\u6bd4\u8f03\u7684\u8907\u96d1\u306a\u30ea\u30af\u30a8\u30b9\u30c8-\u30ec\u30b9\u30dd\u30f3\u30b9\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001MQTT\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5-\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30d7\u30ed\u30c8\u30b3\u30eb\u51e6\u7406\u306b\u5fc5\u8981\u306a\u8a08\u7b97\u91cf\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>3.\u6c38\u7d9a\u7684\u306a\u63a5\u7d9a\uff1a<\/strong>MQTT\u306f\u6c38\u7d9a\u7684\u306a\u63a5\u7d9a\u3092\u7dad\u6301\u3057\u30011\u56de\u306e\u63a5\u7d9a\u8a2d\u5b9a\u5f8c\u306b\u8907\u6570\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e00\u65b9\u3001HTTP\u306f\u901a\u5e38\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306b\u65b0\u3057\u3044\u63a5\u7d9a\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\uff08\u305f\u3060\u3057\u3001HTTP\/1.1\u3068HTTP\/2\u306f\u63a5\u7d9a\u306e\u518d\u5229\u7528\u3068\u591a\u91cd\u5316\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\uff09\u3002\u3053\u306e\u9055\u3044\u306f\u3001MQTT\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306b\u95a2\u3057\u3066\u3088\u308a\u52b9\u7387\u7684\u3067\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>4.\u30e1\u30c3\u30bb\u30fc\u30b8\u914d\u4fe1\u4fdd\u8a3c\uff08QoS\uff09\u30aa\u30d7\u30b7\u30e7\u30f3\uff1a<\/strong>MQTT\u306f\u69d8\u3005\u306a\u30ec\u30d9\u30eb\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u914d\u4fe1\u4fdd\u8a3c\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5e2f\u57df\u5e45\u3068\u96fb\u529b\u6d88\u8cbb\u3092\u6700\u9069\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002HTTP\u306f\u3053\u306e\u3088\u3046\u306a\u67d4\u8edf\u6027\u3092\u63d0\u4f9b\u3057\u307e\u305b\u3093\u3002 MQTT\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u914d\u4fe1\u306e\u4fe1\u983c\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u305f\u3081\u306b\u69d8\u3005\u306aQoS\u30ec\u30d9\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001QoS 0\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u6700\u59271\u56de\u306e\u307f\u8ee2\u9001\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\uff08\u6700\u5c0f\u9650\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\uff09\u3001QoS 1\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5c11\u306a\u304f\u3068\u30821\u56de\u8ee2\u9001\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u3001QoS 2\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u6b63\u78ba\u306b1\u56de\u8ee2\u9001\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\uff08\u6700\u3082\u9ad8\u3044\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\uff09\u3002<\/p>\n\n\n\n<p><strong>5.\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\uff1a<\/strong>MQTT\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u304a\u308a\u3001\u975e\u5e38\u306b\u4f4e\u3044\u9045\u5ef6\u6642\u9593\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002HTTP\u306f\u30dd\u30fc\u30ea\u30f3\u30b0\u65b9\u5f0f\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u591a\u304f\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u306b\u306f\u975e\u52b9\u7387\u7684\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>6.\u30c6\u30ad\u30b9\u30c8\u5bfe\u30d0\u30a4\u30ca\u30ea\u30d7\u30ed\u30c8\u30b3\u30eb\uff1a<\/strong>HTTP\u306f\u57fa\u672c\u7684\u306b\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u3067\u3042\u308a\u3001\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3092base64\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u4e00\u65b9\u3001MQTT\u306f\u30d0\u30a4\u30ca\u30ea\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308a\u3001\u540c\u3058\u60c5\u5831\u3092\u8868\u73fe\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u304c\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MQTT\u306b\u3064\u3044\u3066\u306e\u307e\u3068\u3081<\/h3>\n\n\n\n<p>EdgeCross\u306f\u4f4e\u96fb\u529b\u3068\u4f4e\u5e2f\u57df\u5e45\u306a\u3069\u306e\u9650\u754c\u3092\u8d85\u3048\u3001\u5404\u7a2eIoT\u30c7\u30fc\u30bf\u3092\u4fe1\u983c\u6027\u306e\u9ad8\u3044MQTT\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u4f7f\u7528\u3057\u3066\u53ce\u96c6\u3057\u3066\u3044\u307e\u3059\u3002<br>\u305d\u306e\u4e2d\u3067\u3082QoS 0\u65b9\u5f0f\u3067\u53ef\u80fd\u306a\u9650\u308a\u8efd\u91cf\u5316\u3057\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30c7\u30fc\u30bf\u3092\u65e9\u304f\u30e6\u30fc\u30b6\u30fc\u306b\u4f1d\u9054\u3057\u3066\u3044\u307e\u3059\u3002<br>(\u3082\u3061\u308d\u3093\u3001\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u6f0f\u308c\u306e\u306a\u3044\u4f1d\u9001\u306e\u305f\u3081\u306bQoS 1\u65b9\u5f0f\u3082\u4e00\u7dd2\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059)\u3002<\/p>\n\n\n\n<p>EdgeCross\u3068\u4e00\u7dd2\u306bIoT\u30c7\u30fc\u30bf\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u53ce\u96c6\u3057\u3066\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3057\u3066\u307f\u3066\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n\n\n\n\n<p>EdgeCross\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u304b\u3089EdgeCross\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"swell-block-button red_ -size-custom is-style-btn_line\" style=\"--the-fz:1em;--the-icon-size:1em;--the-width:100%\" data-align=\"left\"><a href=\"https:\/\/edgecross.ai\/jp\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"swell-block-button__link\" data-has-icon=\"1\"><svg class=\"__icon\" height=\"1em\" width=\"1em\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\" viewBox=\"0 0 48 48\"><path d=\"M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z\"><\/path><path d=\"M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z\"><\/path><\/svg><span>EdgeCross \u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8<\/span><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3088\u308a\u591a\u304f\u306e\u65b9\u306bAI\u3068IoT\u6280\u8853\u306b\u3064\u3044\u3066\u3001\u5206\u304b\u308a\u3084\u3059\u304f\u304a\u4f1d\u3048\u3059\u308b\u305f\u3081\u306b\u3069\u306e\u3088\u3046\u306a\u6280\u8853\u304c\u3069\u3046\u5909\u5316\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u307e\u305f\u3001\u305d\u306e\u6280\u8853\u304c\u5b9f\u969b\u306e\u73fe\u5834\u3067\u306f\u3069\u306e\u3088\u3046\u306b\u9069\u7528\u3055\u308c\u3001\u30a4\u30ce\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u52a0\u901f\u3055\u305b\u3066\u3044\u308b\u306e\u304b\u304a\u4f1d\u3048\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u306e\u7b2c\u4e00\u5f3e\u3068\u3057\u3066\u3001\u5b9f\u969b\u306eAIoT\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u30b3\u30a2\u30b3\u30f3\u30bb\u30d7\u30c8\u3067\u3042\u308bMQTT\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":950,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"swell_btn_cv_data":"","footnotes":""},"categories":[11,203],"tags":[63,62,70,64,68,69,71],"class_list":["post-952","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","category-inside-aiot","tag-ai","tag-aiot","tag-http","tag-iot","tag-mqtt","tag-69","tag-71"],"acf":[],"_links":{"self":[{"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/posts\/952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/comments?post=952"}],"version-history":[{"count":4,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/posts\/952\/revisions"}],"predecessor-version":[{"id":1695,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/posts\/952\/revisions\/1695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/media\/950"}],"wp:attachment":[{"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/media?parent=952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/categories?post=952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edgecross.jp\/blog\/wp-json\/wp\/v2\/tags?post=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}