{"id":99796,"date":"2024-12-06T16:35:50","date_gmt":"2024-12-06T08:35:50","guid":{"rendered":"\/\/www.viralrail.com\/?p=99796"},"modified":"2024-12-06T16:35:55","modified_gmt":"2024-12-06T08:35:55","slug":"wlwsjcsfsjs","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/99796.html","title":{"rendered":"\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\u4ecb\u7ecd"},"content":{"rendered":"\n

\u3000\u3000\u7269\u8054\u7f51(IoT)\u7684\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\u662f\u5b9e\u73b0\u8bbe\u5907\u95f4\u4e92\u8054\u4e92\u901a\u7684\u5173\u952e\u6280\u672f\uff0c\u4e3b\u8981\u5305\u62ec\u6709\u7ebf\u548c\u65e0\u7ebf\u4e24\u79cd\u5f62\u5f0f\u3002\u4ee5\u4e0b\u662f\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\u7684\u8be6\u7ec6\u4ecb\u7ecd\uff1a<\/p>\n\n\n\n

\u3000\u3000\u6709\u7ebf\u4f20\u8f93<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u4ee5\u592a\u7f51\u662f\u6700\u5e38\u89c1\u7684\u5c40\u57df\u7f51\u901a\u4fe1\u6280\u672f\uff0c\u9002\u7528\u4e8e\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u548c\u5927\u8303\u56f4\u8986\u76d6\u3002\u5b83\u7b26\u5408IEEE802.3\u6807\u51c6\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u7269\u8054\u7f51\u4e2d\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e32\u884c\u901a\u4fe1\u6280\u672f<\/strong>\uff1a\u5982RS-232\u3001RS-485.\u8fd9\u4e9b\u6280\u672f\u5177\u6709\u4e0d\u540c\u7684\u4f20\u8f93\u901f\u7387\u548c\u8ddd\u79bb\uff0c\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u6216\u957f\u8ddd\u79bb\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1a\u652f\u6301\u5373\u63d2\u5373\u7528\u548c\u70ed\u63d2\u62d4\uff0c\u9002\u7528\u4e8e\u4e2a\u4eba\u7535\u8111\u548c\u667a\u80fd\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u3000\u65e0\u7ebf\u4f20\u8f93<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u77ed\u8ddd\u79bb\u65e0\u7ebf\u4f20\u8f93<\/strong>\uff1a\u5305\u62ec\u84dd\u7259\u3001Wi-Fi\u3001ZigBee\u7b49\u6280\u672f\u3002\u84dd\u7259\u9002\u7528\u4e8e\u4e2a\u4eba\u6d88\u8d39\u7535\u5b50\u4ea7\u54c1\u548c\u533b\u7597\u8bbe\u5907\u9886\u57df\uff0c\u5177\u6709\u4f4e\u529f\u8017\u3001\u4f4e\u6210\u672c\u548c\u7b80\u5355\u6613\u7528\u7684\u7279\u70b9\u3002Wi-Fi\u63d0\u4f9b\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u80fd\u529b\uff0c\u9002\u7528\u4e8e\u5feb\u901f\u54cd\u5e94\u548c\u5927\u91cf\u6570\u636e\u5904\u7406\u7684\u573a\u666f\u3002ZigBee\u5219\u662f\u4e00\u79cd\u4f4e\u529f\u8017\u3001\u77ed\u8ddd\u79bb\u65e0\u7ebf\u901a\u4fe1\u6280\u672f\uff0c\u5e38\u7528\u4e8e\u667a\u80fd\u5bb6\u5c45\u548c\u5de5\u4e1a\u81ea\u52a8\u5316\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f4e\u529f\u8017\u5e7f\u57df\u7f51\uff08LPWAN\uff09<\/strong> \uff1a\u5982LoRaWAN\u548cNB-IoT\uff0c\u8fd9\u4e9b\u6280\u672f\u63d0\u4f9b\u5e7f\u57df\u8303\u56f4\u7684\u957f\u7a0b\u901a\u4fe1\u80fd\u529b\uff0c\u9002\u7528\u4e8e\u4f4e\u529f\u8017\u3001\u4f4e\u901f\u7387\u7684\u7269\u8054\u7f51\u8bbe\u5907\u3002NB-IoT\u6280\u672f\u652f\u6301\u53cc\u5411\u901a\u4fe1\uff0c\u80fd\u591f\u6ee1\u8db3\u7269\u8054\u7f51\u8bbe\u5907\u4e0e\u57fa\u7ad9\u4e4b\u95f4\u7684\u901a\u4fe1\u9700\u6c42\uff0c\u5177\u6709\u8f83\u8fdc\u7684\u4fe1\u53f7\u8986\u76d6\u8303\u56f4\u548c\u66f4\u9ad8\u7684\u4fe1\u9053\u6570\u91cf\u3002<\/p>\n\n\n\n

\u3000\u3000\u8702\u7a9d\u7f51\u7edc<\/strong>\uff1a\u5305\u62ec2G\/3G\/4G\/5G\uff0c\u8fd9\u4e9b\u6280\u672f\u5e7f\u6cdb\u8986\u76d6\u57ce\u5e02\u548c\u4e61\u6751\u5730\u533a\uff0c\u4e3a\u7269\u8054\u7f51\u8bbe\u5907\u63d0\u4f9b\u957f\u8ddd\u79bb\u901a\u4fe1\u80fd\u529b\u3002<\/p>\n\n\n\n

\u3000\u3000\u6df7\u5408\u4f20\u8f93<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u6df7\u5408\u4f20\u8f93\u7ed3\u5408\u4e86\u6709\u7ebf\u548c\u65e0\u7ebf\u4f20\u8f93\u7684\u4f18\u52bf\uff0c\u53ef\u4ee5\u63d0\u4f9b\u66f4\u7a33\u5b9a\u3001\u66f4\u7075\u6d3b\u7684\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u7c7b\u7269\u8054\u7f51\u8bbe\u5907\u4e2d\u3002<\/p>\n\n\n\n

\u3000\u3000\u7269\u8054\u7f51\u5e73\u53f0\u901a\u4fe1\u65b9\u5f0f<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u7269\u8054\u7f51\u5e73\u53f0\u901a\u8fc7\u89c4\u5219\u5f15\u64ce\u5c06\u8bbe\u5907\u4e0a\u62a5\u7684\u6d88\u606f\u6d41\u8f6c\u81f3\u670d\u52a1\u5668\uff0c\u5e76\u652f\u6301AMQP\u548cKAFKA SDK\u63a5\u6536\u6d88\u606f\u3002\u670d\u52a1\u5668\u53ef\u4ee5\u901a\u8fc7\u81ea\u5b9a\u4e49Topic\u3001\u5f02\u6b65\u63a7\u5236(Pub\u63a5\u53e3)\u548c\u540c\u6b65\u63a7\u5236(RRpc\u63a5\u53e3)\u8fdc\u7a0b\u63a7\u5236\u8bbe\u5907\u3002<\/p>\n\n\n\n

\u3000\u3000\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u534f\u8bae<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u5e38\u89c1\u7684\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u534f\u8bae\u5305\u62ecMQTT\u3001HTTP\u3001XMPP\u7b49\u3002\u8fd9\u4e9b\u534f\u8bae\u6709\u52a9\u4e8e\u7b80\u5316\u8bbe\u5907\u95f4\u7684\u6570\u636e\u4ea4\u6362\u548c\u5171\u4eab\uff0c\u63d0\u9ad8\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000\u7269\u8054\u7f51\u7684\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\u9009\u62e9\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u3001\u8bbe\u5907\u6027\u80fd\u9700\u6c42\u548c\u7f51\u7edc\u73af\u5883\u7b49\u56e0\u7d20\u3002\u672a\u6765\u7684\u53d1\u5c55\u8d8b\u52bf\u5c06\u671d\u7740\u9ad8\u6548\u6027\u3001\u5b89\u5168\u6027\u3001\u4e92\u8054\u4e92\u901a\u548c\u4f4e\u529f\u8017\u65b9\u5411\u53d1\u5c55\uff0c\u4ee5\u5e94\u5bf9\u5927\u89c4\u6a21\u6570\u636e\u4f20\u8f93\u9700\u6c42\u5e76\u786e\u4fdd\u6570\u636e\u5b89\u5168\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e00\u3001 \u7269\u8054\u7f51\u4e2d\u4ee5\u592a\u7f51\u4e0e\u5176\u4ed6\u6709\u7ebf\u4f20\u8f93\u6280\u672f(\u5982\u4e32\u884c\u901a\u4fe1\u548cUSB)\u7684\u6027\u80fd\u6bd4\u8f83\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n

\u3000\u3000\u5728\u7269\u8054\u7f51\u4e2d\uff0c\u4ee5\u592a\u7f51\u4e0e\u5176\u4ed6\u6709\u7ebf\u4f20\u8f93\u6280\u672f(\u5982\u4e32\u884c\u901a\u4fe1\u548cUSB)\u7684\u6027\u80fd\u6bd4\u8f83\u4e3b\u8981\u4f53\u73b0\u5728\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n

\u3000\u30001. \u4f20\u8f93\u901f\u7387<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u4ee5\u592a\u7f51\u7684\u4f20\u8f93\u901f\u7387\u8f83\u9ad8\uff0c\u901a\u5e38\u572810Mbps\u81f310Gbps\u4e4b\u95f4\uff0c\u751a\u81f3\u66f4\u9ad8\u3002\u4f8b\u5982\uff0c\u5343\u5146\u4ee5\u592a\u7f51\u7684\u901f\u5ea6\u662fUSB 2.0\u7684\u4e24\u500d\u591a\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e32\u884c\u901a\u4fe1<\/strong>\uff1a\u4e32\u884c\u901a\u4fe1\u7684\u4f20\u8f93\u901f\u7387\u76f8\u5bf9\u8f83\u4f4e\uff0c\u901a\u5e38\u5728\u51e0\u5341kbps\u5230\u51e0Mbps\u4e4b\u95f4\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1aUSB\u7684\u901f\u5ea6\u8303\u56f4\u4e3a1.5 Mbps\u81f310 Gbps\uff0c\u5177\u4f53\u53d6\u51b3\u4e8eUSB\u7248\u672c\u3002<\/p>\n\n\n\n

\u3000\u30002. \u8fde\u63a5\u65b9\u5f0f\u548c\u62d3\u6251\u7ed3\u6784<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u4ee5\u592a\u7f51\u652f\u6301\u591a\u79cd\u62d3\u6251\u7ed3\u6784\uff0c\u5982\u661f\u578b\u3001\u603b\u7ebf\u578b\u548c\u73af\u578b\u7b49\uff0c\u9002\u7528\u4e8e\u5927\u89c4\u6a21\u7f51\u7edc\u8fde\u63a5\u3002\u5b83\u4f7f\u7528\u53cc\u7ede\u7ebf\u6216\u5149\u7ea4\u4f5c\u4e3a\u4f20\u8f93\u4ecb\u8d28\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e32\u884c\u901a\u4fe1<\/strong>\uff1a\u4e32\u884c\u901a\u4fe1\u901a\u5e38\u91c7\u7528\u70b9\u5bf9\u70b9\u6216\u591a\u70b9\u8fde\u63a5\u65b9\u5f0f\uff0c\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1aUSB\u901a\u5e38\u91c7\u7528\u70b9\u5bf9\u70b9\u8fde\u63a5\u65b9\u5f0f\uff0c\u9002\u7528\u4e8e\u8fde\u63a5\u5916\u56f4\u8bbe\u5907\u5230\u8ba1\u7b97\u673a\u3002<\/p>\n\n\n\n

\u3000\u30003. \u4f20\u8f93\u8ddd\u79bb<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u4ee5\u592a\u7f51\u7684\u4f20\u8f93\u8ddd\u79bb\u8f83\u957f\uff0c\u53ef\u8fbe\u6570\u5341\u516c\u91cc\uff0c\u5728\u5c40\u57df\u7f51(LAN)\u4e2d\u5e38\u89c1\uff0c\u8986\u76d6\u8303\u56f4\u53ef\u8fbe200\u7c73\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e32\u884c\u901a\u4fe1<\/strong>\uff1a\u4e32\u884c\u901a\u4fe1\u7684\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\uff0c\u901a\u5e38\u5728\u51e0\u5341\u7c73\u5230\u51e0\u767e\u7c73\u4e4b\u95f4\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1aUSB\u7684\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\uff0c\u901a\u5e38\u9650\u5236\u57285\u7c73\u4ee5\u5185\u3002<\/p>\n\n\n\n

\u3000\u30004. \u5e94\u7528\u573a\u666f<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u548c\u7a33\u5b9a\u8fde\u63a5\u7684\u5e94\u7528\u573a\u666f\uff0c\u5982\u4f01\u4e1a\u7f51\u7edc\u3001\u5bb6\u5ead\u7f51\u7edc\u548c\u5927\u89c4\u6a21\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e32\u884c\u901a\u4fe1<\/strong>\uff1a\u9002\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u3001\u4f20\u611f\u5668\u7f51\u7edc\u548c\u81ea\u52a8\u5316\u63a7\u5236\u7b49\u7279\u5b9a\u9886\u57df\u7684\u901a\u4fe1\u9700\u6c42\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1a\u5e7f\u6cdb\u7528\u4e8e\u8fde\u63a5\u952e\u76d8\u3001\u9f20\u6807\u3001\u6253\u5370\u673a\u548c\u5916\u90e8\u5b58\u50a8\u8bbe\u5907\u7b49\u5916\u56f4\u8bbe\u5907\u3002<\/p>\n\n\n\n

\u3000\u30005. \u7535\u6e90\u4f9b\u5e94<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u4e0d\u652f\u6301\u7535\u529b\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1a\u652f\u6301\u7535\u529b\u548c\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u4e3a\u8bbe\u5907\u4f9b\u7535\u3002<\/p>\n\n\n\n

\u3000\u30006. \u517c\u5bb9\u6027\u548c\u6613\u7528\u6027<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4ee5\u592a\u7f51<\/strong>\uff1a\u9700\u8981\u826f\u597d\u7684\u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u8bbe\u7f6e\uff0c\u4e0d\u5982USB\u4fbf\u643a\u3002<\/p>\n\n\n\n

\u3000\u3000USB<\/strong>\uff1a\u5177\u6709\u5373\u63d2\u5373\u7528\u529f\u80fd\uff0c\u6613\u4e8e\u4f7f\u7528\u548c\u5e7f\u6cdb\u517c\u5bb9\u3002<\/p>\n\n\n\n

\u3000\u3000\u603b\u7ed3\u6765\u8bf4\uff0c\u4ee5\u592a\u7f51\u5728\u4f20\u8f93\u901f\u7387\u3001\u8fde\u63a5\u65b9\u5f0f\u548c\u4f20\u8f93\u8ddd\u79bb\u4e0a\u5747\u4f18\u4e8e\u4e32\u884c\u901a\u4fe1\u548cUSB\uff0c\u4f46\u9700\u8981\u66f4\u590d\u6742\u7684\u7f51\u7edc\u57fa\u7840\u8bbe\u65bd\u3002USB\u5219\u5728\u6613\u7528\u6027\u548c\u4fbf\u643a\u6027\u65b9\u9762\u6709\u4f18\u52bf\uff0c\u9002\u5408\u8fde\u63a5\u5916\u56f4\u8bbe\u5907\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e8c\u3001 LoRaWAN\u548cNB-IoT\u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u7684\u5177\u4f53\u4f18\u52bf\u548c\u5c40\u9650\u6027\u5206\u522b\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n

\u3000\u3000LoRaWAN\u548cNB-IoT\u4f5c\u4e3a\u7269\u8054\u7f51(IoT)\u4e2d\u7684\u4f4e\u529f\u8017\u5e7f\u57df\u7f51(LPWAN)\u6280\u672f\uff0c\u5404\u81ea\u5177\u6709\u72ec\u7279\u7684\u4f18\u52bf\u548c\u5c40\u9650\u6027\u3002<\/p>\n\n\n\n

\u3000\u30001. LoRaWAN\u7684\u4f18\u52bf\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u8fdc\u7a0b\u8986\u76d6<\/strong>\uff1aLoRaWAN\u5229\u7528Sub-GHz\u9891\u6bb5\uff0c\u80fd\u591f\u5728\u957f\u8ddd\u79bb\u5185\u4f20\u8f93\u6570\u636e\uff0c\u901a\u5e38\u53ef\u8fbe1-20\u516c\u91cc\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f4e\u529f\u8017<\/strong>\uff1aLoRaWAN\u8bbe\u5907\u7684\u7535\u6c60\u5bff\u547d\u53ef\u4ee5\u8fbe\u52303-10\u5e74\uff0c\u975e\u5e38\u9002\u5408\u9700\u8981\u957f\u671f\u8fd0\u884c\u4e14\u4e0d\u4fbf\u4e8e\u9891\u7e41\u66f4\u6362\u7535\u6c60\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n

\u3000\u3000\u6297\u5e72\u6270\u80fd\u529b\u5f3a<\/strong>\uff1aLoRaWAN\u5728\u519b\u4e8b\u548c\u822a\u5929\u901a\u4fe1\u9886\u57df\u5df2\u6709\u591a\u5e74\u5e94\u7528\uff0c\u5176\u6297\u5e72\u6270\u80fd\u529b\u8f83\u5f3a\u3002<\/p>\n\n\n\n

\u3000\u3000\u5f00\u653e\u6807\u51c6<\/strong>\uff1aLoRaWAN\u7531LoRa\u8054\u76df\u652f\u6301\uff0c\u662f\u4e00\u4e2a\u5f00\u653e\u7684\u975e\u8425\u5229\u534f\u4f1a\uff0c\u63a8\u52a8\u534f\u8bae\u7684\u6210\u529f\u3002<\/p>\n\n\n\n

\u3000\u3000\u7075\u6d3b\u6027\u9ad8<\/strong>\uff1aLoRaWAN\u7f51\u7edc\u53ef\u4ee5\u5b89\u88c5\u5728\u516c\u5171\u3001\u79c1\u4eba\u6216\u6df7\u5408\u7f51\u7edc\u4e2d\uff0c\u4fe1\u53f7\u8986\u76d6\u8303\u56f4\u5e7f\u3002<\/p>\n\n\n\n

\u3000\u30002. LoRaWAN\u7684\u5c40\u9650\u6027\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u6570\u636e\u901f\u7387\u8f83\u4f4e<\/strong>\uff1aLoRaWAN\u7684\u6570\u636e\u901f\u7387\u8303\u56f4\u4e3a0.3~50kbps\uff0c\u4e0d\u9002\u5408\u9700\u8981\u9ad8\u6570\u636e\u4f20\u8f93\u901f\u7387\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f9d\u8d56\u672a\u6388\u6743\u9891\u8c31<\/strong>\uff1aLoRaWAN\u9700\u8981\u4f01\u4e1a\u81ea\u5efa\u7f51\u7edc\uff0c\u4e14\u5728\u67d0\u4e9b\u5730\u533a\u53ef\u80fd\u9762\u4e34\u9891\u8c31\u4f7f\u7528\u9650\u5236\u3002<\/p>\n\n\n\n

\u3000\u3000\u90e8\u7f72\u6210\u672c\u8f83\u9ad8<\/strong>\uff1a\u867d\u7136\u7ec8\u7aef\u89c4\u6a21\u8d8a\u5927\uff0c\u5e73\u5747\u6bcf\u4e2a\u7ec8\u7aef\u8fde\u63a5\u6210\u672c\u8d8a\u4f4e\uff0c\u4f46\u521d\u671f\u90e8\u7f72\u4ecd\u9700\u627f\u62c5\u4e00\u5b9a\u6210\u672c\u3002<\/p>\n\n\n\n

\u3000\u30003. NB-IoT\u7684\u4f18\u52bf\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u5e7f\u8986\u76d6<\/strong>\uff1aNB-IoT\u57fa\u4e8e\u8702\u7a9d\u7f51\u7edc\uff0c\u80fd\u591f\u63d0\u4f9b\u5e7f\u6cdb\u7684\u8986\u76d6\u8303\u56f4\uff0c\u5c24\u5176\u9002\u5408\u57ce\u5e02\u548c\u90ca\u533a\u7684IoT\u5e94\u7528\u3002<\/p>\n\n\n\n

\u3000\u3000\u6d77\u91cf\u8fde\u63a5<\/strong>\uff1aNB-IoT\u652f\u6301\u5927\u91cf\u8bbe\u5907\u8fde\u63a5\uff0c\u9002\u5408\u9700\u8981\u8fde\u63a5\u5927\u91cf\u4f20\u611f\u5668\u7684\u573a\u666f\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f4e\u529f\u8017<\/strong>\uff1aNB-IoT\u8bbe\u5907\u540c\u6837\u5177\u6709\u4f4e\u529f\u8017\u7279\u6027\uff0c\u9002\u5408\u957f\u671f\u8fd0\u884c\u3002<\/p>\n\n\n\n

\u3000\u3000\u6570\u636e\u901f\u7387\u8f83\u9ad8<\/strong>\uff1aNB-IoT\u7684\u6570\u636e\u901f\u7387\u8f83\u9ad8\uff0c\u9002\u5408\u9700\u8981\u4e00\u5b9a\u6570\u636e\u4f20\u8f93\u901f\u7387\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b89\u5168\u6027\u9ad8<\/strong>\uff1aNB-IoT\u5229\u7528\u8702\u7a9d\u7f51\u7edc\u7684\u5b89\u5168\u673a\u5236\uff0c\u63d0\u4f9b\u8f83\u9ad8\u7684\u6570\u636e\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n

\u3000\u30004. NB-IoT\u7684\u5c40\u9650\u6027\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u4f9d\u8d56\u6388\u6743\u9891\u8c31<\/strong>\uff1aNB-IoT\u9700\u8981\u4f7f\u7528\u6388\u6743\u9891\u8c31\uff0c\u4f9d\u8d56\u7535\u4fe1\u8fd0\u8425\u5546\u7684\u7f51\u7edc\u8986\u76d6\uff0c\u8fd9\u5728\u504f\u8fdc\u5730\u533a\u53ef\u80fd\u65e0\u6cd5\u5b9e\u73b0\u6210\u529f\u63a5\u5165\u3002<\/p>\n\n\n\n

\u3000\u3000\u90e8\u7f72\u6210\u672c\u8f83\u9ad8<\/strong>\uff1a\u867d\u7136NB-IoT\u6a21\u5757\u4ef7\u683c\u8f83\u4f4e\uff0c\u4f46\u540e\u7eed\u8fd0\u8425\u6210\u672c\u8f83\u9ad8\uff0c\u4e14\u9700\u8981\u4f9d\u8d56\u8fd0\u8425\u5546\u7684\u57fa\u7840\u8bbe\u65bd\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e0d\u9002\u7528\u4e8e\u5b9e\u65f6\u901a\u4fe1<\/strong>\uff1aNB-IoT\u7684\u6570\u636e\u901f\u7387\u867d\u7136\u8f83\u9ad8\uff0c\u4f46\u4ecd\u7136\u4e0d\u9002\u5408\u9700\u8981\u5b9e\u65f6\u901a\u4fe1\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n

\u3000\u3000LoRaWAN\u548cNB-IoT\u5404\u6709\u4f18\u52bf\u548c\u5c40\u9650\u6027\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002LoRaWAN\u66f4\u9002\u5408\u8fdc\u7a0b\u3001\u4f4e\u529f\u8017\u548c\u6297\u5e72\u6270\u8981\u6c42\u9ad8\u7684\u5e94\u7528\uff0c\u5982\u519c\u4e1a\u76d1\u6d4b\u3001\u73af\u5883\u76d1\u6d4b\u7b49;\u800cNB-IoT\u5219\u66f4\u9002\u5408\u57ce\u5e02\u548c\u90ca\u533a\u7684\u5927\u91cf\u8bbe\u5907\u8fde\u63a5\u548c\u6570\u636e\u4f20\u8f93\u901f\u7387\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\uff0c\u5982\u667a\u80fd\u6c34\u8868\u3001\u667a\u80fd\u505c\u8f66\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e09\u3001 \u8702\u7a9d\u7f51\u7edc(2G\/3G\/4G\/5G)\u5728\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u4e2d\u7684\u6700\u65b0\u8fdb\u5c55\u548c\u6311\u6218\u6709\u54ea\u4e9b?<\/h2>\n\n\n\n

\u3000\u3000\u8702\u7a9d\u7f51\u7edc(2G\/3G\/4G\/5G)\u5728\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u4e2d\u7684\u6700\u65b0\u8fdb\u5c55\u548c\u6311\u6218\u4e3b\u8981\u4f53\u73b0\u5728\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n

\u3000\u30001. \u6700\u65b0\u8fdb\u5c55<\/h3>\n\n\n\n

\u3000\u30005G\u6280\u672f\u7684\u5f15\u5165<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u30005G\u6280\u672f\u4e3a\u8702\u7a9d\u7269\u8054\u7f51\u5e26\u6765\u4e86\u9769\u547d\u6027\u7684\u53d8\u5316\uff0c\u63d0\u4f9b\u4e86\u8d85\u9ad8\u901f\u7387\u3001\u8d85\u5927\u8fde\u63a5\u6570\u548c\u8d85\u4f4e\u65f6\u5ef6\u7b49\u7279\u6027\uff0c\u80fd\u591f\u6ee1\u8db3\u7269\u8054\u7f51\u8bbe\u5907\u5bf9\u6570\u636e\u4f20\u8f93\u901f\u7387\u3001\u8fde\u63a5\u5bc6\u5ea6\u548c\u65f6\u5ef6\u7684\u66f4\u9ad8\u8981\u6c42\u3002\u4f8b\u5982\uff0c5G RedCap\u6280\u672f(Reduced Capability)\u4f5c\u4e3a5G\u6807\u51c6\u7684\u201c\u8f7b\u91cf\u7ea7\u201d\u7248\u672c\uff0c\u80fd\u591f\u5728\u964d\u4f4e\u8bbe\u5907\u590d\u6742\u5ea6\u548c\u6210\u672c\u7684\u540c\u65f6\uff0c\u63d0\u4f9b\u6bd4LTE Cat.4\u66f4\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u66f4\u4f4e\u7684\u5ef6\u8fdf\uff0c\u5e76\u652f\u6301\u7f51\u7edc\u5207\u7247\u548c\u8fb9\u7f18\u8ba1\u7b97\u7b49\u5173\u952e\u7279\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f4e\u529f\u8017\u8702\u7a9d\u6280\u672f\u7684\u53d1\u5c55<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u9488\u5bf9\u7269\u8054\u7f51\u5e94\u7528\u7684\u7279\u5b9a\u9700\u6c42\uff0c\u5982\u4f4e\u529f\u8017\u3001\u4f4e\u6210\u672c\u548c\u4e2d\u7b49\u901f\u7387\uff0cNB-IoT\u548cLTE-M\u7b49\u65b0\u6280\u672f\u5e94\u8fd0\u800c\u751f\u3002\u8fd9\u4e9b\u6280\u672f\u4e13\u95e8\u9488\u5bf9\u7269\u8054\u7f51\u5e94\u7528\uff0c\u63d0\u4f9b\u4f4e\u6210\u672c\u3001\u4f4e\u5e26\u5bbd\u548c\u4f4e\u529f\u8017\u7684\u8fde\u63a5\u3002\u4f8b\u5982\uff0cNB-IoT\u548cLTE-M\u5206\u522b\u9488\u5bf9\u673a\u5668\u95f4\u901a\u4fe1\u548c\u63d0\u4f9b\u66f4\u9ad8\u5e26\u5bbd\u548c\u66f4\u4f4e\u5ef6\u8fdf\u3002<\/p>\n\n\n\n

\u3000\u3000\u8fb9\u7f18\u8ba1\u7b97\u548c\u4eba\u5de5\u667a\u80fd\u7684\u5e94\u7528<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u8fb9\u7f18\u8ba1\u7b97\u548c\u4eba\u5de5\u667a\u80fd\u7684\u53d1\u5c55\u8fdb\u4e00\u6b65\u63a8\u52a8\u7269\u8054\u7f51\u8702\u7a9d\u901a\u4fe1\u6a21\u7ec4\u7684\u9700\u6c42\uff0c\u4f7f\u5f97\u5236\u9020\u4f01\u4e1a\u80fd\u591f\u66f4\u597d\u5730\u5e94\u5bf9\u5e02\u573a\u8d8b\u52bf\uff0c\u4e86\u89e3\u6d88\u8d39\u8005\u5bf9\u6280\u672f\u7684\u9700\u6c42\uff0c\u5e76\u4e0e\u5408\u9002\u7684\u5408\u4f5c\u4f19\u4f34\u5efa\u7acb\u8054\u7cfb\u3002<\/p>\n\n\n\n

\u3000\u3000\u5e7f\u6cdb\u7684\u5e94\u7528\u573a\u666f<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u30005G\u6280\u672f\u7684\u5e94\u7528\u573a\u666f\u5305\u62ec\u81ea\u52a8\u9a7e\u9a76\u3001\u8fdc\u7a0b\u533b\u7597\u3001\u667a\u80fd\u5236\u9020\u3001\u667a\u6167\u57ce\u5e02\u3001\u8f66\u8054\u7f51\u3001\u667a\u6167\u80fd\u6e90\u3001\u65e0\u7ebf\u533b\u7597\u3001\u65e0\u7ebf\u5bb6\u5ead\u5a31\u4e50\u3001\u8054\u7f51\u65e0\u4eba\u673a\u3001\u8d85\u9ad8\u6e05\/\u5168\u666f\u76f4\u64ad\u548c\u4e2a\u4ebaAI\u8f85\u52a9\u8bbe\u5907\u7b49\u3002\u8fd9\u4e9b\u5e94\u7528\u5c06\u5f7b\u5e95\u6539\u53d8\u6211\u4eec\u7684\u751f\u6d3b\u65b9\u5f0f\u3002<\/p>\n\n\n\n

\u3000\u30002. \u6311\u6218<\/h3>\n\n\n\n

\u3000\u3000\u529f\u8017\u548c\u6210\u672c\u95ee\u9898<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u5c3d\u7ba1\u65b0\u7684\u8702\u7a9d\u6280\u672f\u5982NB-IoT\u548cLTE-M\u63d0\u4f9b\u4e86\u4f4e\u529f\u8017\u548c\u4f4e\u6210\u672c\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f46\u4f20\u7edf\u8702\u7a9d\u8fde\u63a5\u5728\u529f\u8017\u65b9\u9762\u4ecd\u5b58\u5728\u6311\u6218\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u957f\u671f\u4f9b\u7535\u7684\u7269\u8054\u7f51\u8bbe\u5907\u4e2d\u3002<\/p>\n\n\n\n

\u3000\u3000\u90e8\u7f72\u548c\u8fd0\u7ef4\u590d\u6742\u6027<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u8702\u7a9d\u7269\u8054\u7f51\u9700\u8981\u5e94\u5bf9\u6765\u81ea\u4e1a\u52a1\u65b9\u9762\u7684\u6311\u6218\uff0c\u4f8b\u5982\u9700\u8981\u66f4\u7b80\u5355\u7684\u90e8\u7f72\uff0c\u964d\u4f4e\u5bf9SIM\u5361\u5b89\u88c5\u7684\u5f71\u54cd\uff0c\u66f4\u7b80\u5355\u7684\u8bbe\u5907\u8fd0\u7ef4\u4ee5\u53ca\u964d\u4f4e\u8fd0\u7ef4\u8d39\u7528\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000\u4fe1\u606f\u788e\u7247\u5316\u95ee\u9898<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u7269\u8054\u7f51\u7684\u5e94\u7528\u9886\u57df\u65e5\u76ca\u589e\u591a\uff0c\u4f46\u4fe1\u606f\u788e\u7247\u5316\u95ee\u9898\u4ecd\u7136\u5b58\u5728\uff0c\u5982\u4f55\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u4ecd\u7136\u662f\u4e00\u4e2a\u5f85\u89e3\u51b3\u7684\u6311\u6218\u3002<\/p>\n\n\n\n

\u3000\u3000\u517c\u5bb9\u6027\u548c\u6807\u51c6\u5316<\/strong>\uff1a<\/p>\n\n\n\n

\u3000\u3000\u4e0d\u540c\u901a\u4fe1\u6280\u672f\u5e76\u4e0d\u4e00\u5b9a\u76f8\u4e92\u6392\u65a5\uff0c\u4f46\u6bcf\u79cd\u6280\u672f\u90fd\u6709\u5176\u7279\u5b9a\u9700\u6c42\uff0c\u6ca1\u6709\u4e00\u79cd\u6280\u672f\u80fd\u5b8c\u5168\u6ee1\u8db3\u6240\u6709\u7269\u8054\u7f51\u8bbe\u5907\u7684\u9700\u6c42\u3002\u56e0\u6b64\uff0c\u9009\u62e9\u6700\u9002\u5408\u7279\u5b9a\u7528\u4f8b\u7684\u8702\u7a9d\u7f51\u7edc\u6807\u51c6\u4ee5\u53ca\u591a\u6a21\u517c\u5bb9\u6027\u5982\u4f55\u786e\u4fdd\u672a\u6765\u7684\u53ef\u9760\u6027\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u6311\u6218\u3002<\/p>\n\n\n\n

\u3000\u3000\u56db\u3001 \u7269\u8054\u7f51\u5e73\u53f0\u901a\u4fe1\u65b9\u5f0f\u4e2dAMQP\u548cKAFKA SDK\u7684\u4f18\u7f3a\u70b9\u53ca\u9002\u7528\u573a\u666f\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n

\u3000\u3000AMQP(\u9ad8\u7ea7\u6d88\u606f\u961f\u5217\u534f\u8bae)\u548cKafka\u662f\u7269\u8054\u7f51\u5e73\u53f0\u4e2d\u5e38\u7528\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u5b83\u4eec\u5404\u81ea\u5177\u6709\u4e0d\u540c\u7684\u4f18\u7f3a\u70b9\u53ca\u9002\u7528\u573a\u666f\u3002<\/p>\n\n\n\n

\u3000\u30001. AMQP<\/h3>\n\n\n\n

\u3000\u3000\u4f18\u70b9\uff1a<\/strong><\/p>\n\n\n\n

\u3000\u3000\u9ad8\u53ef\u9760\u6027<\/strong>\uff1aAMQP\u901a\u8fc7\u6d88\u606f\u786e\u8ba4\u3001\u6301\u4e45\u5316\u5b58\u50a8\u7b49\u673a\u5236\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u53ef\u9760\u4f20\u8f93\u3002<\/p>\n\n\n\n

\u3000\u3000\u7075\u6d3b\u6027<\/strong>\uff1a\u652f\u6301\u591a\u79cd\u6d88\u606f\u6a21\u5f0f(\u5982\u53d1\u5e03\/\u8ba2\u9605\u3001\u8bf7\u6c42\/\u54cd\u5e94)\uff0c\u5e76\u63d0\u4f9b\u7075\u6d3b\u7684\u6d88\u606f\u8def\u7531\u65b9\u5f0f\uff0c\u5305\u62ec\u70b9\u5bf9\u70b9\u3001\u53d1\u5e03-\u8ba2\u9605\u548c\u6247\u51fa\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b89\u5168\u6027<\/strong>\uff1a\u652f\u6301TLS\u548cSASL\u7b49\u52a0\u5bc6\u548c\u8ba4\u8bc1\u5b89\u5168\u673a\u5236\u3002<\/p>\n\n\n\n

\u3000\u3000\u6210\u719f\u7684\u751f\u6001\u7cfb\u7edf<\/strong>\uff1a\u62e5\u6709\u4e30\u5bcc\u800c\u6210\u719f\u7684\u5f00\u6e90\u670d\u52a1\u5668\u5b9e\u73b0\u548c\u5ba2\u6237\u7aef\u5e93\uff0c\u8986\u76d6\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n\n\n\n

\u3000\u3000\u7f3a\u70b9\uff1a<\/strong><\/p>\n\n\n\n

\u3000\u3000\u590d\u6742\u6027<\/strong>\uff1aAMQP\u7684\u6a21\u578b\u6d89\u53ca\u8bb8\u591a\u6982\u5ff5\uff0c\u53ef\u80fd\u4e0d\u6613\u7406\u89e3\u3001\u914d\u7f6e\u548c\u7ba1\u7406\u3002<\/p>\n\n\n\n

\u3000\u3000\u91cd\u91cf\u7ea7<\/strong>\uff1a\u5728\u4f20\u8f93\u5c42\u901a\u8fc7\u201c\u4fe1\u9053\u201d\u5b9e\u73b0\u591a\u8def\u590d\u7528\uff0c\u6bcf\u4e2aAMQP\u5e27\u90fd\u67098\u5b57\u8282\u7684\u5934\u90e8\u5f00\u9500\u3002<\/p>\n\n\n\n

\u3000\u3000\u5411\u540e\u517c\u5bb9\u6027\u5dee<\/strong>\uff1a0.9.1\u7248\u672c\u548c1.0\u7248\u672c\u5b8c\u5168\u4e0d\u517c\u5bb9\uff0c\u589e\u52a0\u4e86\u89e3\u51b3\u65b9\u6848\u7684\u590d\u6742\u5ea6\u3002<\/p>\n\n\n\n

\u3000\u3000\u6027\u80fd\u53d7\u9650<\/strong>\uff1a\u5728\u67d0\u4e9b\u573a\u666f\u4e2d\u53ef\u80fd\u53d7\u5230\u53ef\u6269\u5c55\u6027\u548c\u6027\u80fd\u7684\u9650\u5236\u3002<\/p>\n\n\n\n

\u3000\u3000\u9002\u7528\u573a\u666f\uff1a<\/strong><\/p>\n\n\n\n

\u3000\u3000AMQP\u9002\u7528\u4e8e\u9700\u8981\u9ad8\u53ef\u9760\u6027\u548c\u590d\u6742\u529f\u80fd\u7684\u7cfb\u7edf\uff0c\u5982\u94f6\u884c\u7cfb\u7edf\u3001\u4f01\u4e1a\u6d88\u606f\u4f20\u9012\u548c\u5de5\u4e1a\u81ea\u52a8\u5316\u3002\u5b83\u7279\u522b\u9002\u5408\u4e8e\u9700\u8981\u4e25\u683c\u6d88\u606f\u6392\u5e8f\u548c\u590d\u6742\u8def\u7531\u7684\u73af\u5883\u3002<\/p>\n\n\n\n

\u3000\u30002. Kafka<\/h3>\n\n\n\n

\u3000\u3000\u4f18\u70b9\uff1a<\/strong><\/p>\n\n\n\n

\u3000\u3000\u9ad8\u541e\u5410\u91cf<\/strong>\uff1aKafka\u8bbe\u8ba1\u7528\u4e8e\u9ad8\u541e\u5410\u91cf\u7684\u6d41\u5f0f\u5904\u7406\uff0c\u9002\u7528\u4e8e\u6570\u636e\u7ba1\u9053\u548c\u6d41\u5f0f\u5904\u7406\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n

\u3000\u3000\u4f4e\u5ef6\u8fdf<\/strong>\uff1aKafka\u65e8\u5728\u63d0\u4f9b\u4f4e\u5ef6\u8fdf\u7684\u6d88\u606f\u4f20\u9012\uff0c\u786e\u4fdd\u6d88\u606f\u987a\u5e8f\u548c\u65f6\u95f4\u6233\u3002<\/p>\n\n\n\n

\u3000\u3000\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf<\/strong>\uff1aKafka\u62e5\u6709\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf\uff0c\u5305\u62ec\u6d41\u5904\u7406\u3001\u6570\u636e\u6e56\u3001\u6d88\u606f\u961f\u5217\u7b49\u591a\u4e2a\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n

\u3000\u3000\u7f3a\u70b9\uff1a<\/strong><\/p>\n\n\n\n

\u3000\u3000\u590d\u6742\u6027<\/strong>\uff1aKafka\u7684\u5b89\u88c5\u548c\u914d\u7f6e\u8f83\u4e3a\u590d\u6742\uff0c\u9700\u8981\u6df1\u5165\u7406\u89e3\u591a\u4e2a\u751f\u4ea7\u8005\u3001\u6d88\u8d39\u8005\u548c\u8fde\u63a5\u5668\u7684\u5b89\u88c5\u548c\u914d\u7f6e\u3002<\/p>\n\n\n\n

\u3000\u3000\u79c1\u6709\u6027<\/strong>\uff1aKafka broker\u5f88\u96be\u5bf9\u5916\u66b4\u9732\uff0c\u76f8\u8f83\u4e8eAMQP\u8fd9\u79cd\u6807\u51c6\u534f\u8bae\uff0cKafka\u66f4\u504f\u5411\u4e8e\u79c1\u6709\u6d88\u606f\u4e2d\u95f4\u4ef6\u534f\u8bae\u3002<\/p>\n\n\n\n

\u3000\u3000\u9002\u7528\u573a\u666f\uff1a<\/strong><\/p>\n\n\n\n

\u3000\u3000Kafka\u9002\u7528\u4e8e\u6570\u636e\u5206\u6790\u3001\u9884\u6d4b\u6027\u7ef4\u62a4\u548c\u7528\u6237\u884c\u4e3a\u9884\u6d4b\u7b49\u573a\u666f\uff0c\u5176\u961f\u5217\u7c7b\u4f3c\u65e5\u5fd7\u7cfb\u7edf\uff0c\u786e\u4fdd\u6d88\u606f\u987a\u5e8f\u548c\u65f6\u95f4\u6233\u3002\u5b83\u7279\u522b\u9002\u5408\u4e8e\u9700\u8981\u9ad8\u541e\u5410\u91cf\u548c\u4f4e\u5ef6\u8fdf\u7684\u6570\u636e\u5904\u7406\u73af\u5883\u3002<\/p>\n\n\n\n

\u3000\u3000AMQP\u9002\u5408\u4e8e\u9700\u8981\u9ad8\u53ef\u9760\u6027\u548c\u590d\u6742\u529f\u80fd\u7684\u7cfb\u7edf\uff0c\u800cKafka\u5219\u66f4\u9002\u5408\u4e8e\u9ad8\u541e\u5410\u91cf\u548c\u4f4e\u5ef6\u8fdf\u7684\u6570\u636e\u5904\u7406\u573a\u666f\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e94\u3001 MQTT\u3001HTTP\u3001XMPP\u7b49\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u534f\u8bae\u5728\u5b89\u5168\u6027\u65b9\u9762\u7684\u6bd4\u8f83\u548c\u65b9\u6cd5<\/h2>\n\n\n\n

\u3000\u3000\u5728\u7269\u8054\u7f51(IoT)\u6570\u636e\u4f20\u8f93\u534f\u8bae\u4e2d\uff0cMQTT\u3001HTTP\u548cXMPP\u5404\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u548c\u5b89\u5168\u6027\u7279\u70b9\u3002\u4ee5\u4e0b\u662f\u5b83\u4eec\u5728\u5b89\u5168\u6027\u65b9\u9762\u7684\u6bd4\u8f83\u548c\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n\n\n\n

\u3000\u30001. MQTT<\/h3>\n\n\n\n

\u3000\u3000MQTT(\u6d88\u606f\u961f\u5217\u9065\u6d4b\u4f20\u8f93)\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6548\u7684\u534f\u8bae\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u3002\u5b83\u901a\u8fc7\u53d1\u5e03\u8ba2\u9605\u673a\u5236\u5b9e\u73b0\u8bbe\u5907\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u5177\u6709\u4ee5\u4e0b\u5b89\u5168\u7279\u6027\uff1a<\/p>\n\n\n\n

\u3000\u3000TLS\/SSL\u96c6\u6210<\/strong>\uff1aMQTT\u53ef\u4ee5\u4e0eTLS\/SSL\u7d27\u5bc6\u96c6\u6210\uff0c\u786e\u4fdd\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u7684\u52a0\u5bc6\u548c\u4fdd\u62a4\u3002<\/p>\n\n\n\n

\u3000\u3000\u591a\u79cd\u8ba4\u8bc1\u9009\u9879<\/strong>\uff1a\u5305\u62ec\u7528\u6237\u540d\/\u5bc6\u7801\u3001X.509\u8bc1\u4e66\u548cOAuth 2.0.\u8fd9\u4e9b\u8ba4\u8bc1\u673a\u5236\u6709\u52a9\u4e8e\u9a8c\u8bc1\u8bbe\u5907\u7684\u8eab\u4efd\u5e76\u9632\u6b62\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u3002<\/p>\n\n\n\n

\u3000\u3000\u6d88\u606f\u7ea7\u5b89\u5168<\/strong>\uff1aMQTT\u652f\u6301\u57fa\u4e8e\u89d2\u8272\u7684\u8bbf\u95ee\u63a7\u5236\u3001\u5165\u4fb5\u68c0\u6d4b\u548c\u65e5\u5fd7\u8bb0\u5f55\uff0c\u4ece\u800c\u63d0\u4f9b\u7ec6\u7c92\u5ea6\u7684\u5b89\u5168\u7ba1\u7406\u3002<\/p>\n\n\n\n

\u3000\u3000QoS\u7b49\u7ea7<\/strong>\uff1aMQTT\u63d0\u4f9b\u4e09\u79cd\u8d28\u91cf\u7b49\u7ea7(QoS)\uff0c\u4ee5\u786e\u4fdd\u6d88\u606f\u7684\u53ef\u9760\u4f20\u9012\uff0c\u964d\u4f4e\u5e94\u7528\u5c42\u9762\u7684\u5b9e\u73b0\u96be\u5ea6\u3002<\/p>\n\n\n\n

\u3000\u3000\u6700\u4f73\u65b9\u6cd5\uff1a<\/p>\n\n\n\n

\u3000\u3000\u4f7f\u7528TLS\/SSL\u8fdb\u884c\u52a0\u5bc6\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b9e\u65bd\u5f3a\u8eab\u4efd\u9a8c\u8bc1\u673a\u5236\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b9a\u671f\u8fdb\u884c\u6f0f\u6d1e\u626b\u63cf\u548c\u5b89\u5168\u5ba1\u67e5\u3002<\/p>\n\n\n\n

\u3000\u30002. HTTP<\/h3>\n\n\n\n

\u3000\u3000HTTP(\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae)\u662f\u4e92\u8054\u7f51\u7684\u57fa\u7840\u534f\u8bae\u4e4b\u4e00\uff0c\u9002\u7528\u4e8eWeb\u5e94\u7528\u548c\u670d\u52a1\u3002\u5c3d\u7ba1HTTP\u672c\u8eab\u4e0d\u63d0\u4f9b\u5185\u7f6e\u7684\u5b89\u5168\u673a\u5236\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7HTTPS(HTTP over SSL\/TLS)\u6765\u589e\u5f3a\u5b89\u5168\u6027\u3002\u5176\u5b89\u5168\u6027\u7279\u70b9\u5305\u62ec\uff1a<\/p>\n\n\n\n

\u3000\u3000HTTPS\u52a0\u5bc6<\/strong>\uff1a\u901a\u8fc7HTTPS\uff0cHTTP\u53ef\u4ee5\u5b9e\u73b0\u7aef\u5230\u7aef\u7684\u6570\u636e\u52a0\u5bc6\uff0c\u9632\u6b62\u7a83\u542c\u548c\u4e2d\u95f4\u4eba\u653b\u51fb\u3002<\/p>\n\n\n\n

\u3000\u3000\u8ba4\u8bc1\u673a\u5236<\/strong>\uff1aHTTP\u652f\u6301\u57fa\u672c\u8ba4\u8bc1\u3001\u6458\u8981\u8ba4\u8bc1\u3001\u4ee4\u724c\u8ba4\u8bc1\u548cOAuth 2.0.\u8fd9\u4e9b\u673a\u5236\u6709\u52a9\u4e8e\u4fdd\u62a4\u901a\u4fe1\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000\u5185\u5bb9\u5b89\u5168\u7b56\u7565\uff08CSP\uff09<\/strong> \uff1a\u901a\u8fc7CSP\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u9650\u5236\u6076\u610f\u811a\u672c\u7684\u6267\u884c\u3002<\/p>\n\n\n\n

\u3000\u3000\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n\n\n\n

\u3000\u3000\u4f7f\u7528HTTPS\u52a0\u5bc6\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b9a\u671f\u66f4\u65b0\u8f6f\u4ef6\u4ee5\u4fee\u590d\u5df2\u77e5\u6f0f\u6d1e\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b9e\u65bd\u4e25\u683c\u7684\u8f93\u5165\u68c0\u67e5\u4ee5\u9632\u6b62XSS\u548cSQL\u6ce8\u5165\u7b49\u653b\u51fb\u3002<\/p>\n\n\n\n

\u3000\u30003. XMPP<\/h3>\n\n\n\n

\u3000\u3000XMPP(\u53ef\u6269\u5c55\u6d88\u606f\u548c\u5b58\u5728\u534f\u8bae)\u662f\u4e00\u79cd\u57fa\u4e8eXML\u7684\u5373\u65f6\u6d88\u606f\u548c\u5b58\u5728\u72b6\u6001\u534f\u8bae\uff0c\u5e38\u7528\u4e8e\u5b9e\u65f6\u901a\u4fe1\u3002\u867d\u7136\u5728\u6211\u641c\u7d22\u5230\u7684\u8d44\u6599\u4e2d\u6ca1\u6709\u8be6\u7ec6\u8ba8\u8bbaXMPP\u7684\u5b89\u5168\u6027\uff0c\u4f46\u901a\u5e38XMPP\u4e5f\u652f\u6301TLS\/SSL\u52a0\u5bc6\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7SASL(\u7b80\u5355\u8eab\u4efd\u9a8c\u8bc1\u548c\u5b89\u5168\u5c42)\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002XMPP\u7684\u5b89\u5168\u6027\u7279\u70b9\u5305\u62ec\uff1a<\/p>\n\n\n\n

\u3000\u3000TLS\/SSL\u52a0\u5bc6<\/strong>\uff1aXMPP\u901a\u8fc7TLS\/SSL\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000SASL\u8ba4\u8bc1<\/strong>\uff1aXMPP\u652f\u6301\u591a\u79cdSASL\u8ba4\u8bc1\u673a\u5236\uff0c\u5982\u7528\u6237\u540d\/\u5bc6\u7801\u3001OAuth\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n\n\n\n

\u3000\u3000\u4f7f\u7528TLS\/SSL\u8fdb\u884c\u52a0\u5bc6\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b9e\u65bd\u5f3a\u8eab\u4efd\u9a8c\u8bc1\u673a\u5236\u3002<\/p>\n\n\n\n

\u3000\u3000\u5b9a\u671f\u8fdb\u884c\u5b89\u5168\u5ba1\u67e5\u548c\u6f0f\u6d1e\u626b\u63cf\u3002<\/p>\n\n\n\n

\u3000\u3000\u603b\u4f53\u800c\u8a00\uff0cMQTT\u5728\u7269\u8054\u7f51\u73af\u5883\u4e2d\u56e0\u5176\u8f7b\u91cf\u7ea7\u548c\u9ad8\u6548\u6027\u800c\u88ab\u5e7f\u6cdb\u91c7\u7528\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5b89\u5168\u7279\u6027\uff0c\u5982TLS\u96c6\u6210\u548c\u591a\u79cd\u8ba4\u8bc1\u9009\u9879\u3002HTTP\u867d\u7136\u5728Web\u5e94\u7528\u4e2d\u5e7f\u6cdb\u5e94\u7528\uff0c\u4f46\u5728\u7269\u8054\u7f51\u73af\u5883\u4e2d\u9700\u8981\u4f9d\u8d56HTTPS\u6765\u589e\u5f3a\u5b89\u5168\u6027\u3002XMPP\u5219\u9002\u7528\u4e8e\u9700\u8981\u5b9e\u65f6\u901a\u4fe1\u7684\u573a\u666f\uff0c\u5e76\u4e14\u540c\u6837\u652f\u6301TLS\/SSL\u52a0\u5bc6\u548cSASL\u8ba4\u8bc1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7269\u8054\u7f51\u7684\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\u9009\u62e9\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u3001\u8bbe\u5907\u6027\u80fd\u9700\u6c42\u548c\u7f51\u7edc\u73af\u5883\u7b49\u56e0\u7d20\u3002\u672a\u6765\u7684\u53d1\u5c55\u8d8b\u52bf\u5c06\u671d\u7740\u9ad8\u6548\u6027\u3001\u5b89\u5168\u6027\u3001\u4e92\u8054\u4e92\u901a\u548c\u4f4e\u529f\u8017\u65b9\u5411\u53d1\u5c55<\/p>\n","protected":false},"author":1,"featured_media":98952,"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":[40],"class_list":["post-99796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-wlw"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/99796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=99796"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/99796\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/98952"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=99796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=99796"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=99796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}