{"id":59651,"date":"2026-01-14T09:18:47","date_gmt":"2026-01-14T01:18:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/59651.html"},"modified":"2026-01-14T09:18:47","modified_gmt":"2026-01-14T01:18:47","slug":"java%e7%89%a9%e8%81%94%e7%bd%91%e5%b9%b3%e5%8f%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/59651.html","title":{"rendered":"JAVA\u7269\u8054\u7f51\u5e73\u53f0"},"content":{"rendered":"<h2 align=\"center\">\u7269\u8054\u7f51\u5e73\u53f0 &#8211; Thinglinks-iot<\/h2>\n<p>## &#x1f31f; \u9879\u76ee\u7b80\u4ecb<\/p>\n<p>\u4e00\u4e2a\u529f\u80fd\u5b8c\u5907\u3001\u9ad8\u53ef\u6269\u5c55\u7684\u7269\u8054\u7f51\u5e73\u53f0&#xff0c;\u63d0\u4f9b\u5b8c\u6574\u7684\u8bbe\u5907\u63a5\u5165\u3001\u7ba1\u7406\u548c\u6570\u636e\u5904\u7406\u89e3\u51b3\u65b9\u6848\u3002\u652f\u6301\u591a\u79cd\u7f51\u7edc\u534f\u8bae&#xff0c;\u5177\u5907\u5f3a\u5927\u7684\u6d88\u606f\u89e3\u6790\u548c\u5b9e\u65f6\u544a\u8b66\u80fd\u529b&#xff0c;\u5e2e\u52a9\u4f01\u4e1a\u5feb\u901f\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u3002<\/p>\n<p>\u8be5\u9879\u76ee\u73b0\u5df2\u7eb3\u5165\u82e5\u4f9d\u9879\u76ee\u62d3\u5c55\u4e2d<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011828-6966eee453cc6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6f14\u793a\u5730\u5740<\/h3>\n<h6>\u4ee3\u7801\u5730\u5740&#xff1a;https:\/\/gitee.com\/chinachentao\/thinglinks-community<\/h6>\n<h6>\u6f14\u793a\u4f7f\u7528&#xff0c;\u8bf7\u4e0d\u8981\u66b4\u529b\u6d4b\u8bd5\u548c\u4fee\u6539\u5bc6\u7801&#xff0c;\u8c22\u8c22\u3002<\/h6>\n<h6>http:\/\/47.109.145.72:28082\/<\/h6>\n<h6>\u8d26\u53f7:admin \u5bc6\u7801:admin123<\/h6>\n<h3>\u6d4b\u8bd5\u65b9\u5f0f<\/h3>\n<h4>MQTT\u65b9\u5f0f&#xff1a;<\/h4>\n<h5>1\u3001\u7ebf\u4e0a\u5df2\u7ecf\u5f00\u542f\u4e00\u4e2a\u7aef\u53e3&#xff0c;\u8fde\u63a5\u5373\u53ef<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011828-6966eee46d364.png\" alt=\"\" \/><\/p>\n<h5>2\u3001\u53d1\u9001\u4ee5\u4e0b\u6d88\u606f\u5230\u4efb\u610ftopic<\/h5>\n<p>{<br \/>\n\u201chumidity\u201d: 45.7,<br \/>\n\u201cinTemperature\u201d: 22.5,<br \/>\n\u201coutTemperature\u201d: 31,<br \/>\n\u201cvoice\u201d: 65.2,<br \/>\n\u201cwindSpeed\u201d: 13.8,<br \/>\n\u201cdeviceSn\u201d:\u201cmqtt_001\u201d<br \/>\n}<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011828-6966eee4a55aa.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>3\u3001\u67e5\u770b\u5bf9\u5e94SN\u8bbe\u5907\u6570\u636e,\u6d88\u606f\u5df2\u7ecf\u4e0a\u6765<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011829-6966eee534902.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>Websocket\u65b9\u5f0f\u4e5f\u662f\u5982\u6b64&#xff1a;<\/h4>\n<h5>1\u3001\u7ebf\u4e0a\u5df2\u7ecf\u5f00\u542f\u4e00\u4e2aws\u8fde\u63a5\u5730\u5740&#xff1a; ws:\/\/47.109.145.72:10883\/test1<\/h5>\n<h5>2\u3001\u53d1\u9001\u6d88\u606f<\/h5>\n<p>{<br \/>\n\u201chumidity\u201d: 45.7,<br \/>\n\u201cinTemperature\u201d: 22.5,<br \/>\n\u201coutTemperature\u201d: 31,<br \/>\n\u201cvoice\u201d: 65.2,<br \/>\n\u201cwindSpeed\u201d: 12.8,<br \/>\n\u201cdeviceSn\u201d:\u201cWS_DEVICE_001\u201d<br \/>\n}<\/p>\n<h5>3\u3001\u67e5\u770bWS_DEVICE_001\u8bbe\u5907\u6570\u636e<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011830-6966eee66307d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>4\u3001\u5728\u5386\u53f2\u6570\u636e\u6309\u94ae\u91cc\u9762\u80fd\u591f\u770b\u5230\u4e0a\u4e0b\u7ebf\u548c\u4e0a\u62a5\u7684\u5386\u53f2\u6570\u636e<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011831-6966eee794f57.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u5176\u4ed6\u7f51\u7edc\u7ec4\u4ef6\u4e5f\u662f\u5982\u6b64&#xff0c;\u7531\u4e8e\u7ebf\u4e0a\u73af\u5883\u8fd9\u4e24\u79cd\u534f\u8bae\u6bd4\u8f83\u65b9\u4fbf\u6d4b\u8bd5&#xff0c;\u53ea\u6dfb\u52a0\u4e86\u8fd9\u4e24\u79cd\u6570\u636e\u3002<\/h4>\n<h3>&#x1f680; \u6838\u5fc3\u7279\u6027<\/h3>\n<h4>1. \u8bbe\u5907\u5168\u751f\u547d\u5468\u671f\u7ba1\u7406<\/h4>\n<ul>\n<li>\u72b6\u6001\u76d1\u63a7 &#8211; \u5b9e\u65f6\u8bbe\u5907\u5728\u7ebf\u72b6\u6001\u8ddf\u8e2a&#xff0c;\u591a\u79cd\u5728\u79bb\u7ebf\u6a21\u5f0f<\/li>\n<li>\u6570\u636e\u6e05\u7406 &#8211; \u8bbe\u5907\u53ef\u5355\u72ec\u914d\u7f6e\u6d88\u606f\u4fdd\u5b58\u65f6\u95f4&#xff0c;\u5230\u671f\u81ea\u52a8\u5220\u9664<\/li>\n<\/ul>\n<h4>2. \u591a\u534f\u8bae\u63a5\u5165\u652f\u6301<\/h4>\n<ul>\n<li>TCP &#8211; \u7a33\u5b9a\u53ef\u9760\u7684\u957f\u8fde\u63a5\u901a\u4fe1<\/li>\n<li>MQTT &#8211; \u8f7b\u91cf\u7ea7\u7684\u53d1\u5e03\u8ba2\u9605\u6a21\u5f0f<\/li>\n<li>UDP &#8211; \u9ad8\u6548\u7684\u4f4e\u5ef6\u8fdf\u6570\u636e\u4f20\u8f93<\/li>\n<li>CoAP &#8211; \u4e13\u4e3a\u53d7\u9650\u8bbe\u5907\u8bbe\u8ba1\u7684\u534f\u8bae<\/li>\n<li>HTTP &#8211; \u6807\u51c6\u7684RESTful\u63a5\u53e3<\/li>\n<li>WebSocket &#8211; \u5b9e\u65f6\u53cc\u5411\u901a\u4fe1<\/li>\n<li>MODBUS(\u5f00\u53d1\u4e2d) &#8211; \u5de5\u4e1a\u7269\u8054\u7f51\u8bbe\u5907\u534f\u8bae<\/li>\n<\/ul>\n<h4>3. \u667a\u80fd\u6d88\u606f\u89e3\u6790<\/h4>\n<ul>\n<li>\u534f\u8bae\u9002\u914d &#8211; \u591a\u79cd\u6570\u636e\u683c\u5f0f\u89e3\u6790&#xff08;JSON\u3001\u4e8c\u8fdb\u5236\u3001\u81ea\u5b9a\u4e49&#xff09;<\/li>\n<li>\u6570\u636e\u8f6c\u6362 &#8211; \u7075\u6d3b\u7684\u6570\u636e\u683c\u5f0f\u8f6c\u6362\u548c\u5f52\u4e00\u5316<\/li>\n<li>\u89c4\u5219\u5f15\u64ce &#8211; \u53ef\u914d\u7f6e\u7684\u6570\u636e\u5904\u7406\u89c4\u5219<\/li>\n<li>\u6570\u636e\u8f6c\u53d1 &#8211; \u53ef\u914d\u7f6e\u6570\u636e\u8f6c\u53d1\u5230\u5404\u79cd\u6d88\u606f\u961f\u5217&#xff0c;HTTP\u63a5\u53e3<\/li>\n<li>\u8bbe\u5907\u8054\u52a8 &#8211; \u591a\u8bbe\u5907\u8054\u5408\u6761\u4ef6\u89e6\u53d1&#xff0c;\u591a\u8bbe\u5907\u6267\u884c\u6307\u4ee4<\/li>\n<\/ul>\n<h4>4. \u5b9e\u65f6\u544a\u8b66\u7cfb\u7edf<\/h4>\n<ul>\n<li>\u9608\u503c\u544a\u8b66 &#8211; \u53ef\u914d\u7f6e\u7684\u6570\u636e\u9608\u503c\u76d1\u63a7<\/li>\n<li>\u89c4\u5219\u5f15\u64ce &#8211; \u7075\u6d3b\u7684\u544a\u8b66\u89c4\u5219\u5b9a\u4e49<\/li>\n<li>\u8bbe\u5907\u8054\u52a8 &#8211; \u7075\u6d3b\u7684\u8bbe\u5907\u8054\u52a8\u914d\u7f6e&#xff0c;\u5982A\u8bbe\u5907\u89e6\u53d1\u544a\u8b66\u3001\u6267\u884cB\u8bbe\u5907\u6307\u4ee4<\/li>\n<li>\u591a\u901a\u9053\u901a\u77e5(\u5f00\u53d1\u4e2d) &#8211; \u90ae\u4ef6\u3001\u77ed\u4fe1\u3001Webhook\u7b49\u591a\u79cd\u901a\u77e5\u65b9\u5f0f<\/li>\n<li>\u544a\u8b66\u5206\u7ea7 &#8211; \u591a\u7ea7\u522b\u544a\u8b66\u7ba1\u7406<\/li>\n<\/ul>\n<h4>5. \u8fdc\u7a0b\u529f\u80fd\u4e0b\u53d1<\/h4>\n<ul>\n<li>\u6307\u4ee4\u7ba1\u7406 &#8211; \u7edf\u4e00\u7684\u6307\u4ee4\u4e0b\u53d1\u63a5\u53e3<\/li>\n<li>\u81ea\u52a8\u4e0b\u53d1 &#8211; \u89e6\u53d1\u544a\u8b66\u540e\u81ea\u52a8\u4e0b\u53d1\u76f8\u5e94\u6307\u4ee4<\/li>\n<li>\u5386\u53f2\u8bb0\u5f55 &#8211; \u624b\u52a8\\\\\u544a\u8b66\u89e6\u53d1\u6307\u4ee4\u6267\u884c\u8bb0\u5f55<\/li>\n<\/ul>\n<h4>6\u3001\u534f\u8bae\u5f00\u53d1<\/h4>\n<h5>\u534f\u8bae\u5305\u5728\u4ee3\u7801\u540c\u7ea7\u76ee\u5f55 protocol.zip<\/h5>\n<h6>\u5f00\u53d1\u534f\u8bae\u53ea\u9700\u8981\u5b9e\u73b0\u5bf9\u5e94\u7f51\u7edc\u534f\u8bae\u7684decode\u548cencode\u65b9\u6cd5\u5373\u53ef<\/h6>\n<p>decode\u5bf9\u5e94\u8bbe\u5907\u4e0a\u884c\u6d88\u606f\u534f\u8bae<\/p>\n<p>encode\u5bf9\u5e94\u8bbe\u5907\u6307\u4ee4\u4e0b\u53d1\u89e3\u6790<\/p>\n<h6>\u4ee5mqtt-client\u4e3a\u4f8b<\/h6>\n<p>1\u3001\u5b9e\u73b0MqttClientProtocol\u7684decode\u65b9\u6cd5&#xff0c;\u5e76\u628a\u89e3\u6790\u540e\u7684\u6d88\u606f\u7ec4\u88c5\u5230DecodeMessage\u7c7b\u5e76\u8fd4\u56de\u3002<\/p>\n<p>2\u3001\u5b9e\u73b0MqttClientProtocol\u7684encode\u65b9\u6cd5&#xff0c;\u5e76\u628a\u89e3\u6790\u540e\u7684\u6d88\u606f\u7ec4\u88c5\u5230EncodeMessage\u7c7b\u5e76\u8fd4\u56de\u3002<\/p>\n<p>3\u3001\u6253\u5305\u6210jar\u5305\u4e0a\u4f20\u5230\u5e73\u53f0&#xff0c;\u5e76\u9009\u62e9\u5bf9\u5e94\u7684\u534f\u8bae\u5206\u7c7b\u5373\u53ef\u3002<\/p>\n<h5>\u6ce8\u610f&#xff1a;\u66f4\u65b0\u6216\u8005\u65b0\u589e\u534f\u8bae\u65e0\u9700\u91cd\u542f\u9879\u76ee&#xff0c;\u4e0a\u4f20\u5373\u751f\u6548&#xff0c;\u5e73\u53f0\u542f\u52a8\u4e4b\u540e&#xff0c;\u540e\u7eed\u4efb\u4f55\u64cd\u4f5c\u90fd\u65e0\u9700\u518d\u91cd\u542f\u5e73\u53f0\u3002<\/h5>\n<p>\u4e0b\u9762\u662f\u534f\u8bae\u4e2d\u91cd\u8981\u7684\u7c7b\u622a\u56fe<\/p>\n<p>MqttClientProtocol\u63a5\u53e3&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011832-6966eee8759a1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>MqttClientDeal\u5b9e\u73b0\u7c7b&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011833-6966eee901c84.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>DecodeMessage\u89e3\u6790\u540e\u7684\u6d88\u606f\u5b9e\u4f53&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011833-6966eee94c4af.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>EncodeMessage\u89e3\u6790\u540e\u7684\u6307\u4ee4\u4e0b\u53d1\u5b9e\u4f53&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011833-6966eee963ec0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f3d7;\ufe0f \u7cfb\u7edf\u67b6\u6784<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011833-6966eee988f72.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>&#x1f6e0;\ufe0f \u5feb\u901f\u5f00\u59cb<\/h3>\n<h5>1\u3001\u9996\u9875<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011833-6966eee9f2ab7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>2\u3001\u4ea7\u54c1\u7ba1\u7406<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011835-6966eeeb63805.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>3\u3001\u544a\u8b66\u914d\u7f6e<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011836-6966eeecbd1cf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>4\u3001\u5b9e\u65f6\u6570\u636e<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011838-6966eeee0eede.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>5\u3001\u6307\u4ee4\u4e0b\u53d1<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011839-6966eeefcc83c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>6\u3001\u7269\u6a21\u578b<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011841-6966eef13daa4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>7\u3001\u544a\u8b66\u8bb0\u5f55<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011842-6966eef27fa44.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>8\u3001\u5176\u4ed6\u914d\u7f6e<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011843-6966eef3b2eba.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>9\u3001\u7f51\u7edc\u7ec4\u4ef6<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011845-6966eef510348.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>10\u3001\u7ec4\u4ef6\u8c03\u8bd5<\/h5>\n<p><img decoding=\"async\" src=\"2026-01-14dydu1ca1qur.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>11\u3001\u534f\u8bae\u7ba1\u7406<\/h5>\n<p><img decoding=\"async\" src=\"2026-01-143wnlymunlw0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>12\u3001\u89c4\u5219\u5f15\u64ce-\u6570\u636e\u8f6c\u53d1<\/h5>\n<p><img decoding=\"async\" src=\"2026-01-14qcsgdoh4ots.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>13\u3001\u89c4\u5219\u5f15\u64ce-\u8bbe\u5907\u8054\u52a8<\/h5>\n<p><img decoding=\"async\" src=\"2026-01-14eobizqwbbam.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>14\u3001\u89c4\u5219\u5f15\u64ce-\u5b9a\u65f6\u4efb\u52a1<\/h5>\n<p><img decoding=\"async\" src=\"2026-01-14wkgywk2yyrs.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>15\u3001\u8bbe\u5907\u7ba1\u7406-\u5730\u56fe\u670d\u52a1<\/h5>\n<p>!<img decoding=\"async\" src=\"2026-01-14cne0203ybnc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u73af\u5883\u8981\u6c42<\/h4>\n<h6>JDK &gt;&#061; 1.8<\/h6>\n<h6>MySQL &gt;&#061; 5.7<\/h6>\n<h6>Maven &gt;&#061; 3.0<\/h6>\n<h6>Node &gt;&#061; 12<\/h6>\n<h6>Redis &gt;&#061; 3<\/h6>\n<p>\u9879\u76ee\u5730\u5740&#xff1a;https:\/\/gitee.com\/chinachentao\/thinglinks-community<\/p>\n<h4>\u2b50 \u652f\u6301\u9879\u76ee<\/h4>\n<p>\u5982\u679c\u8fd9\u4e2a\u9879\u76ee\u5bf9\u60a8\u6709\u5e2e\u52a9&#xff0c;\u8bf7\u7ed9\u6211\u4eec\u4e00\u4e2a Star&#xff01;\u60a8\u7684\u652f\u6301\u662f\u6211\u4eec\u6301\u7eed\u66f4\u65b0\u7684\u52a8\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7269\u8054\u7f51\u5e73\u53f0 &#8211; Thinglinks-iot<br \/>\n## &#x1f31f; \u9879\u76ee\u7b80\u4ecb<br \/>\n\u4e00\u4e2a\u529f\u80fd\u5b8c\u5907\u3001\u9ad8\u53ef\u6269\u5c55\u7684\u7269\u8054\u7f51\u5e73\u53f0&#xff0c;\u63d0\u4f9b\u5b8c\u6574\u7684\u8bbe\u5907\u63a5\u5165\u3001\u7ba1\u7406\u548c\u6570\u636e\u5904\u7406\u89e3\u51b3\u65b9\u6848\u3002\u652f\u6301\u591a\u79cd\u7f51\u7edc\u534f\u8bae&#xff0c;\u5177\u5907\u5f3a\u5927\u7684\u6d88\u606f\u89e3\u6790\u548c\u5b9e\u65f6\u544a\u8b66\u80fd\u529b&#xff0c;\u5e2e\u52a9\u4f01\u4e1a\u5feb\u901f\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u3002<br \/>\n\u8be5\u9879\u76ee\u73b0\u5df2\u7eb3\u5165\u82e5\u4f9d\u9879\u76ee\u62d3\u5c55\u4e2d\u6f14\u793a\u5730\u5740<br \/>\n\u4ee3\u7801\u5730\u5740&#xff1a;https:\/\/gitee.com\/chinachentao\/thinglinks-community<br \/>\n\u6f14\u793a\u4f7f\u7528&#xff0c;\u8bf7\u4e0d<\/p>\n","protected":false},"author":2,"featured_media":59631,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,320,190,227,220],"topic":[],"class_list":["post-59651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-mqtt","tag-190","tag-227","tag-220"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JAVA\u7269\u8054\u7f51\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/59651.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JAVA\u7269\u8054\u7f51\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7269\u8054\u7f51\u5e73\u53f0 - Thinglinks-iot ## &#x1f31f; \u9879\u76ee\u7b80\u4ecb \u4e00\u4e2a\u529f\u80fd\u5b8c\u5907\u3001\u9ad8\u53ef\u6269\u5c55\u7684\u7269\u8054\u7f51\u5e73\u53f0&#xff0c;\u63d0\u4f9b\u5b8c\u6574\u7684\u8bbe\u5907\u63a5\u5165\u3001\u7ba1\u7406\u548c\u6570\u636e\u5904\u7406\u89e3\u51b3\u65b9\u6848\u3002\u652f\u6301\u591a\u79cd\u7f51\u7edc\u534f\u8bae&#xff0c;\u5177\u5907\u5f3a\u5927\u7684\u6d88\u606f\u89e3\u6790\u548c\u5b9e\u65f6\u544a\u8b66\u80fd\u529b&#xff0c;\u5e2e\u52a9\u4f01\u4e1a\u5feb\u901f\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u3002 \u8be5\u9879\u76ee\u73b0\u5df2\u7eb3\u5165\u82e5\u4f9d\u9879\u76ee\u62d3\u5c55\u4e2d\u6f14\u793a\u5730\u5740 \u4ee3\u7801\u5730\u5740&#xff1a;https:\/\/gitee.com\/chinachentao\/thinglinks-community \u6f14\u793a\u4f7f\u7528&#xff0c;\u8bf7\u4e0d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/59651.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-14T01:18:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011828-6966eee453cc6.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/59651.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/59651.html\",\"name\":\"JAVA\u7269\u8054\u7f51\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-14T01:18:47+00:00\",\"dateModified\":\"2026-01-14T01:18:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/59651.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/59651.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/59651.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JAVA\u7269\u8054\u7f51\u5e73\u53f0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JAVA\u7269\u8054\u7f51\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/59651.html","og_locale":"zh_CN","og_type":"article","og_title":"JAVA\u7269\u8054\u7f51\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7269\u8054\u7f51\u5e73\u53f0 - Thinglinks-iot ## &#x1f31f; \u9879\u76ee\u7b80\u4ecb \u4e00\u4e2a\u529f\u80fd\u5b8c\u5907\u3001\u9ad8\u53ef\u6269\u5c55\u7684\u7269\u8054\u7f51\u5e73\u53f0&#xff0c;\u63d0\u4f9b\u5b8c\u6574\u7684\u8bbe\u5907\u63a5\u5165\u3001\u7ba1\u7406\u548c\u6570\u636e\u5904\u7406\u89e3\u51b3\u65b9\u6848\u3002\u652f\u6301\u591a\u79cd\u7f51\u7edc\u534f\u8bae&#xff0c;\u5177\u5907\u5f3a\u5927\u7684\u6d88\u606f\u89e3\u6790\u548c\u5b9e\u65f6\u544a\u8b66\u80fd\u529b&#xff0c;\u5e2e\u52a9\u4f01\u4e1a\u5feb\u901f\u6784\u5efa\u7269\u8054\u7f51\u5e94\u7528\u3002 \u8be5\u9879\u76ee\u73b0\u5df2\u7eb3\u5165\u82e5\u4f9d\u9879\u76ee\u62d3\u5c55\u4e2d\u6f14\u793a\u5730\u5740 \u4ee3\u7801\u5730\u5740&#xff1a;https:\/\/gitee.com\/chinachentao\/thinglinks-community \u6f14\u793a\u4f7f\u7528&#xff0c;\u8bf7\u4e0d","og_url":"https:\/\/www.wsisp.com\/helps\/59651.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-14T01:18:47+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260114011828-6966eee453cc6.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/59651.html","url":"https:\/\/www.wsisp.com\/helps\/59651.html","name":"JAVA\u7269\u8054\u7f51\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-14T01:18:47+00:00","dateModified":"2026-01-14T01:18:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/59651.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/59651.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/59651.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"JAVA\u7269\u8054\u7f51\u5e73\u53f0"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/59651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=59651"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/59651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/59631"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=59651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=59651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=59651"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=59651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}