{"id":95956,"date":"2024-07-25T15:06:16","date_gmt":"2024-07-25T07:06:16","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=95956"},"modified":"2024-07-25T15:06:21","modified_gmt":"2024-07-25T07:06:21","slug":"zzwylxj-2","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/95956.html","title":{"rendered":"ZigBee\u7ec4\u7f51\u539f\u7406\u8be6\u89e3"},"content":{"rendered":"\n
\u3000\u3000ZigBee\u7ec4\u7f51\u539f\u7406<\/strong>\u4e3b\u8981\u6d89\u53ca\u5176\u7f51\u7edc\u67b6\u6784\u3001\u8282\u70b9\u7c7b\u578b\u548c\u7ec4\u7f51\u8fc7\u7a0b\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u89e3\u91ca\uff1a<\/p>\n\n\n\n \u3000\u3000ZigBee\u7f51\u7edc\u53ef\u4ee5\u5206\u4e3a\u4e09\u79cd\u4e3b\u8981\u7684\u62d3\u6251\u7ed3\u6784\uff1a\u661f\u5f62\u3001\u6811\u5f62\u548c\u7f51\u72b6(Mesh)\u3002<\/p>\n\n\n\n \u3000\u3000\u5728ZigBee\u7f51\u7edc\u4e2d\uff0c\u8282\u70b9\u6839\u636e\u529f\u80fd\u53ef\u4ee5\u5206\u4e3a\u4ee5\u4e0b\u4e09\u7c7b\uff1a<\/p>\n\n\n\n \u3000\u3000\u7ec4\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684ZigBee\u7f51\u7edc\u5305\u62ec\u4e24\u4e2a\u4e3b\u8981\u6b65\u9aa4\uff1a\u7f51\u7edc\u521d\u59cb\u5316\u548c\u8282\u70b9\u52a0\u5165\u7f51\u7edc\u3002<\/p>\n\n\n\n \u3000\u3000\u7f51\u7edc\u521d\u59cb\u5316<\/p>\n\n\n\n \u3000\u3000\u7f51\u7edc\u521d\u59cb\u5316\u662f\u7531\u534f\u8c03\u5668\u8282\u70b9\u53d1\u8d77\u7684\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u534f\u8c03\u5668\u4f1a\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u7f51\u7edcID\uff0c\u5e76\u5e7f\u64ad\u7f51\u7edc\u4fe1\u606f\u4ee5\u4f9b\u5176\u4ed6\u8282\u70b9\u52a0\u5165\u3002<\/p>\n\n\n\n \u3000\u3000\u8282\u70b9\u52a0\u5165\u7f51\u7edc<\/p>\n\n\n\n \u3000\u3000\u8282\u70b9\u52a0\u5165\u7f51\u7edc\u5206\u4e3a\u4e24\u79cd\u65b9\u5f0f\uff1a<\/p>\n\n\n\n \u3000\u3000ZigBee\u534f\u8bae\u6808\u57fa\u4e8eIEEE 802.15.4\u6807\u51c6\uff0c\u5206\u4e3a\u7269\u7406\u5c42(PHY)\u3001\u4ecb\u8d28\u8bbf\u95ee\u63a7\u5236\u5c42(MAC)\u3001\u7f51\u7edc\u5c42(NWK)\u548c\u5e94\u7528\u5c42(APP)\u3002<\/p>\n\n\n\n \u3000\u3000ZigBee\u7ec4\u7f51\u539f\u7406\u6db5\u76d6\u4e86\u4ece\u7f51\u7edc\u67b6\u6784\u7684\u9009\u62e9\u5230\u5177\u4f53\u8282\u70b9\u7684\u529f\u80fd\u5212\u5206\uff0c\u518d\u5230\u8be6\u7ec6\u7684\u7ec4\u7f51\u8fc7\u7a0b\u548c\u534f\u8bae\u6808\u7684\u5404\u4e2a\u5c42\u6b21\u3002<\/strong>\u8fd9\u4e9b\u7ec4\u6210\u90e8\u5206\u5171\u540c\u786e\u4fdd\u4e86ZigBee\u7f51\u7edc\u80fd\u591f\u9ad8\u6548\u3001\u7a33\u5b9a\u5730\u8fd0\u884c\uff0c\u5e76\u6ee1\u8db3\u4e0d\u540c\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000\u5728ZigBee\u7f51\u7edc\u4e2d\uff0c\u661f\u5f62\u62d3\u6251\u7ed3\u6784\u7684\u5b9e\u73b0\u4e3b\u8981\u4f9d\u8d56\u4e8e\u4e00\u4e2a\u534f\u8c03\u5668\u8282\u70b9\u548c\u591a\u4e2a\u7ec8\u7aef\u8282\u70b9\u3002\u8fd9\u79cd\u62d3\u6251\u7ed3\u6784\u7684\u7279\u70b9\u662f\u6240\u6709\u7684\u901a\u4fe1\u4fe1\u53f7\u90fd\u6c47\u96c6\u5230\u4e00\u4e2a\u5355\u4e00\u7684\u4e2d\u5fc3\u63a5\u5165\u70b9\uff0c\u5373\u534f\u8c03\u5668\u8282\u70b9\u4e0a\u3002<\/p>\n\n\n\n \u3000\u3000\u5177\u4f53\u5b9e\u73b0\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u53ef\u4ee5\u6210\u529f\u5730\u5b9e\u73b0ZigBee\u7f51\u7edc\u4e2d\u7684\u661f\u5f62\u62d3\u6251\u7ed3\u6784\u3002<\/p>\n\n\n\n \u3000\u3000\u5728ZigBee\u6811\u5f62\u62d3\u6251\u4e2d\uff0c\u786e\u4fdd\u8282\u70b9\u4e4b\u95f4\u7684\u6709\u6548\u901a\u4fe1\u548c\u6570\u636e\u4f20\u8f93\u9700\u8981\u7efc\u5408\u8003\u8651\u7f51\u7edc\u62d3\u6251\u7ed3\u6784\u3001\u901a\u4fe1\u534f\u8bae\u548c\u6570\u636e\u4f20\u8f93\u673a\u5236\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u6b65\u9aa4\u548c\u65b9\u6cd5\uff1a<\/p>\n\n\n\n \u3000\u3000ZigBee\u7f51\u7edc\u7684\u6811\u5f62\u62d3\u6251\u5305\u62ec\u4e00\u4e2a\u534f\u8c03\u5668(Coordinator)\u3001\u591a\u4e2a\u8def\u7531\u5668(Router)\u548c\u7ec8\u7aef\u8bbe\u5907(End Device)\u3002\u901a\u8fc7\u4f18\u5316\u8fd9\u4e9b\u8282\u70b9\u7684\u5206\u5e03\u548c\u8fde\u63a5\u65b9\u5f0f\uff0c\u53ef\u4ee5\u63d0\u5347\u7f51\u7edc\u7684\u6574\u4f53\u6027\u80fd\u548c\u901a\u4fe1\u6548\u7387\u3002<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528Z-Stack\u6216\u5176\u4ed6\u5f00\u6e90\u7684ZigBee\u534f\u8bae\u6808\uff0c\u914d\u7f6e\u8282\u70b9\u7684\u7f51\u7edc\u53c2\u6570\uff0c\u5982PAN ID\u3001\u4fe1\u9053\u7b49\u3002\u8fd9\u4e00\u6b65\u9aa4\u662f\u786e\u4fdd\u8282\u70b9\u4e4b\u95f4\u80fd\u591f\u6b63\u786e\u901a\u4fe1\u7684\u57fa\u7840\u3002<\/p>\n\n\n\n \u3000\u3000ZigBee\u7f51\u7edc\u652f\u6301\u76f4\u63a5\u901a\u4fe1\u3001\u591a\u8df3\u901a\u4fe1\u548c\u5e7f\u64ad\u901a\u4fe1\u3002\u6839\u636e\u5b9e\u9645\u5e94\u7528\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u53ef\u4ee5\u63d0\u9ad8\u901a\u4fe1\u7684\u53ef\u9760\u6027\u548c\u6548\u7387\u3002<\/p>\n\n\n\n \u3000\u3000ZigBee\u7684\u5a92\u8d28\u8bbf\u95ee\u63a7\u5236\u5c42(MAC\u5c42)\u91c7\u7528\u201ctalk-when-ready\u201d\u7684\u78b0\u649e\u907f\u514d\u673a\u5236\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u3002\u5f53\u6709\u6570\u636e\u4f20\u9001\u9700\u6c42\u65f6\uff0c\u8282\u70b9\u4f1a\u7acb\u5373\u5f00\u59cb\u4f20\u8f93\uff0c\u51cf\u5c11\u4e86\u7b49\u5f85\u65f6\u95f4\u3002<\/p>\n\n\n\n \u3000\u3000ZigBee\u6a21\u5757\u6709\u4e24\u79cd\u6570\u636e\u4f20\u8f93\u65b9\u6cd5\uff1a\u900f\u660e\u4f20\u8f93\u548c\u70b9\u5bf9\u70b9\u4f20\u8f93\u3002\u900f\u660e\u4f20\u8f93\u4e0d\u4f1a\u6539\u53d8\u6570\u636e\u5185\u5bb9\uff0c\u9002\u7528\u4e8e\u7b80\u5355\u7684\u4e32\u53e3\u901a\u4fe1;\u800c\u70b9\u5bf9\u70b9\u4f20\u8f93\u5219\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n \u3000\u3000ZigBee\u7f51\u72b6(Mesh)\u62d3\u6251\u7ed3\u6784\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u4e3b\u8981\u57fa\u4e8eIEEE 802.15.4\u6807\u51c6\uff0c\u5e76\u4e14\u5728\u8be5\u6807\u51c6\u7684\u57fa\u7840\u4e0a\u589e\u52a0\u4e86\u7f51\u7edc\u5c42\u534f\u8bae\u4ee5\u5b9e\u73b0Mesh\u7f51\u7edc\u529f\u80fd\u3002\u8fd9\u79cd\u62d3\u6251\u7ed3\u6784\u5141\u8bb8\u8282\u70b9\u4e4b\u95f4\u8fdb\u884c\u70b9\u5bf9\u70b9\u901a\u4fe1\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u7f51\u7edc\u7684\u53ef\u9760\u6027\u548c\u6269\u5c55\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u5728ZigBee Mesh\u7f51\u7edc\u4e2d\uff0c\u901a\u5e38\u5305\u62ec\u4e00\u4e2a\u534f\u8c03\u5668(ZigBee\u534f\u8c03\u5668)\u3001\u591a\u4e2a\u8def\u7531\u5668(Router)\u548c\u7ec8\u7aef\u8bbe\u5907(End device)\u3002\u8fd9\u4e9b\u8282\u70b9\u901a\u8fc7\u65e0\u7ebf\u65b9\u5f0f\u8fde\u63a5\u5e76\u76f8\u4e92\u534f\u4f5c\uff0c\u5f62\u6210\u4e00\u4e2a\u52a8\u6001\u7684\u3001\u81ea\u7ec4\u7ec7\u7684\u7f51\u7edc\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u6bcf\u4e2a\u8282\u70b9\u53ef\u4ee5\u4f5c\u4e3a\u6570\u636e\u4f20\u8f93\u7684\u4e2d\u7ee7\u7ad9\uff0c\u5c06\u6570\u636e\u5305\u4ece\u6e90\u8282\u70b9\u8f6c\u53d1\u5230\u76ee\u6807\u8282\u70b9\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3a\u4e86\u5b9e\u73b0\u6709\u6548\u7684\u8def\u7531\uff0cZigBee Mesh\u7f51\u7edc\u91c7\u7528\u4e86\u57fa\u4e8eAODV(Ad hoc On-demand Distance Vector)\u534f\u8bae\u7684\u53cd\u5e94\u5f0f\u8def\u7531\u673a\u5236\u3002\u5728\u8fd9\u79cd\u673a\u5236\u4e0b\uff0c\u5f53\u9700\u8981\u53d1\u9001\u6570\u636e\u65f6\uff0c\u6e90\u8282\u70b9\u4f1a\u542f\u52a8\u8def\u7531\u53d1\u73b0\u8fc7\u7a0b\uff0c\u901a\u8fc7\u5e7f\u64ad\u6d88\u606f\u6765\u5bfb\u627e\u6700\u4f73\u8def\u5f84\u3002\u6240\u6709\u8def\u7531\u8282\u70b9\u63a5\u6536\u5230\u5e7f\u64ad\u540e\uff0c\u4f1a\u8bb0\u5f55\u8df3\u6570\u548c\u4fe1\u53f7\u8d28\u91cf\u5ea6\u91cf\uff0c\u5e76\u6784\u5efa\u6700\u4f18\u8def\u5f84\u7684\u8def\u7531\u8868\u6761\u76ee\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0cZigBee Mesh\u7f51\u7edc\u8fd8\u652f\u6301\u4e00\u79cd\u79f0\u4e3a\u201cHERA\u201d(Hierarchical Routing Algorithm)\u7684\u5c42\u6b21\u5316\u8def\u7531\u65b9\u6848\u3002\u8be5\u65b9\u6848\u5229\u7528MAC\u5c42\u5173\u8054\u5173\u7cfb\u8fdb\u884c\u8def\u7531\u529f\u80fd\uff0c\u5373\u4f7f\u5728\u975e\u7236-\u5b50\u6811\u7ed3\u6784\u7684\u60c5\u51b5\u4e0b\u4e5f\u80fd\u5b9e\u73b0\u7075\u6d3b\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000\u5728ZigBee\u7f51\u7edc\u534f\u8bae\u6808\u4e2d\uff0cMAC\u5c42(\u5a92\u4f53\u8bbf\u95ee\u63a7\u5236\u5c42)\u7684\u6570\u636e\u4f20\u8f93\u89c4\u5219\u5177\u4f53\u5305\u62ec\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n\n\n\n \u3000\u3000ZigBee\u7f51\u7edc\u7684\u5b89\u5168\u673a\u5236\u8bbe\u8ba1\u65e8\u5728\u4fdd\u62a4\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u548c\u5b8c\u6574\u6027\uff0c\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff1a<\/p>\n\n\n\n ZigBee\u7ec4\u7f51\u539f\u7406\u6db5\u76d6\u4e86\u4ece\u7f51\u7edc\u67b6\u6784\u7684\u9009\u62e9\u5230\u5177\u4f53\u8282\u70b9\u7684\u529f\u80fd\u5212\u5206\uff0c\u518d\u5230\u8be6\u7ec6\u7684\u7ec4\u7f51\u8fc7\u7a0b\u548c\u534f\u8bae\u6808\u7684\u5404\u4e2a\u5c42\u6b21\u3002\u8fd9\u4e9b\u7ec4\u6210\u90e8\u5206\u5171\u540c\u786e\u4fdd\u4e86ZigBee\u7f51\u7edc\u80fd\u591f\u9ad8\u6548\u3001\u7a33\u5b9a\u5730\u8fd0\u884c<\/p>\n","protected":false},"author":1,"featured_media":93835,"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":[72],"class_list":["post-95956","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-zigbee"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/95956","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=95956"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/95956\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/93835"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=95956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=95956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=95956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 ZigBee\u7ec4\u7f51\u539f\u7406\u4ecb\u7ecd<\/h2>\n\n\n\n
\u3000\u30001. \u7f51\u7edc\u67b6\u6784<\/h3>\n\n\n\n
\n
\u3000\u30002. \u8282\u70b9\u7c7b\u578b<\/h3>\n\n\n\n
\n
\u3000\u30003. \u7ec4\u7f51\u8fc7\u7a0b<\/h3>\n\n\n\n
\n
\u3000\u30004. \u534f\u8bae\u6808<\/h3>\n\n\n\n
\n
\u3000\u30005. \u603b\u7ed3<\/h3>\n\n\n\n
\u3000\u3000\u4e8c\u3001 ZigBee\u7f51\u7edc\u4e2d\u7684\u661f\u5f62\u62d3\u6251\u7ed3\u6784\u662f\u5982\u4f55\u5b9e\u73b0\u7684?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 \u5728ZigBee\u6811\u5f62\u62d3\u6251\u4e2d\uff0c\u5982\u4f55\u786e\u4fdd\u8282\u70b9\u4e4b\u95f4\u7684\u6709\u6548\u901a\u4fe1\u548c\u6570\u636e\u4f20\u8f93?<\/h2>\n\n\n\n
\u3000\u3000\u56db\u3001 ZigBee\u7f51\u72b6(Mesh)\u62d3\u6251\u7ed3\u6784\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 ZigBee\u7f51\u7edc\u534f\u8bae\u6808\u4e2dMAC\u5c42\u7684\u6570\u636e\u4f20\u8f93\u89c4\u5219<\/h2>\n\n\n\n
\n
\u3000\u3000\u516d\u3001 ZigBee\u7f51\u7edc\u7684\u5b89\u5168\u673a\u5236\u662f\u5982\u4f55\u8bbe\u8ba1\u7684<\/h2>\n\n\n\n
\n