{"id":79132,"date":"2023-12-31T12:23:47","date_gmt":"2023-12-31T04:23:47","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=79132"},"modified":"2023-12-31T12:23:47","modified_gmt":"2023-12-31T04:23:47","slug":"mfwqssm","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/79132.html","title":{"rendered":"MQTT\u670d\u52a1\u5668\u662f\u4ec0\u4e48"},"content":{"rendered":"
MQTT\uff08Message Queuing Telemetry Transport\uff09\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u3001\u5f00\u653e\u578b\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u7279\u522b\u9002\u7528\u4e8e\u7269\u8054\u7f51\u73af\u5883\u3002\u5b83\u662f\u57fa\u4e8e\u53d1\u5e03\/\u8ba2\u9605\uff08pub\/sub\uff09\u6a21\u5f0f\u7684\u534f\u8bae\uff0c\u4f7f\u5f97\u8bbe\u5907\u95f4\u53ef\u4ee5\u540c\u65f6\u4ea4\u6362\u4fe1\u606f\uff0c\u800c\u65e0\u9700\u76f4\u63a5\u8fde\u63a5\u3002<\/p>\n
MQTT\u670d\u52a1\u5668\u662f\u4e00\u79cd\u4e2d\u4ecb\u8005\uff0c\u901a\u8fc7\u5b83\uff0c\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u8baf\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u6709\u6548\u3002\u5b83\u5de5\u4f5c\u539f\u7406\u6d89\u53ca\u53d1\u5e03\u548c\u8ba2\u9605\u4e24\u4e2a\u4e3b\u8981\u89d2\u8272\u3002\u53d1\u5e03\u8005\u5c06\u6d88\u606f\u53d1\u9001\u5230\u670d\u52a1\u5668\uff0c\u800c\u8ba2\u9605\u8005\u5219\u4ece\u670d\u52a1\u5668\u8ba2\u9605\u6d88\u606f\u3002<\/p>\n
\u53d1\u5e03\u8005\u662f\u6d88\u606f\u7684\u53d1\u9001\u65b9\uff0c\u901a\u8fc7\u8fde\u63a5\u5230MQTT\u670d\u52a1\u5668\uff0c\u5c06\u6d88\u606f\u53d1\u9001\u5230\u6307\u5b9a\u7684\u4e3b\u9898\u3002\u4e0d\u540c\u7684\u8bbe\u5907\u53ef\u4ee5\u4ee5\u4e0d\u540c\u7684\u9891\u7387\u6216\u4e8b\u4ef6\u89e6\u53d1\u53d1\u9001\u6d88\u606f\uff0c\u4fdd\u8bc1\u4fe1\u606f\u7684\u53ca\u65f6\u6027\u548c\u5b8c\u6574\u6027\u3002<\/p>\n
\u8ba2\u9605\u8005\u662f\u63a5\u6536\u6d88\u606f\u7684\u4e00\u65b9\uff0c\u5b83\u544a\u8bc9MQTT\u670d\u52a1\u5668\u81ea\u5df1\u5bf9\u54ea\u4e9b\u4e3b\u9898\u611f\u5174\u8da3\u3002\u4e00\u65e6\u670d\u52a1\u5668\u63a5\u6536\u5230\u76f8\u5173\u6d88\u606f\uff0c\u4fbf\u4f1a\u5c06\u6d88\u606f\u53d1\u9001\u7ed9\u8ba2\u9605\u8005\u3002\u8fd9\u79cd\u65b9\u5f0f\u907f\u514d\u4e86\u8ba2\u9605\u8005\u9700\u8981\u4e0d\u65ad\u8f6e\u8be2\u670d\u52a1\u5668\u7684\u60c5\u51b5\uff0c\u8282\u7701\u4e86\u5e26\u5bbd\u548c\u529f\u8017\u3002<\/p>\n
MQTT\u670d\u52a1\u5668\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u3001\u4f20\u611f\u5668\u7f51\u7edc\u3001\u79fb\u52a8\u8bbe\u5907\u548c\u5176\u4ed6\u9700\u8981\u5feb\u901f\u3001\u53ef\u9760\u6d88\u606f\u4f20\u8f93\u7684\u9886\u57df\u3002\u5b83\u7684\u8f7b\u91cf\u7ea7\u3001\u4f4e\u529f\u8017\u3001\u9ad8\u6548\u7387\u548c\u6613\u90e8\u7f72\u6027\u7279\u70b9\uff0c\u4f7f\u5f97\u5b83\u6210\u4e3a\u4e86\u7269\u8054\u7f51\u73af\u5883\u4e2d\u7684\u7406\u60f3\u9009\u62e9\u3002<\/p>\n
\u5728\u7269\u8054\u7f51\u9886\u57df\uff0cMQTT\u670d\u52a1\u5668\u53ef\u7528\u4e8e\u8fde\u63a5\u5404\u79cd\u8bbe\u5907\u548c\u4f20\u611f\u5668\uff0c\u5b9e\u73b0\u76d1\u63a7\u3001\u63a7\u5236\u3001\u6570\u636e\u91c7\u96c6\u548c\u901a\u4fe1\u3002\u5b83\u4e0d\u4ec5\u964d\u4f4e\u4e86\u80fd\u8017\uff0c\u8fd8\u6539\u5584\u4e86\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u8baf\u6548\u7387\u3002<\/p>\n
\u5bf9\u4e8e\u79fb\u52a8\u8bbe\u5907\u800c\u8a00\uff0cMQTT\u670d\u52a1\u5668\u53ef\u4ee5\u7528\u4e8e\u63a8\u9001\u901a\u77e5\u3001\u66f4\u65b0\u5e94\u7528\u6570\u636e\u3001\u8fdc\u7a0b\u63a7\u5236\u7b49\u65b9\u9762\u3002\u7531\u4e8e\u5176\u8f7b\u91cf\u7ea7\u7279\u6027\uff0c\u4e0d\u4f1a\u5bf9\u8bbe\u5907\u6027\u80fd\u548c\u7535\u91cf\u4ea7\u751f\u8fc7\u5927\u5f71\u54cd\u3002<\/p>\n
MQTT\u670d\u52a1\u5668\u4f5c\u4e3a\u4e00\u79cd\u9ad8\u6548\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u5728\u7269\u8054\u7f51\u73af\u5883\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002<\/strong>\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u7b80\u5355\u6e05\u6670\uff0c\u5e94\u7528\u573a\u666f\u5e7f\u6cdb\u591a\u6837\uff0c\u672a\u6765\u5728\u7269\u8054\u7f51\u9886\u57df\u7684\u53d1\u5c55\u524d\u666f\u4e0d\u53ef\u9650\u91cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" MQTT\uff08MessageQueuingTelemetryTransport\uff09\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u3001\u5f00\u653e\u578b\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u7279\u522b\u9002\u7528\u4e8e\u7269\u8054\u7f51\u73af\u5883\u3002\u5b83\u662f\u57fa\u4e8e\u53d1\u5e03\/\u8ba2\u9605\uff08pub\/<\/p>\n","protected":false},"author":1,"featured_media":64183,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[46],"class_list":["post-79132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/79132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=79132"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/79132\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=79132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=79132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=79132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}