{"id":122262,"date":"2026-11-04T13:32:50","date_gmt":"2026-11-04T05:32:50","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/122262.html"},"modified":"2026-11-04T13:32:50","modified_gmt":"2026-11-04T05:32:50","slug":"freehil-qt6-%e4%b8%80%e6%ac%be%e5%80%bc%e5%be%97%e6%94%b6%e8%97%8f%e7%9a%84%e5%bc%80%e6%ba%90%e5%b7%a5%e4%b8%9a%e9%80%9a%e4%bf%a1%e8%b0%83%e8%af%95%e7%a5%9e%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/122262.html","title":{"rendered":"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<h2>&#x1f527; FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668<\/h2>\n<p>\u516d\u5927\u534f\u8bae\u4e00\u7ad9\u5f0f\u8c03\u8bd5 | \u8de8\u5e73\u53f0 | \u9ad8\u6027\u80fd | \u5f00\u6e90\u514d\u8d39<\/p>\n<p>\u5982\u679c\u4f60\u662f\u4e00\u540d\u5d4c\u5165\u5f0f\u5de5\u7a0b\u5e08\u3001\u7269\u8054\u7f51\u5f00\u53d1\u8005\u6216\u5de5\u4e1a\u81ea\u52a8\u5316\u4ece\u4e1a\u8005&#xff0c;\u65e5\u5e38\u5de5\u4f5c\u4e2d\u4e00\u5b9a\u7ed5\u4e0d\u5f00\u8fd9\u4e9b\u573a\u666f&#xff1a;\u4e32\u53e3\u8c03\u6a21\u5757\u3001TCP \u8c03\u7f51\u7edc\u3001HTTP \u8c03\u63a5\u53e3\u3001MQTT \u8c03\u6d88\u606f\u2026\u2026\u901a\u5e38\u4f60\u9700\u8981\u5728\u4e0d\u540c\u5de5\u5177\u4e4b\u95f4\u6765\u56de\u5207\u6362\u2014\u2014\u4e32\u53e3\u7528 SSCOM&#xff0c;\u7f51\u7edc\u7528\u7f51\u7edc\u8c03\u8bd5\u52a9\u624b&#xff0c;HTTP \u7528 Postman&#xff0c;MQTT &#xff08;\u5f85\u5f00\u53d1&#xff09;\u7528 MQTTX\u3002\u5de5\u5177\u591a\u3001\u5207\u6362\u7d2f\u3001\u6548\u7387\u4f4e\u3002<\/p>\n<p>FreeHIL Qt6 \u5c31\u662f\u4e3a\u89e3\u51b3\u8fd9\u4e2a\u75db\u70b9\u800c\u751f\u7684\u3002\u5b83\u628a\u516d\u5927\u901a\u4fe1\u534f\u8bae\u96c6\u6210\u5728\u4e00\u4e2a\u754c\u9762\u91cc&#xff0c;\u7528 Qt6 \u6253\u9020&#xff0c;\u5f00\u6e90\u514d\u8d39&#xff0c;\u5f00\u7bb1\u5373\u7528\u3002<\/p>\n<p>\u4e0b\u8f7d\u8def\u5f84<\/p>\n<hr \/>\n<h3>&#x1f4cb; \u76ee\u5f55<\/h3>\n<ul>\n<li>\u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9 FreeHIL Qt6<\/li>\n<li>\u4e8c\u3001\u6838\u5fc3\u529f\u80fd\u4e00\u89c8<\/li>\n<li>\u4e09\u300130 \u79d2\u5feb\u901f\u4e0a\u624b<\/li>\n<li>\u56db\u3001\u5404\u534f\u8bae\u4f7f\u7528\u8be6\u89e3<\/li>\n<li>\u4e94\u3001\u9ad8\u7ea7\u529f\u80fd\u4e0e\u8c03\u8bd5\u6280\u5de7<\/li>\n<li>\u516d\u3001\u6280\u672f\u67b6\u6784\u4e0e\u6027\u80fd<\/li>\n<li>\u4e03\u3001\u6784\u5efa\u4e0e\u90e8\u7f72<\/li>\n<li>\u516b\u3001\u5e38\u89c1\u95ee\u9898 FAQ<\/li>\n<li>\u4e5d\u3001\u9879\u76ee\u4fe1\u606f<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9 FreeHIL Qt6<\/h3>\n<h4>&#x1f3af; \u75db\u70b9\u76f4\u51fb<\/h4>\n<table>\n<tr>\u4f20\u7edf\u65b9\u5f0fFreeHIL Qt6<\/tr>\n<tbody>\n<tr>\n<td>\u4e32\u53e3\u3001TCP\u3001HTTP\u3001MQTT \u5404\u7528\u4e00\u4e2a\u5de5\u5177<\/td>\n<td>\u4e00\u4e2a\u5de5\u5177\u5168\u641e\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u5177\u98ce\u683c\u4e0d\u4e00&#xff0c;\u64cd\u4f5c\u4e60\u60ef\u53cd\u590d\u5207\u6362<\/td>\n<td>\u7edf\u4e00\u754c\u9762&#xff0c;\u7edf\u4e00\u4ea4\u4e92<\/td>\n<\/tr>\n<tr>\n<td>\u6536\u53d1\u6570\u636e\u65e0\u65e5\u5fd7&#xff0c;\u51fa\u95ee\u9898\u96be\u56de\u6eaf<\/td>\n<td>\u5185\u7f6e\u65e5\u5fd7\u7cfb\u7edf&#xff0c;\u81ea\u52a8\u8f6e\u8f6c<\/td>\n<\/tr>\n<tr>\n<td>TCP \u670d\u52a1\u7aef\u8c03\u8bd5\u8981\u989d\u5916\u642d\u670d\u52a1<\/td>\n<td>\u5185\u7f6e TCP\/HTTP \u670d\u52a1\u7aef&#xff0c;\u5373\u5f00\u5373\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u6ce2\u7279\u7387\u56fa\u5b9a\u9009\u9879&#xff0c;\u975e\u6807\u8bbe\u5907\u6ca1\u6cd5\u8c03<\/td>\n<td>\u652f\u6301\u624b\u52a8\u8f93\u5165\u4efb\u610f\u6ce2\u7279\u7387<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u2728 \u516d\u5927\u4eae\u70b9<\/h4>\n<li>\u516d\u534f\u8bae\u5408\u4e00 \u2014 \u4e32\u53e3 \/ TCP \u5ba2\u6237\u7aef \/ TCP \u670d\u52a1\u7aef \/ HTTP \u5ba2\u6237\u7aef \/ HTTP \u670d\u52a1\u7aef \/ MQTT&#xff0c;\u4e00\u4e2a\u7a97\u53e3\u5168\u641e\u5b9a<\/li>\n<li>\u9ad8\u6027\u80fd TCP \u670d\u52a1\u7aef \u2014 \u57fa\u4e8e libevent \u4e8b\u4ef6\u9a71\u52a8&#xff0c;\u541e\u5410\u91cf ~100 MB\/s&#xff0c;\u652f\u6301\u591a\u5ba2\u6237\u7aef\u5e76\u53d1<\/li>\n<li>\u81ea\u5b9a\u4e49\u6ce2\u7279\u7387 \u2014 \u5185\u7f6e 15 \u6863\u5e38\u7528\u6ce2\u7279\u7387&#xff08;\u6700\u9ad8 3000000&#xff09;&#xff0c;\u8fd8\u652f\u6301\u624b\u52a8\u8f93\u5165\u4efb\u610f\u503c&#xff0c;\u975e\u6807\u8bbe\u5907\u4e5f\u80fd\u8c03<\/li>\n<li>Hex\/ASCII \u53cc\u6a21\u5f0f \u2014 \u53d1\u9001\u63a5\u6536\u5747\u652f\u6301\u5341\u516d\u8fdb\u5236\u548c ASCII \u5207\u6362&#xff0c;\u8c03\u8bd5\u4e8c\u8fdb\u5236\u534f\u8bae\u65e0\u538b\u529b<\/li>\n<li>\u81ea\u52a8\u53d1\u9001 &#043; \u65e5\u5fd7\u8f6e\u8f6c \u2014 \u5b9a\u65f6\u53d1\u9001\u505a\u538b\u529b\u6d4b\u8bd5&#xff0c;\u65e5\u5fd7\u81ea\u52a8\u4fdd\u5b58\u5e76\u8f6e\u8f6c&#xff0c;\u957f\u65f6\u95f4\u8fd0\u884c\u4e0d\u6f0f\u6570\u636e<\/li>\n<li>\u8de8\u5e73\u53f0\u5f00\u6e90 \u2014 \u57fa\u4e8e Qt6&#xff0c;Windows\/Linux \u901a\u7528&#xff0c;\u4ee3\u7801\u5f00\u6e90\u53ef\u5b9a\u5236<\/li>\n<hr \/>\n<h3>\u4e8c\u3001\u6838\u5fc3\u529f\u80fd\u4e00\u89c8<\/h3>\n<h4>&#x1f4e1; \u652f\u6301\u7684\u516d\u5927\u534f\u8bae<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502              FreeHIL Qt6                    \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502  \u4e32\u53e3    \u2502 TCP\u5ba2\u6237\u7aef \u2502 TCP\u670d\u52a1\u7aef \u2502  HTTP\u5ba2\u6237\u7aef\u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502 HTTP\u670d\u52a1\u7aef\u2502  MQTT    \u2502   \u65e5\u5fd7 \/ \u7edf\u8ba1\u76d1\u63a7     \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<table>\n<tr>\u534f\u8bae\u529f\u80fd\u7279\u8272\u6027\u80fd\u6307\u6807<\/tr>\n<tbody>\n<tr>\n<td>\u4e32\u53e3\u901a\u4fe1<\/td>\n<td>\u8de8\u5e73\u53f0\u3001\u52a8\u6001\u7aef\u53e3\u68c0\u6d4b\u3001\u81ea\u5b9a\u4e49\u6ce2\u7279\u7387<\/td>\n<td>\u652f\u6301 1~4000000 bps<\/td>\n<\/tr>\n<tr>\n<td>TCP \u5ba2\u6237\u7aef<\/td>\n<td>\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\u3001\u81ea\u52a8\u91cd\u8fde\u3001Hex\/ASCII<\/td>\n<td>\u7a33\u5b9a\u53ef\u9760<\/td>\n<\/tr>\n<tr>\n<td>TCP \u670d\u52a1\u7aef<\/td>\n<td>libevent \u9ad8\u6027\u80fd\u3001\u591a\u5ba2\u6237\u7aef\u7ba1\u7406<\/td>\n<td>~100 MB\/s&#xff0c;5 \u8def\u5e76\u53d1<\/td>\n<\/tr>\n<tr>\n<td>HTTP \u5ba2\u6237\u7aef<\/td>\n<td>GET\/POST\/PUT\/DELETE\u3001\u81ea\u5b9a\u4e49 Header\/Body<\/td>\n<td>\u8bf7\u6c42\u5386\u53f2\u8bb0\u5f55<\/td>\n<\/tr>\n<tr>\n<td>HTTP \u670d\u52a1\u7aef<\/td>\n<td>\u652f\u6301 HTTP\/HTTPS (SSL\/TLS)<\/td>\n<td>~200 MB\/s&#xff0c;100 \u5e76\u53d1<\/td>\n<\/tr>\n<tr>\n<td>MQTT \u5ba2\u6237\u7aef<\/td>\n<td>\u53d1\u5e03\/\u8ba2\u9605\u3001\u7528\u6237\u540d\u5bc6\u7801\u8ba4\u8bc1<\/td>\n<td>\u9700 Qt6 Mqtt \u6a21\u5757<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>&#x1f39b;\ufe0f \u901a\u7528\u8c03\u8bd5\u529f\u80fd<\/h4>\n<ul>\n<li>\u6570\u636e\u683c\u5f0f&#xff1a;Hex \/ ASCII \u4e00\u952e\u5207\u6362&#xff0c;\u6536\u53d1\u72ec\u7acb\u914d\u7f6e<\/li>\n<li>\u81ea\u52a8\u53d1\u9001&#xff1a;\u53ef\u8bbe\u95f4\u9694&#xff08;\u6beb\u79d2\u7ea7&#xff09;&#xff0c;\u52fe\u9009\u5373\u542f\u52a8&#xff0c;\u9002\u5408\u538b\u529b\u6d4b\u8bd5<\/li>\n<li>\u8ffd\u52a0\u6362\u884c&#xff1a;\u53d1\u9001\u65f6\u81ea\u52a8\u8ffd\u52a0 \\\\r\\\\n&#xff0c;\u9002\u914d\u6362\u884c\u534f\u8bae<\/li>\n<li>\u65e5\u5fd7\u7cfb\u7edf&#xff1a;\u4e00\u952e\u5f00\u542f&#xff0c;\u81ea\u52a8\u4fdd\u5b58\u5230\u6587\u4ef6&#xff0c;\u5355\u6587\u4ef6 40MB \u81ea\u52a8\u8f6e\u8f6c<\/li>\n<li>\u7edf\u8ba1\u76d1\u63a7&#xff1a;\u5b9e\u65f6\u663e\u793a\u53d1\u9001\/\u63a5\u6536\/\u9519\u8bef\u8ba1\u6570&#xff0c;\u4e00\u76ee\u4e86\u7136<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e09\u300130 \u79d2\u5feb\u901f\u4e0a\u624b<\/h3>\n<h4>\u65b9\u5f0f\u4e00&#xff1a;\u76f4\u63a5\u8fd0\u884c\u90e8\u7f72\u5305&#xff08;\u96f6\u914d\u7f6e&#xff09;<\/h4>\n<p><span class=\"token comment\"># \u8fdb\u5165\u90e8\u7f72\u76ee\u5f55&#xff0c;\u53cc\u51fb\u5373\u53ef\u8fd0\u884c&#xff08;\u5df2\u5305\u542b\u6240\u6709\u4f9d\u8d56&#xff09;<\/span><br \/>\n<span class=\"token builtin class-name\">cd<\/span> deploy\/FreeHIL_Qt6<br \/>\n.\/FreeHIL_Qt6.exe<\/p>\n<h4>\u65b9\u5f0f\u4e8c&#xff1a;Qt Creator \u6784\u5efa&#xff08;\u63a8\u8350\u5f00\u53d1\u8005&#xff09;<\/h4>\n<p>1. \u542f\u52a8 Qt Creator<br \/>\n2. \u6587\u4ef6 \u2192 \u6253\u5f00\u6587\u4ef6\u6216\u9879\u76ee \u2192 \u9009\u62e9 CMakeLists.txt<br \/>\n3. \u9009\u62e9 Kit: Desktop Qt 6.x MinGW 64-bit<br \/>\n4. Ctrl &#043; B \u6784\u5efa \u2192 Ctrl &#043; R \u8fd0\u884c<\/p>\n<h4>\u65b9\u5f0f\u4e09&#xff1a;\u547d\u4ee4\u884c\u6784\u5efa<\/h4>\n<p><span class=\"token builtin class-name\">cd<\/span> FreeHIL_Qt6_1.0<br \/>\n<span class=\"token function\">mkdir<\/span> build <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token builtin class-name\">cd<\/span> build<\/p>\n<p><span class=\"token comment\"># \u914d\u7f6e&#xff08;\u8bf7\u66ff\u6362\u4e3a\u4f60\u7684 Qt \u8def\u5f84&#xff09;<\/span><br \/>\ncmake <span class=\"token punctuation\">..<\/span> <span class=\"token parameter variable\">-DCMAKE_PREFIX_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;D:\/Qt\/6.9.1\/mingw_64&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u7f16\u8bd1<\/span><br \/>\ncmake <span class=\"token parameter variable\">&#8211;build<\/span> <span class=\"token builtin class-name\">.<\/span> <span class=\"token parameter variable\">-j8<\/span><\/p>\n<p><span class=\"token comment\"># \u8fd0\u884c<\/span><br \/>\n.\/FreeHIL_Qt6.exe<\/p>\n<p>&#x1f4a1; \u63d0\u793a&#xff1a;\u9879\u76ee\u5df2\u5185\u7f6e libevent \u5e93&#xff0c;\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002MQTT \u529f\u80fd\u9700\u901a\u8fc7 Qt Maintenance Tool \u5b89\u88c5 Qt6 Mqtt \u7ec4\u4ef6\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u5404\u534f\u8bae\u4f7f\u7528\u8be6\u89e3<\/h3>\n<h4>4.1 &#x1f50c; \u4e32\u53e3\u901a\u4fe1<\/h4>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u8c03\u8bd5\u4f20\u611f\u5668\u3001MCU\u3001PLC\u3001RS485 \u8bbe\u5907\u7b49<\/p>\n<p>\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7\u9762\u677f \u300c\u4e32\u53e3\u300d<\/li>\n<li>\u914d\u7f6e\u53c2\u6570&#xff1a;\n<ul>\n<li>\u7aef\u53e3&#xff1a;\u81ea\u52a8\u68c0\u6d4b\u53ef\u7528\u4e32\u53e3<\/li>\n<li>\u6ce2\u7279\u7387&#xff1a;\u4e0b\u62c9\u9009\u62e9\u6216\u624b\u52a8\u8f93\u5165\u81ea\u5b9a\u4e49\u503c&#xff08;\u5982 1500000&#xff09;<\/li>\n<li>\u6570\u636e\u4f4d&#xff1a;5 \/ 6 \/ 7 \/ 8<\/li>\n<li>\u505c\u6b62\u4f4d&#xff1a;1 \/ 2<\/li>\n<li>\u6821\u9a8c\u4f4d&#xff1a;\u65e0 \/ \u5947\u6821\u9a8c \/ \u5076\u6821\u9a8c<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb \u300c\u6253\u5f00\u300d \u5efa\u7acb\u8fde\u63a5<\/li>\n<li>\u5728\u53d1\u9001\u533a\u8f93\u5165\u6570\u636e \u2192 \u70b9\u51fb \u300c\u53d1\u9001\u300d<\/li>\n<li>\u63a5\u6536\u533a\u5b9e\u65f6\u663e\u793a\u8fd4\u56de\u6570\u636e<\/li>\n<p>&#x1f31f; \u65b0\u529f\u80fd&#xff1a;\u6ce2\u7279\u7387\u652f\u6301\u624b\u52a8\u8f93\u5165&#xff01;\u5185\u7f6e 1500000\u30012000000\u30013000000 \u7b49\u9ad8\u901f\u7387&#xff0c;\u4e5f\u53ef\u8f93\u5165\u4efb\u610f\u503c&#xff08;1~4000000&#xff09;&#xff0c;\u5b8c\u7f8e\u9002\u914d\u975e\u6807\u8bbe\u5907\u3002<\/p>\n<h4>4.2 &#x1f310; TCP \u5ba2\u6237\u7aef<\/h4>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\u3001\u8c03\u8bd5\u81ea\u5b9a\u4e49 TCP \u534f\u8bae<\/p>\n<p>\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7 \u300cTCP \u5ba2\u6237\u7aef\u300d<\/li>\n<li>\u8f93\u5165\u670d\u52a1\u5668 IP \u5730\u5740 \u548c \u7aef\u53e3&#xff08;1-65535&#xff09;<\/li>\n<li>\u70b9\u51fb \u300c\u6253\u5f00\u300d \u8fde\u63a5<\/li>\n<li>\u8fde\u63a5\u6210\u529f\u540e\u5373\u53ef\u6536\u53d1\u6570\u636e<\/li>\n<h4>4.3 &#x1f3ed; TCP \u670d\u52a1\u7aef<\/h4>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u6a21\u62df\u670d\u52a1\u7aef\u3001\u591a\u5ba2\u6237\u7aef\u7ba1\u7406\u3001\u5e7f\u64ad\u6d4b\u8bd5<\/p>\n<p>\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7 \u300cTCP \u670d\u52a1\u7aef\u300d<\/li>\n<li>\u8bbe\u7f6e\u76d1\u542c\u7aef\u53e3<\/li>\n<li>\u70b9\u51fb \u300c\u6253\u5f00\u300d \u542f\u52a8\u76d1\u542c<\/li>\n<li>\u5ba2\u6237\u7aef\u8fde\u63a5\u540e&#xff0c;\u53f3\u4fa7\u5217\u8868\u5b9e\u65f6\u663e\u793a<\/li>\n<li>\u9009\u4e2d\u5ba2\u6237\u7aef \u2192 \u5355\u72ec\u53d1\u9001&#xff1b;\u4e0d\u9009\u4e2d \u2192 \u5e7f\u64ad\u53d1\u9001<\/li>\n<p>\u26a1 \u6027\u80fd&#xff1a;\u57fa\u4e8e libevent \u4e8b\u4ef6\u9a71\u52a8&#xff0c;\u541e\u5410\u91cf\u7ea6 100 MB\/s&#xff0c;\u652f\u6301 5 \u8def\u5e76\u53d1\u5ba2\u6237\u7aef\u3002<\/p>\n<h4>4.4 &#x1f4e8; HTTP \u5ba2\u6237\u7aef<\/h4>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u8c03\u8bd5 RESTful API\u3001Web \u670d\u52a1\u63a5\u53e3<\/p>\n<p>\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7 \u300cHTTP \u5ba2\u6237\u7aef\u300d<\/li>\n<li>\u9009\u62e9\u8bf7\u6c42\u65b9\u6cd5&#xff1a;GET \/ POST \/ PUT \/ DELETE<\/li>\n<li>\u8f93\u5165 URL \u5730\u5740<\/li>\n<li>&#xff08;\u53ef\u9009&#xff09;\u586b\u5199 Headers \u548c Body<\/li>\n<li>\u70b9\u51fb \u300c\u53d1\u9001\u8bf7\u6c42\u300d<\/li>\n<li>\u54cd\u5e94\u7ed3\u679c\u663e\u793a\u5728\u63a5\u6536\u533a&#xff0c;\u8bf7\u6c42\u81ea\u52a8\u5b58\u5165\u5386\u53f2\u8bb0\u5f55<\/li>\n<h4>4.5 &#x1f30d; HTTP \u670d\u52a1\u7aef<\/h4>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u6a21\u62df HTTP \u670d\u52a1\u3001\u63a5\u6536 Webhook\u3001\u63a5\u53e3\u8054\u8c03<\/p>\n<p>\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7 \u300cHTTP \u670d\u52a1\u7aef\u300d<\/li>\n<li>\u8bbe\u7f6e\u76d1\u542c\u7aef\u53e3<\/li>\n<li>&#xff08;\u53ef\u9009&#xff09;\u52fe\u9009 HTTPS&#xff0c;\u914d\u7f6e\u8bc1\u4e66\u548c\u79c1\u94a5\u8def\u5f84<\/li>\n<li>\u70b9\u51fb \u300c\u6253\u5f00\u300d \u542f\u52a8\u670d\u52a1<\/li>\n<li>\u6d4f\u89c8\u5668\u8bbf\u95ee http:\/\/localhost:\u7aef\u53e3 \u5373\u53ef\u6d4b\u8bd5<\/li>\n<p>&#x1f512; \u652f\u6301 HTTPS&#xff1a;\u914d\u7f6e SSL \u8bc1\u4e66\u5373\u53ef\u542f\u7528\u52a0\u5bc6\u901a\u4fe1&#xff0c;\u541e\u5410\u91cf\u7ea6 200 MB\/s&#xff0c;\u652f\u6301 100 \u5e76\u53d1\u3002<\/p>\n<h4>4.6 &#x1f4e1; MQTT \u5ba2\u6237\u7aef<\/h4>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u7269\u8054\u7f51\u6d88\u606f\u3001\u4f20\u611f\u5668\u6570\u636e\u4e0a\u62a5\u3001\u8bbe\u5907\u63a7\u5236<\/p>\n<p>\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7 \u300cMQTT\u300d<\/li>\n<li>\u8f93\u5165 Broker \u5730\u5740\u3001\u7aef\u53e3\u3001ClientID<\/li>\n<li>&#xff08;\u53ef\u9009&#xff09;\u8bbe\u7f6e\u7528\u6237\u540d\u3001\u5bc6\u7801<\/li>\n<li>\u586b\u5199\u8ba2\u9605 Topic<\/li>\n<li>\u70b9\u51fb \u300c\u8fde\u63a5\u300d \u2192 \u81ea\u52a8\u8ba2\u9605 Topic<\/li>\n<li>\u8fde\u63a5\u6210\u529f\u540e\u53ef\u53d1\u5e03\u6d88\u606f<\/li>\n<p>\u26a0\ufe0f \u6ce8\u610f&#xff1a;MQTT \u529f\u80fd\u9700\u8981\u5b89\u88c5 Qt6 Mqtt \u6a21\u5757\u3002\u901a\u8fc7 Qt Maintenance Tool \u52fe\u9009\u5b89\u88c5\u5373\u53ef\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u9ad8\u7ea7\u529f\u80fd\u4e0e\u8c03\u8bd5\u6280\u5de7<\/h3>\n<h4>5.1 &#x1f504; Hex \/ ASCII \u6a21\u5f0f\u5207\u6362<\/h4>\n<p>\u8c03\u8bd5\u4e8c\u8fdb\u5236\u534f\u8bae\u65f6&#xff0c;Hex \u6a21\u5f0f\u662f\u521a\u9700&#xff1a;<\/p>\n<ul>\n<li>\u53d1\u9001\u533a&#xff1a;\u70b9\u51fb Hex \u6309\u94ae&#xff0c;\u8f93\u5165\u5341\u516d\u8fdb\u5236\u6570\u636e&#xff08;\u5982 48 65 6C 6C 6F&#xff09;<\/li>\n<li>\u63a5\u6536\u533a&#xff1a;\u70b9\u51fb Hex \u6309\u94ae&#xff0c;\u4ee5\u5341\u516d\u8fdb\u5236\u663e\u793a\u63a5\u6536\u6570\u636e<\/li>\n<li>\u4e24\u79cd\u6a21\u5f0f\u53ef\u72ec\u7acb\u914d\u7f6e&#xff0c;\u4e92\u4e0d\u5f71\u54cd<\/li>\n<\/ul>\n<h4>5.2 \u23f1\ufe0f \u81ea\u52a8\u53d1\u9001&#xff08;\u538b\u529b\u6d4b\u8bd5&#xff09;<\/h4>\n<p>1. \u5728\u53d1\u9001\u533a\u8f93\u5165\u8981\u53d1\u9001\u7684\u6570\u636e<br \/>\n2. \u8bbe\u7f6e\u81ea\u52a8\u53d1\u9001\u95f4\u9694&#xff08;\u6beb\u79d2&#xff09;<br \/>\n3. \u52fe\u9009\u300c\u81ea\u52a8\u53d1\u9001\u300d\u590d\u9009\u6846<br \/>\n4. \u7a0b\u5e8f\u6309\u8bbe\u5b9a\u95f4\u9694\u81ea\u52a8\u91cd\u590d\u53d1\u9001<br \/>\n5. \u53d6\u6d88\u52fe\u9009\u5373\u53ef\u505c\u6b62<\/p>\n<p>\u5178\u578b\u7528\u9014&#xff1a;<\/p>\n<ul>\n<li>\u4e32\u53e3\u6bcf 100ms \u53d1\u9001\u5fc3\u8df3\u5305<\/li>\n<li>TCP \u6bcf 50ms \u53d1\u9001\u6d4b\u8bd5\u6570\u636e\u6d41<\/li>\n<li>\u9a8c\u8bc1\u8bbe\u5907\u5728\u9ad8\u9891\u8bf7\u6c42\u4e0b\u7684\u7a33\u5b9a\u6027<\/li>\n<\/ul>\n<h4>5.3 &#x1f4dd; \u65e5\u5fd7\u7cfb\u7edf<\/h4>\n<p>\u70b9\u51fb\u5de5\u5177\u680f\u300c\u4fdd\u5b58\u65e5\u5fd7\u300d\u6309\u94ae<br \/>\n\u2192 \u65e5\u5fd7\u81ea\u52a8\u4fdd\u5b58\u5230\u7a0b\u5e8f\u8fd0\u884c\u76ee\u5f55<br \/>\n\u2192 \u6587\u4ef6\u540d&#xff1a;FreeHIL_log_yyyyMMdd_HHmmss.txt<br \/>\n\u2192 \u5355\u6587\u4ef6\u6700\u5927 40MB&#xff0c;\u81ea\u52a8\u8f6e\u8f6c\u4e3a .bak<\/p>\n<p>\u65e5\u5fd7\u5185\u5bb9&#xff1a;\u6240\u6709\u53d1\u9001\/\u63a5\u6536\u6570\u636e\u3001\u8fde\u63a5\u72b6\u6001\u3001\u9519\u8bef\u4fe1\u606f&#xff0c;\u5e26\u65f6\u95f4\u6233&#xff0c;\u65b9\u4fbf\u4e8b\u540e\u5206\u6790\u3002<\/p>\n<h4>5.4 &#x1f4ca; \u7edf\u8ba1\u76d1\u63a7<\/h4>\n<p>\u754c\u9762\u9876\u90e8\u5b9e\u65f6\u663e\u793a\u4e09\u9879\u8ba1\u6570&#xff1a;<\/p>\n<ul>\n<li>TX&#xff1a;\u53d1\u9001\u6570\u636e\u6b21\u6570<\/li>\n<li>RX&#xff1a;\u63a5\u6536\u6570\u636e\u6b21\u6570<\/li>\n<li>ERR&#xff1a;\u9519\u8bef\u6b21\u6570<\/li>\n<\/ul>\n<p>\u5207\u6362\u534f\u8bae\u65f6\u81ea\u52a8\u91cd\u7f6e&#xff0c;\u805a\u7126\u5f53\u524d\u534f\u8bae\u3002<\/p>\n<h4>5.5 &#x1f517; \u8ffd\u52a0\u6362\u884c<\/h4>\n<p>\u52fe\u9009\u300c\u8ffd\u52a0\\\\r\\\\n\u300d\u540e&#xff0c;\u6bcf\u6b21\u53d1\u9001\u81ea\u52a8\u5728\u672b\u5c3e\u6dfb\u52a0\u6362\u884c\u7b26\u3002\u9002\u914d\u9700\u8981\u6362\u884c\u7ed3\u675f\u7b26\u7684\u8bbe\u5907\u534f\u8bae&#xff08;\u5982 AT \u6307\u4ee4\u3001\u6587\u672c\u534f\u8bae&#xff09;\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u6280\u672f\u67b6\u6784\u4e0e\u6027\u80fd<\/h3>\n<h4>&#x1f3d7;\ufe0f \u6280\u672f\u6808<\/h4>\n<table>\n<tr>\u7ec4\u4ef6\u6280\u672f\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u6838\u5fc3\u6846\u67b6<\/td>\n<td>Qt 6.x<\/td>\n<td>GUI &#043; \u7f51\u7edc &#043; \u4e32\u53e3<\/td>\n<\/tr>\n<tr>\n<td>\u8bed\u8a00\u6807\u51c6<\/td>\n<td>C&#043;&#043; 17<\/td>\n<td>\u73b0\u4ee3 C&#043;&#043; \u7279\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u6784\u5efa\u7cfb\u7edf<\/td>\n<td>CMake 3.16&#043;<\/td>\n<td>\u8de8\u5e73\u53f0\u6784\u5efa<\/td>\n<\/tr>\n<tr>\n<td>TCP \u670d\u52a1\u7aef<\/td>\n<td>libevent 2.x<\/td>\n<td>\u4e8b\u4ef6\u9a71\u52a8\u9ad8\u6027\u80fd<\/td>\n<\/tr>\n<tr>\n<td>MQTT<\/td>\n<td>Qt6 Mqtt&#xff08;\u53ef\u9009&#xff09;<\/td>\n<td>\u6761\u4ef6\u7f16\u8bd1<\/td>\n<\/tr>\n<tr>\n<td>\u5355\u5143\u6d4b\u8bd5<\/td>\n<td>Qt Test<\/td>\n<td>5 \u4e2a\u6d4b\u8bd5\u5957\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>&#x1f4d0; \u67b6\u6784\u8bbe\u8ba1<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502            MainWindow (UI)           \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502 Protocols\u2502  Slots   \u2502   Network     \u2502<br \/>\n\u2502 (\u9762\u677f)   \u2502 (\u4ea4\u4e92)   \u2502  (\u4e8b\u4ef6\u5904\u7406)   \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502  SerialPort \u2502 TcpServer \u2502 HttpClient \u2502<br \/>\n\u2502             \u2502           \u2502 HttpServer \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u6a21\u5757\u5316\u8bbe\u8ba1&#xff1a;MainWindow \u6309\u529f\u80fd\u57df\u62c6\u5206\u4e3a 6 \u4e2a\u6587\u4ef6&#xff0c;\u6bcf\u4e2a\u534f\u8bae\u72ec\u7acb\u5c01\u88c5&#xff0c;\u804c\u8d23\u6e05\u6670\u3002<\/p>\n<h4>\u26a1 \u6027\u80fd\u6307\u6807<\/h4>\n<table>\n<tr>\u6307\u6807\u6570\u503c<\/tr>\n<tbody>\n<tr>\n<td>\u5185\u5b58\u5360\u7528&#xff08;\u7a7a\u95f2&#xff09;<\/td>\n<td>~15 MB<\/td>\n<\/tr>\n<tr>\n<td>\u542f\u52a8\u65f6\u95f4<\/td>\n<td>&lt; 1 \u79d2<\/td>\n<\/tr>\n<tr>\n<td>TCP \u670d\u52a1\u7aef\u541e\u5410\u91cf<\/td>\n<td>~100 MB\/s<\/td>\n<\/tr>\n<tr>\n<td>HTTP \u670d\u52a1\u7aef\u541e\u5410\u91cf<\/td>\n<td>~200 MB\/s<\/td>\n<\/tr>\n<tr>\n<td>TCP \u670d\u52a1\u7aef\u5e76\u53d1<\/td>\n<td>5 \u5ba2\u6237\u7aef<\/td>\n<\/tr>\n<tr>\n<td>HTTP \u670d\u52a1\u7aef\u5e76\u53d1<\/td>\n<td>100 \u8fde\u63a5<\/td>\n<\/tr>\n<tr>\n<td>\u53ef\u6267\u884c\u6587\u4ef6\u5927\u5c0f<\/td>\n<td>1.6 MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e03\u3001\u6784\u5efa\u4e0e\u90e8\u7f72<\/h3>\n<h4>7.1 \u73af\u5883\u8981\u6c42<\/h4>\n<p>\u5fc5\u9700&#xff1a;<\/p>\n<ul>\n<li>Qt 6.x&#xff08;\u542b Core\u3001Gui\u3001Widgets\u3001Network\u3001SerialPort&#xff09;<\/li>\n<li>CMake 3.16&#043;<\/li>\n<li>C&#043;&#043;17 \u7f16\u8bd1\u5668&#xff08;GCC \/ MSVC \/ MinGW&#xff09;<\/li>\n<\/ul>\n<p>\u53ef\u9009&#xff1a;<\/p>\n<ul>\n<li>Qt6 Mqtt \u6a21\u5757&#xff08;MQTT \u529f\u80fd&#xff09;<\/li>\n<li>libevent&#xff08;\u9879\u76ee\u5df2\u5185\u7f6e&#xff0c;Linux \u53ef\u7528\u7cfb\u7edf\u7248\u672c&#xff09;<\/li>\n<\/ul>\n<h4>7.2 Windows \u6784\u5efa<\/h4>\n<p><span class=\"token function\">mkdir<\/span> build <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token builtin class-name\">cd<\/span> build<br \/>\ncmake <span class=\"token punctuation\">..<\/span> <span class=\"token parameter variable\">-G<\/span> <span class=\"token string\">&#034;MinGW Makefiles&#034;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n    <span class=\"token parameter variable\">-DCMAKE_PREFIX_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;D:\/Qt\/6.9.1\/mingw_64&#034;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n    <span class=\"token parameter variable\">-DCMAKE_CXX_COMPILER<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;D:\/Qt\/Tools\/mingw1310_64\/bin\/g&#043;&#043;.exe&#034;<\/span><br \/>\ncmake <span class=\"token parameter variable\">&#8211;build<\/span> <span class=\"token builtin class-name\">.<\/span> <span class=\"token parameter variable\">-j8<\/span><\/p>\n<h4>7.3 Linux \u6784\u5efa<\/h4>\n<p><span class=\"token function\">mkdir<\/span> build <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token builtin class-name\">cd<\/span> build<br \/>\ncmake <span class=\"token punctuation\">..<\/span> <span class=\"token parameter variable\">-DCMAKE_PREFIX_PATH<\/span><span class=\"token operator\">&#061;<\/span>\/opt\/Qt\/6.7.0\/gcc_arm64<br \/>\ncmake <span class=\"token parameter variable\">&#8211;build<\/span> <span class=\"token builtin class-name\">.<\/span> -j<span class=\"token variable\"><span class=\"token variable\">$(<\/span>nproc<span class=\"token variable\">)<\/span><\/span><\/p>\n<h4>7.4 \u90e8\u7f72\u72ec\u7acb\u5305<\/h4>\n<p><span class=\"token comment\"># Windows&#xff1a;\u4f7f\u7528 windeployqt \u81ea\u52a8\u6253\u5305\u6240\u6709\u4f9d\u8d56<\/span><br \/>\nwindeployqt build\/FreeHIL_Qt6.exe<\/p>\n<p><span class=\"token comment\"># \u90e8\u7f72\u5305\u53ef\u76f4\u63a5\u590d\u5236\u5230\u4efb\u610f\u673a\u5668\u8fd0\u884c&#xff0c;\u65e0\u9700\u5b89\u88c5 Qt<\/span><\/p>\n<h4>7.5 \u5355\u5143\u6d4b\u8bd5<\/h4>\n<p><span class=\"token function\">mkdir<\/span> build <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token builtin class-name\">cd<\/span> build<br \/>\ncmake <span class=\"token punctuation\">..<\/span> <span class=\"token parameter variable\">-DCMAKE_PREFIX_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token operator\">&lt;<\/span>Qt\u8def\u5f84<span class=\"token operator\">&gt;<\/span> <span class=\"token parameter variable\">-DBUILD_TESTING<\/span><span class=\"token operator\">&#061;<\/span>ON<br \/>\ncmake <span class=\"token parameter variable\">&#8211;build<\/span> <span class=\"token builtin class-name\">.<\/span> <span class=\"token parameter variable\">-j8<\/span><\/p>\n<p><span class=\"token comment\"># \u8fd0\u884c\u5168\u90e8\u6d4b\u8bd5<\/span><br \/>\nctest &#8211;output-on-failure<\/p>\n<p><span class=\"token comment\"># \u6d4b\u8bd5\u5957\u4ef6&#xff1a;<\/span><br \/>\n<span class=\"token comment\">#   tst_httpclient  &#8211; HTTP \u5ba2\u6237\u7aef\u6d4b\u8bd5<\/span><br \/>\n<span class=\"token comment\">#   tst_httpserver  &#8211; HTTP \u670d\u52a1\u7aef\u6d4b\u8bd5<\/span><br \/>\n<span class=\"token comment\">#   tst_tcpserver   &#8211; TCP \u670d\u52a1\u7aef\u6d4b\u8bd5<\/span><br \/>\n<span class=\"token comment\">#   tst_serialport  &#8211; \u4e32\u53e3\u6d4b\u8bd5&#xff08;\u542b\u81ea\u5b9a\u4e49\u6ce2\u7279\u7387&#xff09;<\/span><br \/>\n<span class=\"token comment\">#   tst_mainwindow  &#8211; \u4e3b\u7a97\u53e3\u7efc\u5408\u6d4b\u8bd5<\/span><\/p>\n<hr \/>\n<h3>\u516b\u3001\u5e38\u89c1\u95ee\u9898 FAQ<\/h3>\n<h4>Q1&#xff1a;MQTT \u529f\u80fd\u4e0d\u53ef\u7528&#xff1f;<\/h4>\n<p>MQTT \u6309\u94ae\u53ef\u89c1\u4f46\u65e0\u6cd5\u8fde\u63a5&#xff0c;\u662f\u56e0\u4e3a Qt6 Mqtt \u6a21\u5757\u672a\u5b89\u88c5\u3002<\/p>\n<p>\u89e3\u51b3&#xff1a;\u6253\u5f00 Qt Maintenance Tool \u2192 \u52fe\u9009\u300cQt Mqtt\u300d\u7ec4\u4ef6 \u2192 \u91cd\u65b0\u6784\u5efa\u9879\u76ee\u3002<\/p>\n<h4>Q2&#xff1a;\u4e32\u53e3\u65e0\u6cd5\u6253\u5f00&#xff1f;<\/h4>\n<ul>\n<li>\u5173\u95ed\u5176\u4ed6\u5360\u7528\u8be5\u4e32\u53e3\u7684\u7a0b\u5e8f&#xff08;\u5982 SSCOM\u3001PuTTY&#xff09;<\/li>\n<li>Windows \u4e0b\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c<\/li>\n<li>\u68c0\u67e5\u4e32\u53e3\u540d\u79f0\u662f\u5426\u6b63\u786e<\/li>\n<\/ul>\n<h4>Q3&#xff1a;\u5982\u4f55\u4f7f\u7528\u975e\u6807\u51c6\u6ce2\u7279\u7387&#xff08;\u5982 1500000&#xff09;&#xff1f;<\/h4>\n<p>\u6ce2\u7279\u7387\u4e0b\u62c9\u6846\u652f\u6301\u624b\u52a8\u8f93\u5165\u3002\u76f4\u63a5\u5728\u6ce2\u7279\u7387\u6846\u4e2d\u8f93\u5165\u6570\u503c&#xff08;\u5982 1500000&#xff09;&#xff0c;\u6309\u56de\u8f66\u5373\u53ef\u3002\u8f93\u5165\u8303\u56f4 1~4000000\u3002<\/p>\n<h4>Q4&#xff1a;\u8fd0\u884c\u65f6\u63d0\u793a\u7f3a\u5c11 DLL&#xff1f;<\/h4>\n<p>\u4f7f\u7528 windeployqt \u5de5\u5177\u81ea\u52a8\u90e8\u7f72\u4f9d\u8d56&#xff1a;<\/p>\n<p>windeployqt FreeHIL_Qt6.exe<\/p>\n<h4>Q5&#xff1a;TCP \u670d\u52a1\u7aef\u5982\u4f55\u589e\u52a0\u5e76\u53d1\u6570&#xff1f;<\/h4>\n<p>\u9ed8\u8ba4\u652f\u6301 5 \u4e2a\u5ba2\u6237\u7aef\u3002\u5982\u9700\u589e\u52a0&#xff0c;\u4fee\u6539 startListening \u7684\u7b2c\u4e09\u4e2a\u53c2\u6570&#xff1a;<\/p>\n<p>m_tcpServer<span class=\"token operator\">-&gt;<\/span><span class=\"token function\">startListening<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;0.0.0.0&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">8080<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">10<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u6539\u4e3a 10 \u4e2a<\/span><\/p>\n<h4>Q6&#xff1a;\u65e5\u5fd7\u6587\u4ef6\u5728\u54ea&#xff1f;<\/h4>\n<p>\u65e5\u5fd7\u4fdd\u5b58\u5728\u7a0b\u5e8f\u8fd0\u884c\u76ee\u5f55&#xff0c;\u6587\u4ef6\u540d\u683c\u5f0f FreeHIL_log_yyyyMMdd_HHmmss.txt&#xff0c;\u5355\u6587\u4ef6\u6700\u5927 40MB&#xff0c;\u81ea\u52a8\u8f6e\u8f6c\u4e3a .bak\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u9879\u76ee\u4fe1\u606f<\/h3>\n<h4>&#x1f4e6; \u9879\u76ee\u5730\u5740<\/h4>\n<ul>\n<li>\u4ed3\u5e93&#xff1a;https:\/\/atomgit.com\/cat_lxl\/FreeHIL_Qt6_1.0.git<\/li>\n<li>\u5206\u652f&#xff1a;main<\/li>\n<li>\u7248\u672c&#xff1a;1.0<\/li>\n<li>\u8bb8\u53ef\u8bc1&#xff1a;\u5f00\u6e90&#xff0c;\u5b66\u4e60\u548c\u5185\u90e8\u4f7f\u7528<\/li>\n<\/ul>\n<h4>&#x1f4c1; \u9879\u76ee\u7ed3\u6784<\/h4>\n<p>FreeHIL_Qt6_1.0\/<br \/>\n\u251c\u2500\u2500 CMakeLists.txt              # \u6784\u5efa\u914d\u7f6e<br \/>\n\u251c\u2500\u2500 main.cpp                    # \u7a0b\u5e8f\u5165\u53e3<br \/>\n\u251c\u2500\u2500 mainwindow.h                # \u4e3b\u7a97\u53e3\u5934\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 mainwindow_*.cpp            # \u4e3b\u7a97\u53e3\u6a21\u5757&#xff08;6 \u4e2a&#xff09;<br \/>\n\u251c\u2500\u2500 serialport.h\/cpp            # \u4e32\u53e3\u6a21\u5757<br \/>\n\u251c\u2500\u2500 tcpserver.h\/cpp             # TCP \u670d\u52a1\u7aef&#xff08;libevent&#xff09;<br \/>\n\u251c\u2500\u2500 httpclient.h\/cpp            # HTTP \u5ba2\u6237\u7aef<br \/>\n\u251c\u2500\u2500 httpserver.h\/cpp            # HTTP \u670d\u52a1\u7aef<br \/>\n\u251c\u2500\u2500 mainwindow.ui               # \u754c\u9762\u8bbe\u8ba1<br \/>\n\u251c\u2500\u2500 tests\/                      # \u5355\u5143\u6d4b\u8bd5&#xff08;5 \u4e2a\u5957\u4ef6&#xff09;<br \/>\n\u2502   \u251c\u2500\u2500 CMakeLists.txt<br \/>\n\u2502   \u251c\u2500\u2500 tst_httpclient.cpp<br \/>\n\u2502   \u251c\u2500\u2500 tst_httpserver.cpp<br \/>\n\u2502   \u251c\u2500\u2500 tst_tcpserver.cpp<br \/>\n\u2502   \u251c\u2500\u2500 tst_serialport.cpp<br \/>\n\u2502   \u2514\u2500\u2500 tst_mainwindow.cpp<br \/>\n\u251c\u2500\u2500 libevent\/                   # libevent \u5e93&#xff08;\u5185\u7f6e&#xff09;<br \/>\n\u2514\u2500\u2500 resources.qrc               # \u8d44\u6e90\u6587\u4ef6<\/p>\n<h4>&#x1f4dd; \u7248\u672c\u66f4\u65b0\u5386\u53f2<\/h4>\n<table>\n<tr>\u7248\u672c\u5185\u5bb9<\/tr>\n<tbody>\n<tr>\n<td>v1.0<\/td>\n<td>\u521d\u59cb\u7248\u672c&#xff1a;\u516d\u5927\u534f\u8bae\u3001\u65e5\u5fd7\u3001\u81ea\u52a8\u53d1\u9001\u3001Hex\/ASCII<\/td>\n<\/tr>\n<tr>\n<td>v1.1<\/td>\n<td>\u4fee\u590d 19 \u4e2a Bug&#xff1a;MQTT \u91cd\u590d\u5b9a\u4e49\u3001\u7a7a\u6307\u9488\u5d29\u6e83\u3001HTTP \u7f13\u51b2\u7b49<\/td>\n<\/tr>\n<tr>\n<td>v1.2<\/td>\n<td>\u6dfb\u52a0\u5355\u5143\u6d4b\u8bd5&#xff08;5 \u5957\u4ef6&#xff0c;100% \u901a\u8fc7&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>v1.3<\/td>\n<td>\u81ea\u5b9a\u4e49\u6ce2\u7279\u7387&#xff1a;\u652f\u6301\u624b\u52a8\u8f93\u5165 1~4000000&#xff0c;\u5185\u7f6e 1500000 \u7b49<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>&#x1f4ac; \u603b\u7ed3<\/h3>\n<p>FreeHIL Qt6 \u662f\u4e00\u6b3e\u4e3a\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u800c\u751f\u7684\u5f00\u6e90\u5de5\u5177&#xff0c;\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e&#xff1a;<\/p>\n<li>\u7701\u5de5\u5177 \u2014 \u516d\u5927\u534f\u8bae\u4e00\u4e2a\u754c\u9762&#xff0c;\u4e0d\u7528\u518d\u88c5\u4e00\u5806\u8c03\u8bd5\u8f6f\u4ef6<\/li>\n<li>\u7701\u65f6\u95f4 \u2014 \u5f00\u7bb1\u5373\u7528&#xff0c;\u90e8\u7f72\u5305\u89e3\u538b\u5373\u8fd0\u884c<\/li>\n<li>\u7701\u5fc3 \u2014 \u65e5\u5fd7\u81ea\u52a8\u4fdd\u5b58\u3001\u7aef\u53e3\u81ea\u52a8\u68c0\u6d4b\u3001\u9519\u8bef\u81ea\u52a8\u7edf\u8ba1<\/li>\n<li>\u591f\u4e13\u4e1a \u2014 libevent \u9ad8\u6027\u80fd\u3001HTTPS \u52a0\u5bc6\u3001\u81ea\u5b9a\u4e49\u6ce2\u7279\u7387<\/li>\n<li>\u591f\u5f00\u653e \u2014 \u6e90\u7801\u5b8c\u6574\u3001\u6a21\u5757\u6e05\u6670\u3001\u53ef\u81ea\u884c\u5b9a\u5236<\/li>\n<p>\u5982\u679c\u4f60\u89c9\u5f97\u8fd9\u4e2a\u5de5\u5177\u5bf9\u4f60\u6709\u5e2e\u52a9&#xff0c;\u6b22\u8fce\u5728 AtomGit \u4e0a Star \u2b50 \u652f\u6301&#xff01;<\/p>\n<p>\u6709\u95ee\u9898\u6216\u5efa\u8bae&#xff0c;\u6b22\u8fce\u63d0 Issue \u4ea4\u6d41\u3002<\/p>\n<hr \/>\n<p>\u4f5c\u8005&#xff1a;cat_lxl \u4ed3\u5e93&#xff1a;https:\/\/atomgit.com\/cat_lxl\/FreeHIL_Qt6_1.0.git \u6280\u672f\u6808&#xff1a;Qt6 &#043; CMake &#043; libevent &#043; C&#043;&#043;17 \u5e73\u53f0&#xff1a;Windows \/ Linux \u8de8\u5e73\u53f0<\/p>\n<p>\u5982\u679c\u672c\u6587\u5bf9\u4f60\u6709\u5e2e\u52a9&#xff0c;\u8bf7\u70b9\u8d5e &#x1f44d; \u6536\u85cf \u2b50 \u5173\u6ce8&#xff0c;\u4f60\u7684\u652f\u6301\u662f\u6211\u6301\u7eed\u5206\u4eab\u7684\u52a8\u529b&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11820,227],"topic":[],"class_list":["post-122262","post","type-post","status-publish","format-standard","hentry","category-server","tag-atomgit","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668 - \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\/122262.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/122262.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-04T05:32:50+00:00\" \/>\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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/122262.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/122262.html\",\"name\":\"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-04T05:32:50+00:00\",\"dateModified\":\"2026-11-04T05:32:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/122262.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/122262.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/122262.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668\"}]},{\"@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":"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668 - \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\/122262.html","og_locale":"zh_CN","og_type":"article","og_title":"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/122262.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-04T05:32:50+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/122262.html","url":"https:\/\/www.wsisp.com\/helps\/122262.html","name":"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-04T05:32:50+00:00","dateModified":"2026-11-04T05:32:50+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/122262.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/122262.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/122262.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"FreeHIL Qt6 \u2014 \u4e00\u6b3e\u503c\u5f97\u6536\u85cf\u7684\u5f00\u6e90\u5de5\u4e1a\u901a\u4fe1\u8c03\u8bd5\u795e\u5668"}]},{"@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\/122262","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=122262"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/122262\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=122262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=122262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=122262"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=122262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}