Amazon Web Services ããã° ãã¼ã«ã«ã®Mosquitto MQTT Brokerãããªãã¸ã«AWS IoTã使ã AWS SDKã¾ãã¯AWS IoT Device SDKã使ç¨ãã¦ãæ°ç¾ä¸ã®ãªãã¸ã§ã¯ããAWS IoTã«å®å ¨ã«æ¥ç¶ã§ãã¾ãã 製é æ¥ã«ãããIoTã®å ´åããªãã¸ã§ã¯ãã¯è¤æ°ã®çç±ã§ã²ã¼ãã¦ã§ã¤ã«æ¥ç¶ããã¾ãã ã»ã³ãµã¼ã¯é常ã«å¶ç´ãããã¯ã©ã¦ãã«ç´æ¥æ¥ç¶ã§ããªããã¨ããã»ã³ãµã¼ã¯ãããã³ã«ã¨ãã¦MQTTã使ããªãã¾ãã¯ã ã²ã¼ãã¦ã§ã¤ä¸ã§ãã¼ã«ã«ã«åæã¨å¦çãå®è¡ããå¿ è¦ãããã¾ãã ãã¼ã«ã«MQTTããã¼ã«ã¼ã®1ã¤ã®æ©è½ã¯ãããªãã¸ãã¨å¼ã°ããMQTTã¡ãã»ã¼ã¸ã交æã§ããããã«ããã¼ã«ã«MQTTããã¼ã«ã¼ãAWS IoTã«æ¥ç¶ãããã¨ãã§ãã¾ãã ããã«ããããªãã¸ã§ã¯ããAWS IoTã¨åæ¹åã§éä¿¡ããAWSã¯ã©ã¦ãã®æ©æµãåãããã¨ãã§ãã¾ãã ã
ä¸æ¹ããããã¼ã«ã¼åãã¨ããã®ã¯ããã¼ã¿ã®çºä¿¡è (Publisher / ãããªãã·ã£ã¼)ã¯ååé ãµã¼ãã¼(Broker ããã¼ã«ã¼)ã«ãã¼ã¿ãéãä»ããã ãã§ããããã®ãã¼ã¿ãã©ããªæ¡ä»¶ã§èª°ã«åé å¸ããã®ãã¯ããã¼ã«ã¼ãå¦çããå½¢æ ã®ã·ã¹ãã ã§ãããã¼ã¿ã®åãåãæã¯ãµãã¹ã¯ã©ã¤ãã¼(Subscriber)ã¨å¼ã°ãã¾ããåä»äºãããã¼ã«ã¼ãã¾ã¨ãã¦å¼ãåããä¸å¤®é権åã®ã·ã¹ãã ã§ãããããã¼ã«ã¼ãã¯ã©ã¦ããµã¼ãã¨ãã¦è§£éããã¨ãããããããã¨æãã¾ãã MQTT 㯠(SOAP ã AJAX ã®ãããª) HTTP ä¸ã®ç¸ä¹ãã§ã¯ãªããç¬èªã®éä¿¡ãã¼ã(TCP 1883, TLS 8883)ã使ã£ã¦åä½ãã¾ãããããã³ã«ä»æ§ã HTTP/HTML ã¨ã¯å ¨ãç°ãªããã¤ãåä½ã®ãã¤ããªãã©ã¼ãããã§ãåæ°ãã¤ãç¨åº¦ã®çãã¡ãã»ã¼ã¸ã交æããå ´åã«ãã¼ã¿å¹çãåªãããã¨ãç¹é·ã§ãã ãããã¯ã¨ã¡
ããã§ã¯ã¤ã³ã¿ã¼ãããå®ç¹è¦³æ¸¬ã·ã¹ãã ã¸ã®ã¢ã¯ã»ã¹æ å ±çã観測ã»åæããçµæããããããã¯ã¼ã¯ã»ãã¥ãªãã£ã®ç¶æã»åä¸ã«è³ããæ å ±ãæ²è¼ãã¦ãã¾ãã âã主ãªè¦³æ¸¬çµæ ãæ¦è¦ã å¹³æ29å¹´ï¼æã«ãIoTãM2Mçã§ä½¿ç¨ãããã¡ãã»ã¼ã¸ãããã³ã«MQTTã«ããæ¢ç´¢è¡çºã®å¢å ã観測ãã¾ããã 観測ããã¢ã¯ã»ã¹ã®å¤§å¤æ°ã¯ãç¡èªè¨¼ã®CONNECTã³ãã³ãã«ããæ¥ç¶è©¦è¡ã§ããããå°æ°ãªãããã¦ã¼ã¶ååã³ãã¹ã¯ã¼ããæå®ããã¦ããèªè¨¼ãä¼´ã£ãCONNECTã³ãã³ãã«ããæ¥ç¶è©¦è¡ã観測ãã¾ããã 1883/TCPãã¼ãã«å¯¾ããMQTTã®CONNECTã³ãã³ãã®è¦³æ¸¬ä»¶æ°æ¨ç§» ãåæã ãããã®ã¢ã¯ã»ã¹ã¯ãèªè¨¼ãä¸è¦ã§ãã£ãããèå¼±ãªã¦ã¼ã¶ååã³ãã¹ã¯ã¼ãã使ç¨ããã¦ããããã¦ã誰ã§ã容æã«æ¥ç¶å¯è½ãªç¶æ ã¨ãªã£ã¦ããBrokerï¼MQTTã¡ãã»ã¼ã¸ã®ä¸ç¶çãå®æ½ãããµã¼ãï¼ãæ¢ç´¢ãã¦ãããã®ã¨èãããã¾ãã
注é MQTT As a Service: sangoããªãªã¼ã¹ãã¾ãã 2014å¹´8æã«ãGitHubã¢ã«ã¦ã³ãã§ç°¡åã«ç»é²ã§ãã¦MQTTã使ãå§ãããã sango ã æé¨å ããªãªã¼ã¹ãã¾ããã ç¡æãã©ã³ãããã¾ãã®ã§ãMQTTãä¸åº¦ä½¿ã£ã¦ã¿ããã¨ããæ¹ã¯sangoã使ããã¨ããå§ããã¾ãã æè¿voluntasããã æ´»å ãã¦ã ããã«ããã«MQTTé¢é£ãç±ããªã£ã¦ãã¾ããããã¶ã観測ç¯å²ãçãããã 㨠ã¯æãã¾ããã ã¨ã¯ãããM2M (Machine to Machine)ãIoT(Internet of Things)ã¨ããããºã¯ã¼ ãããããã¢ããã¤ã³ã¿ã¼ãããã«ã¤ãªããæ代ã«ãªã£ã¦ãã¦ãMQTTã®ä¾¡å¤ã é«ããªã£ã¦ãã¦ããæ°ããã¾ããã¾ããã¢ãã¤ã«æ代ã«é©ãããããã³ã«ã¨ã ãæå³ã§ã注ç®ããã¦ããã®ããããã¾ããã ã¨ãããã¨ãMQTTã«ã¤ãã¦ä¸æ¦ããã§ã¾ã¨ãã¦ã¿
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}