{"id":2169,"date":"2025-07-12T15:27:07","date_gmt":"2025-07-12T07:27:07","guid":{"rendered":"https:\/\/jianwei.fun\/?p=2169"},"modified":"2025-07-12T15:40:54","modified_gmt":"2025-07-12T07:40:54","slug":"%e4%b8%80%e7%a7%8d%e7%8a%b6%e6%80%81%e6%9c%ba%e7%bc%96%e7%a8%8b%e6%80%9d%e6%83%b3","status":"publish","type":"post","link":"https:\/\/jianwei.fun\/?p=2169","title":{"rendered":"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3"},"content":{"rendered":"\n<p>\u5728\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u6211\u4eec\u9047\u5230\u6bd4\u8f83\u590d\u6742\u5e9e\u5927\u7684\u7cfb\u7edf\uff0c\u5404\u4e2a\u529f\u80fd\u6a21\u5757\u4e4b\u95f4\u76f8\u4e92\u8026\u5408\uff0c\u5728\u6ca1\u6709\u6e05\u6670\u7684\u4ee3\u7801\u7ed3\u6784\u7684\u60c5\u51b5\u4e0b\uff0c\u6574\u4e2a\u4ee3\u7801\u4f1a\u975e\u5e38\u6df7\u4e71\u4e14\u96be\u4ee5\u7ef4\u62a4\uff0c\u5bf9\u4e8e\u65b0\u589e\u7684\u9700\u6c42\u4e5f\u96be\u4ee5\u987a\u5229\u7684\u52a0\u5165\u8fdb\u53bb\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u4ecb\u7ecd\u4e00\u79cd\u72b6\u6001\u673a\u7684\u7f16\u7a0b\u601d\u60f3\uff0c\u65e8\u5728\u4f7f\u4ee3\u7801\u7ed3\u6784\u66f4\u52a0\u6e05\u6670\uff0c\u53ef\u6269\u5c55\u6027\u66f4\u5f3a\u3002\u6574\u4f53\u601d\u60f3\u5c31\u662f\uff1a\u5bf9\u4e8e\u4efb\u4f55\u4e00\u4e2a\u590d\u6742\u7cfb\u7edf\uff0c\u5b9e\u9645\u4e0a\u6211\u4eec\u90fd\u53ef\u4ee5\u628a\u5b83\u5206\u89e3\u6210\u4e00\u4e2a\u4e00\u4e2a\u72b6\u6001\uff0c\u7cfb\u7edf\u7684\u8fd0\u884c\u5b9e\u9645\u4e0a\u5c31\u662f\u5728\u4e0d\u540c\u72b6\u6001\u4e4b\u95f4\u53d1\u751f\u5207\u6362\uff0c\u5207\u6362\u7684\u8fc7\u7a0b\u5e94\u6ee1\u8db3\u4e00\u5b9a\u7684\u6761\u4ef6\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u79cd\u5b9e\u9645\u7684\u65b9\u6cd5\u8bba\uff0c\u4f7f\u5f97\u72b6\u6001\u673a\u7684\u8fd0\u884c\u8fc7\u7a0b\u2014\u2014\u72b6\u6001\u7684\u5207\u6362\u53d8\u6210\u4e00\u4e2a\u81ea\u52a8\u7684\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<p>\u4f8b\u5b50\uff1a\u6211\u4eec\u60f3\u8981\u63a7\u5236\u4e00\u8f86\u5c0f\u6c7d\u8f66\u9700\u8981\u76f4\u884c100\u7c73\uff0c\u7136\u540e\u53f3\u8f6c200\u7c73\uff0c\u5230\u8fbe\u76ee\u7684\u5730\u3002<\/p>\n\n\n\n<p>\u6211\u53ef\u4ee5\u628a\u5c0f\u6c7d\u8f66\u5206\u4e3a\u4ee5\u4e0b\u51e0\u79cd\u72b6\u6001\uff1a\u4e00\u3001\u9759\u6b62\u72b6\u6001\uff08\u4e5f\u662f\u5c0f\u6c7d\u8f66\u7684\u521d\u59cb\u72b6\u6001\uff09\uff1b\u4e8c\u3001\u53f3\u8f6c\u72b6\u6001\uff1b\u4e09\u3001\u76f4\u884c\u72b6\u6001\u3002<\/p>\n\n\n\n<p>\u5c0f\u6c7d\u8f66\u7684\u6574\u4e2a\u8fd0\u52a8\u8fc7\u7a0b\u6211\u4eec\u53ef\u4ee5\u7406\u89e3\u4e3a\uff1a<\/p>\n\n\n\n<p>1\u3001\u6700\u521d\u6c7d\u8f66\u5904\u4e8e\u9759\u6b62\u72b6\u6001\uff1b<\/p>\n\n\n\n<p>2\u3001\u6309\u4e0b\u5f00\u59cb\uff08\u72b6\u6001\u4ece\u9759\u6b62\u5230\u76f4\u884c\u7684\u5207\u6362\u6761\u4ef6\u6ee1\u8db3\uff09\uff0c\u6c7d\u8f66\u72b6\u6001\u5207\u6362\u4e3a\u76f4\u884c\u72b6\u6001\uff1b<\/p>\n\n\n\n<p>3\u3001\u6c7d\u8f66GPS\u68c0\u6d4b\u5230100\u7c73\u4f4d\u7f6e\u5230\u8fbe\uff08\u76f4\u884c\u72b6\u6001\u5207\u6362\u5230\u53f3\u8f6c\u72b6\u6001\u7684\u6761\u4ef6\u6ee1\u8db3\uff09\uff0c\u6c7d\u8f66\u5207\u6362\u5230\u53f3\u8f6c\u72b6\u6001\uff1b<\/p>\n\n\n\n<p>4\u3001GPS\u68c0\u6d4b\u5230\u8f6c\u5411\u5b8c\u6210\u4e4b\u540e\uff08\u53f3\u8f6c\u72b6\u6001\u5207\u6362\u5230\u6267\u884c\u72b6\u6001\u7684\u6761\u4ef6\u6ee1\u8db3\uff09\uff0c\u6c7d\u8f66\u56de\u6b63\u65b9\u5411\u76d8\uff0c\u8fdb\u5165\u76f4\u884c\u72b6\u6001\uff1b<\/p>\n\n\n\n<p>5\u3001GPS\u68c0\u6d4b\u5230200\u7c73\u4f4d\u7f6e\u5230\u8fbe\uff08\u76f4\u884c\u72b6\u6001\u5230\u9759\u6b62\u72b6\u6001\u7684\u5207\u6362\u6761\u4ef6\u6ee1\u8db3\uff09\uff0c\u6c7d\u8f66\u5239\u8f66\uff0c\u8fdb\u5165\u505c\u6b62\u72b6\u6001\u3002<\/p>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u6574\u4e2a\u8fc7\u7a0b\u90fd\u53ef\u4ee5\u5206\u89e3\u4e3a\u72b6\u6001\u548c\u72b6\u6001\u7684\u5207\u6362\uff0c\u4e0b\u9762\u5f00\u59cb\u4ecb\u7ecd\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u4ee5\u56db\u4e2a\u72b6\u6001\u4e3a\u4f8b\uff0c\u72b6\u6001\u5207\u6362\u56fe\u5982\u4e0b\uff1a<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/jianwei.fun\/wp-content\/uploads\/2025\/07\/image.png\"><img decoding=\"async\" loading=\"lazy\" width=\"512\" height=\"448\" src=\"https:\/\/jianwei.fun\/wp-content\/uploads\/2025\/07\/image.png\" alt=\"\" class=\"wp-image-2181\" srcset=\"https:\/\/jianwei.fun\/wp-content\/uploads\/2025\/07\/image.png 512w, https:\/\/jianwei.fun\/wp-content\/uploads\/2025\/07\/image-300x263.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/figure><\/div>\n\n\n<p>\u4e00\u3001\u72b6\u6001<\/p>\n\n\n\n<p>\u4ee5\u4e00\u4e2a\u679a\u4e3e\u7c7b\u578b\u6570\u636e\uff0c\u8bb0\u5f55\u6240\u6709\u72b6\u6001<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>typedef enum\n{\n\tSYSTEM_STATE_1 = 0,\/\/\u72b6\u60011\n\tSYSTEM_STATE_2,    \/\/\u72b6\u60012\n\tSYSTEM_STATE_3,    \/\/\u72b6\u60013\n\tSYSTEM_STATE_4,    \/\/\u72b6\u60014\n}SYSTEM_STATE_e;<\/code><\/pre>\n\n\n\n<p>\u4e8c\u3001\u72b6\u6001\u52a8\u4f5c\u548c\u72b6\u6001\u5207\u6362<\/p>\n\n\n\n<p>\u4ee5\u4e24\u4e2a\u7ed3\u6784\u4f53\u8bb0\u5f55\u72b6\u6001\u673a\u7684\uff1a\u5f53\u524d\u72b6\u6001\u3001\u5f53\u524d\u72b6\u6001\u6240\u8981\u6267\u884c\u7684\u52a8\u4f5c\uff08\u5305\u62ec\u521d\u59cb\u5316\u52a8\u4f5c\u548c\u8f6e\u8be2\u52a8\u4f5c\uff09\u3001\u662f\u5426\u6ee1\u8db3\u72b6\u6001\u5207\u6362\u6761\u4ef6\u3001\u6761\u4ef6\u6ee1\u8db3\u540e\u5e94\u5207\u6362\u5230\u4e0b\u4e00\u4e2a\u662f\u4ec0\u4e48\u72b6\u6001\u3002<\/p>\n\n\n\n<p>\u9996\u5148\u770b\u7b2c\u4e00\u4e2a\u7ed3\u6784\u4f53\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>typedef struct\n{\n\tuint8_t mu8_workState;             \/\/\u5de5\u4f5c\u72b6\u6001\n\tvoid (*ctlInit)( uint8_t param );  \/\/\u6b64\u5de5\u4f5c\u72b6\u6001\u4e0b\u7684\u521d\u59cb\u5316\u51fd\u6570\u6307\u9488\n\tvoid (*ctlLoop)( uint8_t param );  \/\/\u6b64\u5de5\u4f5c\u72b6\u6001\u4e0b\u7684\u8f6e\u8be2\u51fd\u6570\u6307\u9488\n}SYSTEM_STATE_WORK_t;<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d\u5305\u542b\uff1a<\/p>\n\n\n\n<p>\u5de5\u4f5c\u72b6\u6001\uff1amu8_workState\uff0c\u975e\u7cfb\u7edf\u5b9e\u9645\u8fd0\u884c\u7684\u72b6\u6001\uff0c\u662f\u4e00\u4e2a\u6570\u636e\u8868\uff0c\u4e0d\u65ad\u67e5\u8be2\u7cfb\u7edf\u72b6\u6001\u4e0e\u6b64\u6570\u636e\u8868\u5bf9\u6bd4<\/p>\n\n\n\n<p>\u6b64\u5de5\u4f5c\u72b6\u6001\u4e0b\u6240\u8981\u76f4\u884c\u7684Init\u52a8\u4f5c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void (*ctlInit)( uint8_t param );<\/code><\/pre>\n\n\n\n<p>\u6b64\u5de5\u4f5c\u72b6\u6001\u4e0b\u6240\u8981\u6267\u884c\u7684Loop\u52a8\u4f5c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void (*ctlLoop)( uint8_t param );<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d\uff0c\u540e\u4e24\u8005\u4e3a\u51fd\u6570\u6307\u9488\uff0c\u5177\u4f53\u7684\u51fd\u6570\u5b9e\u73b0\uff0c\u6839\u636e\u5404\u4e2a\u72b6\u6001\u4e0b\u7684\u52a8\u4f5c\u81ea\u884c\u5b9e\u73b0\u3002<\/p>\n\n\n\n<p>\u5e94\u6ce8\u610f\uff0c\u4ece\u7ed3\u6784\u4f53\u4ec5\u4ec5\u4e3a\u4e00\u4e2a\u6570\u636e\u7ed3\u6784\uff0c\u5185\u5bb9\u53ea\u5305\u542b\u4e00\u4e2a\u72b6\u6001\u4e0b\u7684\u4fe1\u606f\uff0c\u4e00\u4e2a\u7cfb\u7edf\u5305\u542b\u5f88\u591a\u72b6\u6001\uff0c\u540e\u9762\u4f1a\u4f7f\u7528\u6b64\u6570\u636e\u7ed3\u6784\uff0c\u5b9a\u4e49\u4e00\u4e2a\u7ed3\u6784\u4f53\u6570\u7ec4\uff0c\u7c7b\u4f3c\u4e00\u4e2a\u5217\u8868\uff0c\u5b58\u50a8\u591a\u4e2a\u72b6\u6001\u4e0b\u7684\u4fe1\u606f\uff0c\u72b6\u6001\u673a\u53bb\u67e5\u8be2\u8fd9\u4e2a\u8868\u683c\uff0c\u5224\u5b9a\u7cfb\u7edf\u72b6\u6001\uff0c\u6267\u884c\u5bf9\u5e94\u72b6\u6001\u7684\u51fd\u6570\u3002<\/p>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u7b2c\u4e00\u4e2a\u7ed3\u6784\u4f53\u5185\u5b58\u50a8\u7684\u4fe1\u606f\uff0c\u5305\u542b\u4e86\u5404\u4e2a\u72b6\u6001\u548c\u72b6\u6001\u4e0b\u7684\u6267\u884c\u52a8\u4f5c\u3002<\/p>\n\n\n\n<p>\u4f46\u4e0d\u6d89\u53ca\u72b6\u6001\u7684\u5207\u6362\uff0c\u8fd9\u5c31\u662f\u7b2c\u4e8c\u4e2a\u7ed3\u6784\u4f53\u7684\u529f\u80fd\u4e86\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e8c\u4e2a\u7ed3\u6784\u4f53\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>typedef struct\n{\n\tuint8_t mu8_workState;                  \/\/\u5de5\u4f5c\u72b6\u6001\n\tbool (*stateCheck)( uint8_t param );    \/\/\u72b6\u6001\u5207\u6362\u7684\u5224\u5b9a\u51fd\u6570\n\tuint8_t mu8_nextWorkState;              \/\/\u6ee1\u8db3\u5207\u6362\u6761\u4ef6\u4e4b\u540e\u7684\u4e0b\u4e00\u4e2a\u72b6\u6001\n}SYSTEM_STATE_CHECK_t;<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d\u5305\u542b\uff1a<\/p>\n\n\n\n<p>\u5de5\u4f5c\u72b6\u6001\uff1amu8_workState\uff0c\u975e\u7cfb\u7edf\u8fd0\u884c\u7684\u5b9e\u65f6\u72b6\u6001\uff0c\u7cfb\u7edf\u8fd0\u884c\u7684\u5b9e\u65f6\u72b6\u6001\u7531\u53e6\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\u5b58\u50a8\uff0c\u6b64\u5904\u7684\u72b6\u6001\u53ea\u662f\u6570\u636e\u8868\uff0c\u901a\u8fc7\u8f6e\u8be2\u6bd4\u5bf9\u7cfb\u7edf\u8fd0\u884c\u72b6\u6001\u5168\u5c40\u53d8\u91cf\u4e0e\u6b64\u6570\u636e\u8868\u8fdb\u884c\u5bf9\u6bd4\uff0c\u786e\u5b9a\u5e94\u6267\u884c\u4ec0\u4e48\u52a8\u4f5c\uff0c\u8fdb\u884c\u4ec0\u4e48\u5224\u65ad\u3002<\/p>\n\n\n\n<p>\u72b6\u6001\u673a\u5728\u6b64\u72b6\u6001\u4e0b\uff0c\u5e94\u6267\u884c\u7684\u5224\u65ad\u72b6\u6001\u5207\u6362\u7684\u51fd\u6570\u6307\u9488\uff1abool (*stateCheck)( uint8_t param );<\/p>\n\n\n\n<p>\u6ee1\u8db3\u5207\u6362\u6761\u4ef6\u540e\u7684\u5e94\u5207\u6362\u5230\u7684\u4e0b\u4e00\u4e2a\u72b6\u6001\uff1amu8_nextWorkState<\/p>\n\n\n\n<p>\u6ce8\u610f\uff0c\u6b64\u6570\u636e\u7ed3\u6784\u4e5f\u4ec5\u662f\u4e3a\u5217\u8868\u4f7f\u7528\uff0c\u8fd9\u4e2a\u6570\u636e\u8868\u7684\u4e00\u4e2a\u5de8\u5927\u4f5c\u7528\u662f\uff0c\u53ef\u4ee5\u89c4\u5b9a\u4ece\u67d0\u4e00\u4e2a\u72b6\u6001\u5207\u6362\u5230\u53e6\u4e00\u4e2a\u72b6\u6001\u7684\u5207\u6362\u8def\u5f84\uff08\u5207\u6362\u524d\u7684\u72b6\u6001\uff0c\u6ee1\u8db3\u67d0\u4e9b\u6761\u4ef6\uff0c\u5207\u6362\u540e\u7684\u72b6\u6001\uff09\uff0c\u5728\u6b64\u6570\u636e\u8868\u5185\u672a\u8bb0\u5f55\u7684\u72b6\u6001\u5207\u6362\u8def\u5f84\uff0c\u662f\u4e0d\u53ef\u80fd\u53d1\u751f\u7684\uff0c\u7531\u6b64\u6211\u4eec\u53ef\u4ee5\u7cbe\u786e\u7684\u63a7\u5236\u6240\u6709\u7684\u72b6\u6001\u5207\u6362\u3002<\/p>\n\n\n\n<p>\u4e09\u3001\u72b6\u6001\u6570\u636e\u5217\u8868<\/p>\n\n\n\n<p>\u524d\u9762\u8bf4\u5230\uff0c\u4e24\u4e2a\u6570\u636e\u7ed3\u6784\u90fd\u662f\u5bf9\u5355\u4e00\u72b6\u6001\u7684\u4fe1\u606f\uff0c\u5176\u76ee\u7684\u662f\u4e3a\u4e86\u5217\u7ed3\u6784\u4f53\u6570\u7ec4\u8868<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>static SYSTEM_STATE_WORK_t workPerform&#91;4] = {\n\n\/\/\u72b6\u60011\u4e0b \u521d\u59cb\u5316\u51fd\u6570\uff1aState_1_Init \u5faa\u73af\u4f53\uff1aState_1_Loop\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_1,State_1_Init,State_1_Loop},\n\n\/\/\u72b6\u60012\u4e0b \u521d\u59cb\u5316\u51fd\u6570\uff1aState_2_Init \u5faa\u73af\u4f53\uff1aState_2_Loop\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_2,State_2_Init,State_2_Loop},\n\n\/\/\u72b6\u60013\u4e0b \u521d\u59cb\u5316\u51fd\u6570\uff1aState_3_Init \u5faa\u73af\u4f53\uff1aState_3_Loop\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_3,State_3_Init,State_3_Loop},\n\n\/\/\u72b6\u60014\u4e0b \u521d\u59cb\u5316\u51fd\u6570\uff1aState_4_Init \u5faa\u73af\u4f53\uff1aState_4_Loop\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_4,State_4_Init,State_4_Loop},\n\t\t\t\t\t\t\t \n};<\/code><\/pre>\n\n\n\n<p>\u7b2c\u4e00\u5f20\u8868\u8bb0\u5f55\u4e86\u56db\u79cd\u72b6\u6001\u4e0b\u7684\uff0c\u521d\u59cb\u5316\u51fd\u6570\u548c\u5faa\u73af\u51fd\u6570\u7684\u51fd\u6570\u6307\u9488\uff0c\u521d\u59cb\u5316\u51fd\u6570\u5185\u6267\u884c\u8fdb\u5165\u6b64\u72b6\u6001\u540e\u53ea\u9700\u8981\u6267\u884c\u4e00\u6b21\u7684\u52a8\u4f5c\uff0c\u5982\u53d8\u91cf\u6e05\u96f6\u7b49\uff0c\u5faa\u73af\u51fd\u6570\u4e0b\u6267\u884c\u9700\u8981\u4e00\u76f4\u8f6e\u8be2\u7684\u52a8\u4f5c\u3002\u63a5\u4e0b\u6765\u770b\u7b2c\u4e8c\u5f20\u8868<\/p>\n\n\n\n<p>\u7531\u72b6\u6001\u5207\u6362\u56fe\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u72b6\u6001\u7684\u5207\u6362\u60c5\u51b5\uff1a<\/p>\n\n\n\n<p>\u72b6\u60012\u53ef\u4ee5\u5207\u6362\u7684\u8def\u5f84\u6709\uff1a<\/p>\n\n\n\n<p>\u72b6\u60012&#8212;&gt;\u72b6\u60011\uff1b<\/p>\n\n\n\n<p>\u72b6\u60012&#8212;&gt;\u72b6\u60013\uff1b<\/p>\n\n\n\n<p>\u72b6\u60012&#8212;&gt;\u72b6\u60014\uff1b<\/p>\n\n\n\n<p>\u8f6c\u5316\u4e3a\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>static SYSTEM_STATE_CHECK_t stateCheckPerform&#91;] =  {\n\t\t\t\t\t\t\t\t\t\t\t\t{SYSTEM_STSTE_2,System_State_1_Check,SYSTEM_STATE_1},\n\t\t\t\t\t\t\t\t\t\t\t\t{SYSTEM_STSTE_2,System_State_3_Check,SYSTEM_STATE_3},\n\t\t\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_2,System_State_4_Check,SYSTEM_STATE_4},\n\n};<\/code><\/pre>\n\n\n\n<p>\u4ee3\u7801\u89e3\u91ca:\u72b6\u60012\u4e0b\uff0c\u72b6\u6001\u673a\u4e0d\u65ad\u67e5\u8be2\u6b64\u8868\u683c\uff0c\u662f\u5426\u6ee1\u8db3\u5207\u6362\u5230\u72b6\u60011\u30013\u30014\u7684\u6761\u4ef6\uff0cSystem_State_x_Check\u4e3a\u5224\u65ad\u51fd\u6570\uff0c\u5224\u65ad\u72b6\u6001\u5207\u6362\u7684\u903b\u8f91\u53ef\u4ee5\u5199\u5728\u6b64\u51fd\u6570\u5185\uff0c\u82e5\u6ee1\u8db3\u6761\u4ef6\u5219\u8fd4\u56detrue\uff0c\u5426\u5219\u8fd4\u56defalse\uff0c\u82e5\u8fd4\u56detrue\uff0c\u72b6\u6001\u5219\u5207\u6362\u5230\u7b2c\u4e09\u4e2a\u5143\u7d20\u8bb0\u5f55\u7684\u72b6\u6001\uff08\u72b6\u60011\u6216\u72b6\u60013\u6216\u72b6\u60014\uff09<\/p>\n\n\n\n<p>\u540c\u6837\u7684\uff1a<\/p>\n\n\n\n<p>\u72b6\u60013\u53ef\u4ee5\u5207\u6362\u7684\u8def\u5f84\u6709\uff1a<\/p>\n\n\n\n<p>\u72b6\u60013&#8212;&gt;\u72b6\u60011\uff1b<\/p>\n\n\n\n<p>\u72b6\u60013&#8212;&gt;\u72b6\u60014\uff1b<\/p>\n\n\n\n<p>\u72b6\u60014\u53ef\u4ee5\u5207\u6362\u7684\u8def\u5f84\u6709\uff1a<\/p>\n\n\n\n<p>\u72b6\u60014&#8212;&gt;\u72b6\u60011 \uff1b<\/p>\n\n\n\n<p>\u6211\u4eec\u628a\u6240\u6709\u7684\u5207\u6362\u8def\u5f84\u5408\u6210\u4e00\u5f20\u5927\u8868\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>static SYSTEM_STATE_CHECK_t stateCheckPerform&#91;] =  {\n\t\t\t\t\t\t\t\t\t\t\t\t{SYSTEM_STSTE_2,System_State_1_Check,SYSTEM_STATE_1},\n\t\t\t\t\t\t\t\t\t\t\t\t{SYSTEM_STSTE_2,System_State_3_Check,SYSTEM_STATE_3},\n\t\t\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_2,System_State_4_Check,SYSTEM_STATE_4},\n\t\t\t\t\t\t\t\t\t\t{SYSTEM_STATE_3,System_State_1_Check,SYSTEM_STATE_1},\n\n{SYSTEM_STATE_3,System_State_4_Check,SYSTEM_STATE_4},\n\n{SYSTEM_STATE_4,System_State_1_Check,SYSTEM_STATE_1},\n\n};<\/code><\/pre>\n\n\n\n<p>\u56db\u3001\u72b6\u6001\u673a\u903b\u8f91\u51fd\u6570<\/p>\n\n\n\n<p>\u4e24\u5f20\u8868\u683c\u5217\u5b8c\u4ee5\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528\u8fd9\u4e24\u5f20\u8868\u683c\u6765\u8fdb\u884c\u72b6\u6001\u673a\u903b\u8f91\u7684\u7f16\u5199\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>void systemRunning( void )\n{\n    \/*\u5faa\u73af\u67e5\u8be2\u7cfb\u7edf\u72b6\u6001*\/\n    for(uint8_t i = 0 ; i &lt; (sizeof(workPerform)\/sizeof(workPerform&#91;0])) ; i ++)\n    {\n        \/*u8_systemState\u8bb0\u5f55\u7cfb\u7edf\u5f53\u524d\u72b6\u6001\uff0c\u4e0e\u8868\u5185\u6bcf\u4e2a\u7ed3\u6784\u4f53\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u6210\u5458\u5bf9\u6bd4*\/\n        if(u8_systemState == workPerform&#91;i].mu8_workState)\n        {\n            \/*u8_systemStateLast\u8bb0\u5f55\u4e0a\u4e00\u6b21\u72b6\u6001\uff0c\u72b6\u6001\u7684\u4e00\u9636\u5386\u53f2\uff0c\u7528\u4e8e\u72b6\u6001\u521d\u59cb\u5316\u6267\u884c\u5224\u65ad*\/\n            if(u8_systemStateLast != u8_systemState&#91;encoder])\n            {\n                \/*\u5386\u53f2\u72b6\u6001\u548c\u5f53\u524d\u72b6\u6001\u4e0d\u540c\uff0c\u72b6\u6001\u521a\u53d1\u751f\u5207\u6362\uff0c\u6267\u884c\u4e00\u6b21\u521d\u59cb\u5316*\/\n                workPerform&#91;i].ctlInit(encoder);\n                \/*\u540c\u6b65\u72b6\u6001\u5386\u53f2\u6570\u636e\uff0c\u9632\u6b62\u72b6\u6001\u521d\u59cb\u5316\u51fd\u6570\u91cd\u590d\u6267\u884c*\/\n                u8_systemStateLast&#91;encoder] = u8_systemState&#91;encoder];\n            }\n            \/*\u6267\u884c\u5f53\u524d\u72b6\u6001\u4e0b\u7684\u5faa\u73af\u51fd\u6570*\/\n            workPerform&#91;i].ctlLoop(encoder);\n            \/*\u72b6\u6001\u5207\u6362\u51fd\u6570*\/\n            systemStateSwitch();\n\t    break;\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u53ef\u4ee5\u770b\u51fa\uff0c\u6211\u4eec\u4f7f\u7528\u4e00\u4e2a\u5b58\u50a8\u7cfb\u7edf\u5f53\u524d\u72b6\u6001\u548c\u524d\u4e00\u6b21\u72b6\u6001\u7684\u53d8\u91cf\uff0c\u4e0d\u65ad\u53bb\u67e5\u8868\uff0c\u67e5\u5230\u7cfb\u7edf\u5f53\u524d\u72b6\u6001\u4e0e\u628a\u8868\u5185\u543b\u5408\u65f6\uff0c\u5c31\u6267\u884c\u5bf9\u5e94\u7684\u521d\u59cb\u5316\u548c\u5faa\u73af\u51fd\u6570\u3002\u5176\u4e2d\u8fd8\u5305\u542b\u4e00\u4e2a\u72b6\u6001\u81ea\u52a8\u5207\u6362\u7684\u51fd\u6570\uff0c\u8fd9\u5c31\u9700\u8981\u4f7f\u7528\u524d\u9762\u6240\u8bf4\u7684\u7b2c\u4e8c\u4e2a\u7ed3\u6784\u4f53\u7684\u5185\u5bb9\u4e86\uff0c\u4e0b\u9762\u5f00\u59cb\u4ecb\u7ecd\u72b6\u6001\u5207\u6362\u51fd\u6570\u662f\u5982\u4f55\u5b9e\u73b0\u72b6\u6001\u7684\u81ea\u52a8\u5207\u6362\u7684\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-small-font-size\"><code>void systemStateSwitch( void )\n{\n    \/*\u904d\u5386\u72b6\u6001\u5207\u6362\u8868*\/\n    for ( uint8_t i = 0;i &lt; (sizeof(stateCheckPerform)\/sizeof(stateCheckPerform&#91;0])) ;i ++ )\n    {\n        \/*\u53ea\u67e5\u8be2\u5f53\u524d\u72b6\u6001\u4e0b\u7684\u8def\u5f84*\/\n        if(u8_systemState == stateCheckPerform&#91;i].mu8_workState)\n        {\n            \/*\u72b6\u6001\u5207\u6362\u6761\u4ef6\u662f\u5426\u6ee1\u8db3*\/\n            if(stateCheckPerform&#91;i].stateCheck(encoder) == true)\n            {\n                \/*\u6ee1\u8db3\u5219\u5207\u6362\u72b6\u6001*\/\n                u8_systemState&#91;encoder] = stateCheckPerform&#91;i].mu8_nextWorkState;\n                break;\n            }\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u5176\u5b9e\u5c31\u662f\u67e5\u7b2c\u4e8c\u5f20\u8868\u683c\uff0c\u90a3\u7cfb\u7edf\u5f53\u524d\u72b6\u6001\u4e0e\u7b2c\u4e8c\u5f20\u8868\u7684\u6bcf\u4e2a\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u6210\u5458\u8fdb\u884c\u5bf9\u6bd4\uff0c\u76f8\u5f53\u4e8e\u67e5\u8be2\u5f53\u524d\u72b6\u6001\u4e0b\u6240\u6709\u7684\u72b6\u6001\u5207\u6362\u8def\u5f84\uff0c\u770b\u5176Check\u51fd\u6570\u7684\u8fd4\u56de\u503c\u662f\u5426\u662ftrue\uff0c\u82e5\u8fd4\u56detrue,\u5219\u72b6\u6001\u53d1\u751f\u5207\u6362\uff0c\u8def\u8d70\u901a\u4e86\uff0c\u7136\u540e\u7ee7\u7eed\u67e5\u8be2\u65b0\u7684\u72b6\u6001\u4e0b\u5bf9\u5e94\u7684\u6240\u4ee5\u6709\u5207\u6362\u8def\u5f84\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u5c31\u53ef\u4ee5\u4f53\u4f1a\u5230\uff0c\u524d\u9762\u4e24\u5f20\u8868\u683c\u7684\u5de8\u5927\u4f5c\u7528\uff0c\u6240\u6709\u7684\u72b6\u6001\u5207\u6362\u8def\u5f84\u90fd\u5df2\u7ecf\u5728\u8868\u683c\u91cc\u9762\u89c4\u5b9a\u597d\u4e86\uff0c\u6211\u4eec\u8981\u505a\u7684\u53ea\u662f\u53bb\u67e5\u8be2\u8fd9\u4e2a\u8def\u5f84\u80fd\u4e0d\u80fd\u8d70\u5f97\u901a\uff08Check\u51fd\u6570\u662f\u5426\u8fd4\u56detrue\uff09\uff0c\u4e00\u4e2a\u72b6\u6001\u4e0b\u53ef\u80fd\u6709\u51e0\u6761\u8def\u5f84\uff0c\u5bf9\u5e94\u5230\u8868\u91cc\u9762\u5c31\u662f\u6709\u51e0\u884c\uff0c\u67e5\u5c31\u5b8c\u4e86\u3002<\/p>\n\n\n\n<p>\u7ed3\u675f\uff0c\u518d\u89c1<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"entry-summary\">\n\u5728\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u6211\u4eec\u9047\u5230\u6bd4\u8f83&hellip;\n<\/div>\n<div class=\"link-more\"><a href=\"https:\/\/jianwei.fun\/?p=2169\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &ldquo;\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3&rdquo;<\/span>&hellip;<\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vk_price":0},"categories":[6,95],"tags":[98,96,99],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3 - \u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9<\/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:\/\/jianwei.fun\/?p=2169\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3 - \u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9\" \/>\n<meta property=\"og:description\" content=\"\u5728\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u6211\u4eec\u9047\u5230\u6bd4\u8f83&hellip; Continue reading &ldquo;\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3&rdquo;&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jianwei.fun\/?p=2169\" \/>\n<meta property=\"og:site_name\" content=\"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hou\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-12T07:27:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-12T07:40:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jianwei.fun\/wp-content\/uploads\/2025\/07\/image.png\" \/>\n<meta name=\"author\" content=\"Houjianwei\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hou\" \/>\n<meta name=\"twitter:site\" content=\"@hou\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Houjianwei\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jianwei.fun\/?p=2169#article\",\"isPartOf\":{\"@id\":\"https:\/\/jianwei.fun\/?p=2169\"},\"author\":{\"name\":\"Houjianwei\",\"@id\":\"https:\/\/jianwei.fun\/#\/schema\/person\/88cea021deda9873b6e75b0687fd5956\"},\"headline\":\"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3\",\"datePublished\":\"2025-07-12T07:27:07+00:00\",\"dateModified\":\"2025-07-12T07:40:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jianwei.fun\/?p=2169\"},\"wordCount\":40,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/jianwei.fun\/#organization\"},\"keywords\":[\"\u5d4c\u5165\u5f0f\u8f6f\u4ef6\",\"\u72b6\u6001\u673a\",\"\u7f16\u7a0b\u601d\u60f3\"],\"articleSection\":[\"STM32\",\"\u7f16\u7a0b\u6280\u5de7\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/jianwei.fun\/?p=2169#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jianwei.fun\/?p=2169\",\"url\":\"https:\/\/jianwei.fun\/?p=2169\",\"name\":\"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3 - \u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9\",\"isPartOf\":{\"@id\":\"https:\/\/jianwei.fun\/#website\"},\"datePublished\":\"2025-07-12T07:27:07+00:00\",\"dateModified\":\"2025-07-12T07:40:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jianwei.fun\/?p=2169#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jianwei.fun\/?p=2169\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jianwei.fun\/?p=2169#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/jianwei.fun\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jianwei.fun\/#website\",\"url\":\"https:\/\/jianwei.fun\/\",\"name\":\"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9\",\"description\":\"\u83dc\u9e1f\u6210\u957f\u4e4b\u8def\",\"publisher\":{\"@id\":\"https:\/\/jianwei.fun\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jianwei.fun\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jianwei.fun\/#organization\",\"name\":\"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9\",\"url\":\"https:\/\/jianwei.fun\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/jianwei.fun\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jianwei.fun\/wp-content\/uploads\/2021\/10\/cropped-cropped-monkey-1.png\",\"contentUrl\":\"https:\/\/jianwei.fun\/wp-content\/uploads\/2021\/10\/cropped-cropped-monkey-1.png\",\"width\":203,\"height\":203,\"caption\":\"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9\"},\"image\":{\"@id\":\"https:\/\/jianwei.fun\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/hou\",\"https:\/\/twitter.com\/hou\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/jianwei.fun\/#\/schema\/person\/88cea021deda9873b6e75b0687fd5956\",\"name\":\"Houjianwei\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/jianwei.fun\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/88e7907f36adcd968cc7ce6e019c641a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/88e7907f36adcd968cc7ce6e019c641a?s=96&d=mm&r=g\",\"caption\":\"Houjianwei\"},\"sameAs\":[\"https:\/\/jianwei.fun\"],\"url\":\"https:\/\/jianwei.fun\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3 - \u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9","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:\/\/jianwei.fun\/?p=2169","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3 - \u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9","og_description":"\u5728\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u5f53\u6211\u4eec\u9047\u5230\u6bd4\u8f83&hellip; Continue reading &ldquo;\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3&rdquo;&hellip;","og_url":"https:\/\/jianwei.fun\/?p=2169","og_site_name":"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9","article_publisher":"https:\/\/www.facebook.com\/hou","article_published_time":"2025-07-12T07:27:07+00:00","article_modified_time":"2025-07-12T07:40:54+00:00","og_image":[{"url":"https:\/\/jianwei.fun\/wp-content\/uploads\/2025\/07\/image.png"}],"author":"Houjianwei","twitter_card":"summary_large_image","twitter_creator":"@hou","twitter_site":"@hou","twitter_misc":{"\u4f5c\u8005":"Houjianwei","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jianwei.fun\/?p=2169#article","isPartOf":{"@id":"https:\/\/jianwei.fun\/?p=2169"},"author":{"name":"Houjianwei","@id":"https:\/\/jianwei.fun\/#\/schema\/person\/88cea021deda9873b6e75b0687fd5956"},"headline":"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3","datePublished":"2025-07-12T07:27:07+00:00","dateModified":"2025-07-12T07:40:54+00:00","mainEntityOfPage":{"@id":"https:\/\/jianwei.fun\/?p=2169"},"wordCount":40,"commentCount":0,"publisher":{"@id":"https:\/\/jianwei.fun\/#organization"},"keywords":["\u5d4c\u5165\u5f0f\u8f6f\u4ef6","\u72b6\u6001\u673a","\u7f16\u7a0b\u601d\u60f3"],"articleSection":["STM32","\u7f16\u7a0b\u6280\u5de7"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jianwei.fun\/?p=2169#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jianwei.fun\/?p=2169","url":"https:\/\/jianwei.fun\/?p=2169","name":"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3 - \u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9","isPartOf":{"@id":"https:\/\/jianwei.fun\/#website"},"datePublished":"2025-07-12T07:27:07+00:00","dateModified":"2025-07-12T07:40:54+00:00","breadcrumb":{"@id":"https:\/\/jianwei.fun\/?p=2169#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jianwei.fun\/?p=2169"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jianwei.fun\/?p=2169#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/jianwei.fun\/"},{"@type":"ListItem","position":2,"name":"\u4e00\u79cd\u72b6\u6001\u673a\u7f16\u7a0b\u601d\u60f3"}]},{"@type":"WebSite","@id":"https:\/\/jianwei.fun\/#website","url":"https:\/\/jianwei.fun\/","name":"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9","description":"\u83dc\u9e1f\u6210\u957f\u4e4b\u8def","publisher":{"@id":"https:\/\/jianwei.fun\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jianwei.fun\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/jianwei.fun\/#organization","name":"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9","url":"https:\/\/jianwei.fun\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/jianwei.fun\/#\/schema\/logo\/image\/","url":"https:\/\/jianwei.fun\/wp-content\/uploads\/2021\/10\/cropped-cropped-monkey-1.png","contentUrl":"https:\/\/jianwei.fun\/wp-content\/uploads\/2021\/10\/cropped-cropped-monkey-1.png","width":203,"height":203,"caption":"\u4faf\u5148\u751f\u7684\u6280\u672f\u5c0f\u7ad9"},"image":{"@id":"https:\/\/jianwei.fun\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hou","https:\/\/twitter.com\/hou"]},{"@type":"Person","@id":"https:\/\/jianwei.fun\/#\/schema\/person\/88cea021deda9873b6e75b0687fd5956","name":"Houjianwei","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/jianwei.fun\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/88e7907f36adcd968cc7ce6e019c641a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/88e7907f36adcd968cc7ce6e019c641a?s=96&d=mm&r=g","caption":"Houjianwei"},"sameAs":["https:\/\/jianwei.fun"],"url":"https:\/\/jianwei.fun\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/jianwei.fun\/index.php?rest_route=\/wp\/v2\/posts\/2169"}],"collection":[{"href":"https:\/\/jianwei.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianwei.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianwei.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jianwei.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2169"}],"version-history":[{"count":23,"href":"https:\/\/jianwei.fun\/index.php?rest_route=\/wp\/v2\/posts\/2169\/revisions"}],"predecessor-version":[{"id":2195,"href":"https:\/\/jianwei.fun\/index.php?rest_route=\/wp\/v2\/posts\/2169\/revisions\/2195"}],"wp:attachment":[{"href":"https:\/\/jianwei.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianwei.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianwei.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}