{"id":211,"date":"2023-04-06T15:28:16","date_gmt":"2023-04-06T07:28:16","guid":{"rendered":"https:\/\/blog.laning.cc\/?p=211"},"modified":"2024-04-14T19:25:26","modified_gmt":"2024-04-14T11:25:26","slug":"%e6%a0%a1%e5%9b%ad%e7%94%b5%e4%bf%a1%e5%ae%bd%e5%b8%a6%e8%87%aa%e5%8a%a8%e8%bf%9e%e6%8e%a5%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/","title":{"rendered":"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u9879\u76ee\u8d77\u56e0<\/h2>\n\n\n\n<p>\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u4e00\u5927\u75db\u70b9\u662f\u5728\u8def\u7531\u5668\u65ad\u7535\u540e\uff0c\u9700\u8981\u624b\u52a8\u8fdb\u884c\u8eab\u4efd\u8ba4\u8bc1\u3002\u5728\u5916\u9762\u9047\u5230\u5bdd\u5ba4\u65ad\u7535\u6216\u8005\u65e9\u4e0a\u8d76\u65e9\u516b\uff0c\u800c\u6ca1\u6709\u8fde\u63a5\u7f51\u7edc\uff0c\u5f53\u9700\u8981\u8fdc\u7a0b\u5bbf\u820d\u7f51\u7edc\u65f6\uff0c\u5c31\u4f1a\u5f88\u5d29\u6e83\u3002\u524d\u4e0d\u4e45\u770b\u5230\u6709\u4eba\u5728\u670b\u53cb\u5708\u5206\u4eab\u81ea\u5df1\u5199\u7684\u811a\u672c\uff0c\u4eca\u5929\u81ea\u5df1\u5b9e\u8df5\u4e00\u4e0b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u811a\u672c\u5730\u5740<\/h2>\n\n\n\n<p><strong>\u4f5c\u8005\u63d0\u4f9b\u7684\u5730\u5740<\/strong>\uff1a<a href=\"https:\/\/gist.github.com\/learnerLj\/e327816e735ac8f12a62d18029bb45f0\">https:\/\/gist.github.com\/learnerLj\/e327816e735ac8f12a62d18029bb45f0<\/a><\/p>\n\n\n\n<p>\u5728\u6b64\u57fa\u7840\u4e0a\uff0c\u6211\u4fee\u6539\u4e86\u90e8\u5206\u4ee3\u7801\uff0c\u66f4\u4fbf\u4e8e\u540e\u7eed\u7684\u90e8\u7f72\u5b9e\u8df5<\/p>\n\n\n\n<p><strong>\u4fee\u6539\u540e\u7684\u5730\u5740<\/strong>\uff1a<a href=\"https:\/\/github.com\/laningya\/UESTC-WORK\/blob\/master\/%E8%87%AA%E5%8A%A8%E8%BF%9E%E6%8E%A5%E7%94%B5%E4%BF%A1%E7%BD%91%E7%BB%9C\/autoConnectNetwork.py\">https:\/\/github.com\/laningya\/UESTC-WORK\/blob\/master\/%E8%87%AA%E5%8A%A8%E8%BF%9E%E6%8E%A5%E7%94%B5%E4%BF%A1%E7%BD%91%E7%BB%9C\/autoConnectNetwork.py<\/a><\/p>\n\n\n\n<p>\u5148\u770b\u4e00\u4e0b\u811a\u672c\u9700\u8981\u63d0\u4f9b\u7684\u4fe1\u606f<\/p>\n\n\n\n<ul>\n<li>post_url\u4e2d\u7684IP\u5730\u5740<\/li>\n\n\n\n<li>post_data\u4e2duserId\uff0cpassword\uff0cqueryString<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u8df5\u8fc7\u7a0b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u83b7\u53d6\u811a\u672c\u9700\u8981\u7684\u4fe1\u606f<\/h3>\n\n\n\n<ol>\n<li>\u83b7\u53d6post_url\u4e2d\u7684IP\u5730\u5740\u548cpost_data\u4e2d\u7684queryString\u5b57\u6bb5<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1629\" height=\"556\" class=\"wp-image-205\" style=\"width: 900px;\" data-original=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\"  sizes=\"(max-width: 1629px) 100vw, 1629px\" \/><\/div><img decoding=\"async\" src=\"images\/1.png\" alt=\"\">\u5982\u56fe\uff0c\u5728\u7535\u4fe1\u5bbd\u5e26\u8ba4\u8bc1\u754c\u9762\u7684url\u4e2d\uff0c172.25.249.64\u5373\u4e3aposturl\u4e2d\u9700\u8981\u7684IP\u5730\u5740\uff1bindex.jsp? \u4e4b\u540e\u7684\u6240\u6709\u5185\u5bb9\u4e3apost_data\u4e2dqueryString\u9700\u8981\u7684\u4fe1\u606f\u3002<\/li>\n\n\n\n<li>\u83b7\u53d6post_data\u4e2d\u7684userId\u548cpassword<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/2-3.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1476\" height=\"887\" class=\"wp-image-206\" style=\"width: 900px;\" data-original=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/2-3.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\"  sizes=\"(max-width: 1476px) 100vw, 1476px\" \/><\/div>&nbsp;\u5982\u56fe\uff0c\u9700\u8981\u6253\u5f00\u5728\u6d4f\u89c8\u5668\u6253\u5f00f12\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u5982\u56fe\u4e3aGoogle Chrome\u7684\u8c03\u8bd5\u9875\u9762\u3002\u70b9\u51fb\u7f51\u7edc\uff0c\u4fdd\u7559\u65e5\u5fd7\uff0c\u53cc\u51fbInterFace.do?method=login\u9009\u9879\uff0c\u9009\u62e9\u8f7d\u8377\uff0c\u627e\u5230\u5176\u4e2d\u7684userId\u548cpassword\u5b57\u6bb5\uff0c\u5e76\u586b\u5165\u4ee3\u7801\u4e2d\uff0c<strong>\u6ce8\u610f\uff1a<\/strong>pasaword\u5b57\u6bb5\u540e\u9762\u8fd8\u6709\u4e2aqueryString\u5b57\u6bb5\uff0c\u5728\u6b65\u9aa41\u4e2d\u6211\u4eec\u4e5f\u6709\u4e00\u4e2a\u76f8\u540c\u540d\u79f0\u7684\u5b57\u6bb5\uff0c\u800c\u7a0b\u5e8f\u9700\u8981\u7684\u662f\u6b65\u9aa41\u4e2d\u7684\u5b57\u6bb5\u3002<\/li>\n\n\n\n<li>\u81f3\u6b64\uff0c\u6211\u4eec\u5c31\u83b7\u53d6\u5230\u811a\u672c\u9700\u8981\u7684\u6240\u6709\u4fe1\u606f\uff0c\u5373\u53ef\u4ee5\u8fd0\u884c\u811a\u672c\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u5728\u6811\u8393\u6d3e\u7b49\u8bbe\u5907\u4e0a\u90e8\u7f72\u81ea\u52a8\u6267\u884c\u811a\u672c<\/h3>\n\n\n\n<ol>\n<li>\u6811\u8393\u6d3e\u90e8\u7f72\u81ea\u52a8\u6267\u884c\u811a\u672c\u7684\u5f62\u5f0f\u6709\u5f88\u591a\uff0c\u672c\u6b21\u91c7\u7528crontab\u670d\u52a1\uff0c\u5728pi\u7528\u6237\u4e0b\uff0c\u547d\u4ee4\u884c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4<pre><code>cd &amp;&amp; mkdir .script &amp;&amp; cd .script &amp;&amp; touch autoConnectNetwork.py<\/code><\/pre><\/li>\n\n\n\n<li>\u901a\u8fc7vim\u6216\u8005nano\u7f16\u8f91\u5668\u5c06\u811a\u672c\u5185\u5bb9\u6dfb\u52a0\u5230&nbsp;<strong>autoConnectNetwork.py<\/strong>\u4e2d<\/li>\n\n\n\n<li>\u6dfb\u52a0crontab\u4efb\u52a1\uff0c\u5728\u547d\u4ee4\u884c\u6267\u884c<pre><code>crontab -e <\/code><\/pre>\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0<pre><code>* * * * * \/usr\/bin\/python \/home\/pi\/.script\/autoConnectNetwork.py &gt; \/dev\/null 2&gt;&amp;1 &amp;<\/code><\/pre><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u901a\u8fc7Docker\u90e8\u7f72\u811a\u672c<\/h3>\n\n\n\n<ol>\n<li>\u4e0b\u8f7d\u9879\u76ee\u6587\u4ef6\u548cDocker\u73af\u5883\u4ee5\u53ca\u586b\u5199\u914d\u7f6e\u6587\u4ef6\u3002Docker\u7684\u5b89\u88c5\u65b9\u6cd5\u53ef\u4ee5\u53c2\u8003<a href=\"https:\/\/docs.docker.com\/engine\/install\/\">\u5b98\u65b9\u6587\u6863<\/a>\uff0cDocker\u90e8\u7f72\u6587\u4ef6\u5730\u5740\u4e3a\uff1a<a href=\"https:\/\/github.com\/laningya\/UESTC-WORK\/tree\/master\/%E8%87%AA%E5%8A%A8%E8%BF%9E%E6%8E%A5%E7%94%B5%E4%BF%A1%E7%BD%91%E7%BB%9C\/Docker\">https:\/\/github.com\/laningya\/UESTC-WORK\/tree\/master\/%E8%87%AA%E5%8A%A8%E8%BF%9E%E6%8E%A5%E7%94%B5%E4%BF%A1%E7%BD%91%E7%BB%9C\/Docker<\/a>&nbsp;\u9700\u8981\u7684\u914d\u7f6e\u4e0e\u524d\u9762\u4e00\u81f4\uff0c\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u4e3aDocker\/config\/config.txt\uff0c\u586b\u5165\u5fc5\u8981\u7684\u4fe1\u606f\u3002<\/li>\n\n\n\n<li>\u6784\u5efa\u955c\u50cf\u3002\u5982\u679c\u4f60\u662fLinux\u7528\u6237\uff0c\u5728Docker\u6587\u4ef6\u5939\u4e0b\uff0c\u547d\u4ee4\u884c\u6267\u884c<pre><code>docker build --no-cache -t laningya\/uestc_auto_connect_network:v1 . <\/code><\/pre><strong>\u4e0d\u8981\u5fd8\u8bb0\u590d\u5236\u540e\u9762\u7684\u70b9<\/strong><pre><code>\u8bf4\u660e\uff1a build:docker\u6784\u5efa\u955c\u50cf\u7684\u547d\u4ee4 --no-cache:\u5ffd\u7565\u7f13\u5b58 -t:\u6307\u5b9a\u6784\u5efa\u540e\u7684\u955c\u50cf\u540d <\/code><\/pre><img decoding=\"async\" src=\"images\/docker_build.png\" alt=\"\"><\/li>\n\n\n\n<li>\u8fd0\u884c\u955c\u50cf\u3002\u8fd8\u662f\u5728\/Docker\u76ee\u5f55\u4e0b\uff0c\u547d\u4ee4\u884c\u6267\u884c<pre><code>docker run -itd --restart=always --net=host --name autoConnectNetwork laningya\/uestc_auto_connect_network:v1 <\/code><\/pre><pre><code>\u8bf4\u660e\uff1a run:docker\u8fd0\u884c\u5bb9\u5668\u7684\u547d\u4ee4 -itd\uff1a\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u5728\u540e\u53f0\u6267\u884c --restart=always:\u5bb9\u5668\u8fd0\u884c\u51fa\u73b0\u9519\u8bef\u65f6\uff0c\u81ea\u52a8\u5c1d\u8bd5\u91cd\u542f\uff0c\u5173\u952e\u53c2\u6570\uff0c\u4e0d\u80fd\u8f7b\u6613\u53d6\u6d88 --net=host:\u6307\u5b9a\u5bb9\u5668\u7f51\u7edc\u4e3ahost\u6a21\u5f0f\uff0c\u4fbf\u4e8e\u76f4\u63a5\u8bbf\u95ee\u8def\u7531\u5668 --name utoConnectNetwork \u6307\u5b9a\u5bb9\u5668\u540d\uff0c\u4fbf\u4e8e\u540e\u7eed\u7ba1\u7406 laningya\/uestc_auto_connect_network:v1 \u6211\u4eec\u524d\u9762\u6784\u5efa\u7684\u955c\u50cf\u540d\u79f0 <\/code><\/pre><img decoding=\"async\" src=\"images\/docker_run_ps.png\" alt=\"\"><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u9879\u76ee\u8d77\u56e0 \u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u4e00\u5927\u75db\u70b9\u662f\u5728\u8def\u7531\u5668\u65ad\u7535\u540e\uff0c\u9700\u8981\u624b\u52a8\u8fdb\u884c\u8eab\u4efd\u8ba4\u8bc1\u3002\u5728\u5916\u9762\u9047\u5230\u5bdd\u5ba4\u65ad\u7535\u6216\u8005\u65e9\u4e0a\u8d76\u65e9\u516b\uff0c\u800c\u6ca1\u6709 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c &ndash; Laning &#039;s Blog<\/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:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c &ndash; Laning &#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u9879\u76ee\u8d77\u56e0 \u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u4e00\u5927\u75db\u70b9\u662f\u5728\u8def\u7531\u5668\u65ad\u7535\u540e\uff0c\u9700\u8981\u624b\u52a8\u8fdb\u884c\u8eab\u4efd\u8ba4\u8bc1\u3002\u5728\u5916\u9762\u9047\u5230\u5bdd\u5ba4\u65ad\u7535\u6216\u8005\u65e9\u4e0a\u8d76\u65e9\u516b\uff0c\u800c\u6ca1\u6709 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/\" \/>\n<meta property=\"og:site_name\" content=\"Laning &#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-06T07:28:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-14T11:25:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"laning\" \/>\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\":\"WebSite\",\"@id\":\"https:\/\/blog.laning.org\/#website\",\"url\":\"https:\/\/blog.laning.org\/\",\"name\":\"\\u8fa3\\u5b81\\u7684\\u535a\\u5ba2\",\"description\":\"Learning on the go\",\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.laning.org\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#primaryimage\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png\",\"contentUrl\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png\",\"width\":1629,\"height\":556},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#webpage\",\"url\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/\",\"name\":\"\\u6821\\u56ed\\u7535\\u4fe1\\u5bbd\\u5e26\\u81ea\\u52a8\\u8fde\\u63a5\\u811a\\u672c &ndash; Laning &#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#primaryimage\"},\"datePublished\":\"2023-04-06T07:28:16+00:00\",\"dateModified\":\"2024-04-14T11:25:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"https:\/\/blog.laning.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\\u6821\\u56ed\\u7535\\u4fe1\\u5bbd\\u5e26\\u81ea\\u52a8\\u8fde\\u63a5\\u811a\\u672c\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#webpage\"},\"author\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"headline\":\"\\u6821\\u56ed\\u7535\\u4fe1\\u5bbd\\u5e26\\u81ea\\u52a8\\u8fde\\u63a5\\u811a\\u672c\",\"datePublished\":\"2023-04-06T07:28:16+00:00\",\"dateModified\":\"2024-04-14T11:25:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#webpage\"},\"wordCount\":130,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"image\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png\",\"articleSection\":[\"Github\",\"RaspberryPI\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\",\"name\":\"laning\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"caption\":\"laning\"},\"logo\":{\"@id\":\"https:\/\/blog.laning.org\/#personlogo\"},\"sameAs\":[\"https:\/\/blog.laning.org\"],\"url\":\"https:\/\/blog.laning.org\/index.php\/author\/laning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c &ndash; Laning &#039;s Blog","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:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c &ndash; Laning &#039;s Blog","og_description":"\u9879\u76ee\u8d77\u56e0 \u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u4e00\u5927\u75db\u70b9\u662f\u5728\u8def\u7531\u5668\u65ad\u7535\u540e\uff0c\u9700\u8981\u624b\u52a8\u8fdb\u884c\u8eab\u4efd\u8ba4\u8bc1\u3002\u5728\u5916\u9762\u9047\u5230\u5bdd\u5ba4\u65ad\u7535\u6216\u8005\u65e9\u4e0a\u8d76\u65e9\u516b\uff0c\u800c\u6ca1\u6709 [&hellip;]","og_url":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/","og_site_name":"Laning &#039;s Blog","article_published_time":"2023-04-06T07:28:16+00:00","article_modified_time":"2024-04-14T11:25:26+00:00","og_image":[{"url":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"laning","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/blog.laning.org\/#website","url":"https:\/\/blog.laning.org\/","name":"\u8fa3\u5b81\u7684\u535a\u5ba2","description":"Learning on the go","publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.laning.org\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#primaryimage","inLanguage":"zh-CN","url":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png","contentUrl":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png","width":1629,"height":556},{"@type":"WebPage","@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#webpage","url":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/","name":"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c &ndash; Laning &#039;s Blog","isPartOf":{"@id":"https:\/\/blog.laning.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#primaryimage"},"datePublished":"2023-04-06T07:28:16+00:00","dateModified":"2024-04-14T11:25:26+00:00","breadcrumb":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.laning.org\/"},{"@type":"ListItem","position":2,"name":"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c"}]},{"@type":"Article","@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#article","isPartOf":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#webpage"},"author":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"headline":"\u6821\u56ed\u7535\u4fe1\u5bbd\u5e26\u81ea\u52a8\u8fde\u63a5\u811a\u672c","datePublished":"2023-04-06T07:28:16+00:00","dateModified":"2024-04-14T11:25:26+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#webpage"},"wordCount":130,"commentCount":0,"publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"image":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/04\/1-3.png","articleSection":["Github","RaspberryPI"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.laning.org\/index.php\/2023\/04\/06\/211\/#respond"]}]},{"@type":["Person","Organization"],"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93","name":"laning","image":{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/#personlogo","inLanguage":"zh-CN","url":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","caption":"laning"},"logo":{"@id":"https:\/\/blog.laning.org\/#personlogo"},"sameAs":["https:\/\/blog.laning.org"],"url":"https:\/\/blog.laning.org\/index.php\/author\/laning\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/211"}],"collection":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":9,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":329,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/211\/revisions\/329"}],"wp:attachment":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}