{"id":110863,"date":"2026-09-29T15:24:51","date_gmt":"2026-09-29T07:24:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/110863.html"},"modified":"2026-09-29T15:24:51","modified_gmt":"2026-09-29T07:24:51","slug":"%e4%b8%80%e6%9d%a1-tcp%ef%bc%8c%e4%b8%a4%e7%a7%8d%e9%87%87%e6%a0%b7%ef%bc%9a%e7%94%a8-etheradapter-%e6%8a%8a%e7%8e%b0%e5%9c%ba%e8%ae%be%e5%a4%87%e6%95%b0%e6%8d%ae%e6%b1%87%e8%bf%9b-etherdb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/110863.html","title":{"rendered":"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB"},"content":{"rendered":"<h3>\u4e00\u3001\u5148\u8bf4\u8bf4\u73b0\u573a\u7684\u4e94\u4e2a\u771f\u5b9e\u56f0\u6270<\/h3>\n<p>\u505a\u8fc7\u8bbe\u5907\u6570\u636e\u63a5\u5165\u7684\u4eba\u90fd\u9047\u5230\u8fc7\u8fd9\u4e9b&#xff1a;<\/p>\n<li>\u8bbe\u5907\u534f\u8bae\u4e94\u82b1\u516b\u95e8\u3002 \u6bcf\u6765\u4e00\u79cd\u8bbe\u5907\u5c31\u8981\u5199\u4e00\u6bb5\u89e3\u6790\u4ee3\u7801&#xff0c;\u6539\u4e00\u6b21\u7f16\u8bd1\u4e00\u6b21&#xff0c;<br \/>\n\u73b0\u573a\u8fd8\u4e0d\u80fd\u505c\u3002<\/li>\n<li>\u4e00\u53f0\u8bbe\u5907\u8981\u4e24\u79cd\u6570\u636e\u3002 \u5e73\u65f6 1Hz \u91c7 20 \u4e2a\u6d4b\u70b9&#xff1b;\u4e00\u65e6\u89e6\u53d1\u4e8b\u4ef6&#xff0c;\u91c7\u6837\u7387\u8981\u62c9\u9ad8\u3001<br \/>\n\u6d4b\u70b9\u6570\u53ef\u80fd\u53d8\u6210 8 \u4e2a\u751a\u81f3\u53e6\u4e00\u7ec4\u3002\u4f20\u7edf\u505a\u6cd5\u662f\u5f00\u4e24\u6761\u8fde\u63a5\u3001\u8dd1\u4e24\u4e2a\u7a0b\u5e8f&#xff0c;<br \/>\n\u8bbe\u5907\u548c\u7f51\u5173\u4e24\u4fa7\u90fd\u8981\u6539\u3002<\/li>\n<li>\u5e27\u957f\u9760\u731c\u3002 \u534f\u8bae\u91cc\u6ca1\u6709\u6807\u51c6\u5934&#xff0c;\u5e27\u957f\u5b57\u6bb5\u5230\u5e95\u662f&#034;\u6574\u5e27\u957f\u5ea6&#034;\u8fd8\u662f&#034;payload \u957f\u5ea6&#034;&#xff0c;<br \/>\n\u53ea\u80fd\u5728\u8fd0\u884c\u671f\u8bd5\u63a2&#xff0c;\u8bd5\u9519\u4e86\u5c31\u9519\u4f4d\u3001\u4e22\u5e27\u3002<\/li>\n<li>\u6512\u6279\u5e26\u6765\u7684\u5ef6\u8fdf\u3002 1Hz \u7684\u72b6\u6001\u91cf\u672c\u6765\u4e00\u4e2a\u70b9\u5c31\u8981\u7acb\u523b\u8fdb\u5e93&#xff0c;\u5374\u88ab\u51d1\u6210 4000 \u884c\u624d\u5199&#xff0c;<br \/>\n\u76d1\u63a7\u753b\u9762\u8fdf\u8fdf\u4e0d\u51fa\u6570\u3002<\/li>\n<li>\u6362\u7b97\u628a\u539f\u59cb\u503c\u5f04\u4e22\u4e86\u3002 \u4e00\u4e58 factor&#xff0c;\u5b58\u8fdb\u5e93\u7684\u5c31\u4e0d\u662f\u8bbe\u5907\u771f\u5b9e\u4e0a\u62a5\u7684\u7801\u503c&#xff0c;<br \/>\n\u4e8b\u540e\u60f3\u505a\u6807\u5b9a\u3001\u8ffd\u6eaf\u3001\u4e8c\u6b21\u6362\u7b97\u90fd\u6ca1\u6709\u4f9d\u636e\u3002<\/li>\n<p>etherAdapter \u5c31\u662f\u4e3a\u8fd9\u4e94\u4ef6\u4e8b\u5199\u7684&#xff1a;\u4e00\u4e2a\u8fdb\u7a0b\u3001\u4e00\u5957\u914d\u7f6e\u3001\u4e00\u6761 TCP \u8fde\u63a5&#xff0c;<br \/>\n\u628a\u8bbe\u5907\u6570\u636e\u539f\u6837\u6c47\u5165 EtherDB\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u4e00\u6761\u8fde\u63a5&#xff0c;\u4e24\u79cd\u91c7\u6837&#xff1a;\u9760 frameType \u533a\u5206<\/h3>\n<p>\u540c\u4e00\u53f0\u8bbe\u5907\u7528\u4e00\u6761 TCP \u8fde\u63a5\u4e0a\u62a5\u4e24\u7c7b\u6570\u636e&#xff1a;<\/p>\n<ul>\n<li>\u72b6\u6001\u5e27&#xff08;status&#xff09;&#xff1a;\u5468\u671f\u91c7\u6837&#xff0c;\u4e00\u822c 1Hz&#xff0c;\u6d4b\u70b9\u56fa\u5b9a&#xff1b;<\/li>\n<li>\u4e8b\u4ef6\u5e27&#xff08;event&#xff09;&#xff1a;\u7a81\u53d1\u91c7\u6837&#xff0c;\u9891\u7387\u66f4\u9ad8\u3001\u6d4b\u70b9\u6570\u53ef\u80fd\u66f4\u5c11\u6216\u4e0d\u540c\u3002<\/li>\n<\/ul>\n<p>\u4e24\u8005\u57286 \u5b57\u8282\u81ea\u5b9a\u4e49\u5934\u7684\u7b2c\u4e00\u4e2a\u5b57\u8282\u91cc\u7528\u5e27\u7c7b\u578b\u533a\u5206&#xff1a;<\/p>\n<p>[frameType 1B][flag 1B][frameLen 2B][sequenceId 2B][payload &#8230;][flag 1B?]<\/p>\n<ul>\n<li>frameType \u2014\u2014 \u8fd9\u53f0\u8bbe\u5907\u4e0a\u7684&#034;\u54ea\u5957\u6d4b\u70b9&#034;\u3002\u5bf9\u9002\u914d\u5668\u6765\u8bf4&#xff0c;\u5b83\u5c31\u662f\u53e6\u4e00\u53f0\u903b\u8f91\u8bbe\u5907&#xff1a;<br \/>\n\u6709\u81ea\u5df1\u7684\u5b57\u6bb5\u8868\u3001\u81ea\u5df1\u7684\u89e3\u6790\u89c4\u5219\u3001\u81ea\u5df1\u7684 EtherDB \u8868\u3002<\/li>\n<li>flag \u2014\u2014 \u4e8b\u4ef6\u6d41\u7684\u5b9a\u754c\u5b57\u8282\u3002\u5b83\u53ea\u5bf9\u4e8b\u4ef6\u5e27\u6709\u610f\u4e49&#xff1a;\u5728\u540c\u4e00\u6761 TCP \u6570\u636e\u6d41\u91cc&#xff0c;<br \/>\n\u9002\u914d\u5668\u9760\u5b83\u8ba4\u51fa&#034;\u63a5\u4e0b\u6765\u662f\u53e6\u4e00\u5957\u89e3\u6790\u89c4\u5219&#034;\u3002\u72b6\u6001\u5e27\u4e0d\u5e26\u5b9a\u754c\u7b26&#xff0c;\u8fd9\u4e2a\u5b57\u8282\u88ab\u5ffd\u7565\u3002<\/li>\n<li>frameLen \u2014\u2014 \u672c\u5e27 payload \u5b57\u8282\u6570\u3002\u4e00\u6b21\u53ef\u4ee5\u643a\u5e26\u591a\u6761\u8bb0\u5f55<br \/>\n&#xff08;frameLen \/ \u5355\u6761\u8bb0\u5f55\u957f\u5ea6&#xff09;&#xff0c;\u591a\u4e2a\u91c7\u6837\u70b9\u5171\u7528\u4e00\u4e2a\u5934&#xff0c;\u7701\u5e26\u5bbd\u3002<\/li>\n<li>sequenceId \u2014\u2014 \u9884\u7559\u5b57\u6bb5&#xff0c;\u5f53\u524d\u4e0d\u6821\u9a8c\u3001\u4e0d\u89e3\u6790&#xff0c;\u5c06\u6765\u6269\u5c55\u7528\u3002<\/li>\n<\/ul>\n<p>\u914d\u7f6e\u4e0a&#xff0c;\u540c\u4e00 (ip, \u7aef\u53e3) \u5199\u591a\u884c\u8bbe\u5907\u8868\u5373\u53ef&#xff1a;<\/p>\n<table>\n<tr>device_idip\u6e90\u7aef\u53e3data_proto_idframe_type<\/tr>\n<tbody>\n<tr>\n<td>dev_T100_001<\/td>\n<td>127.0.0.1<\/td>\n<td>10002<\/td>\n<td>100077<\/td>\n<td>0xC&#xff08;\u72b6\u6001&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>dev_T100_001_E<\/td>\n<td>127.0.0.1<\/td>\n<td>10002<\/td>\n<td>100078<\/td>\n<td>0xE&#xff08;\u4e8b\u4ef6&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7b2c\u4e00\u884c\u662f\u72b6\u6001\u8bbe\u5907&#xff0c;\u5176\u4f59\u662f\u4e8b\u4ef6\u8bbe\u5907\u3002\u8bbe\u5907\u4fa7\u53ea\u9700\u8981\u5728\u5934\u91cc\u6539\u4e00\u4e2a\u5b57\u8282&#xff0c;<br \/>\n\u6570\u636e\u5c31\u5206\u522b\u843d\u8fdb dev_T100_001 \u548c dev_T100_001_E \u4e24\u5f20\u8868\u3002<\/p>\n<p>\u8fd9\u4e00\u6b65\u7684\u4ef7\u503c&#xff1a;\u8bbe\u5907\u56fa\u4ef6\u4e0d\u7528\u4e3a&#034;\u52a0\u4e00\u8def\u4e8b\u4ef6&#034;\u6539\u9020\u8fde\u63a5\u7ba1\u7406&#xff0c;<br \/>\n\u7f51\u5173\u4fa7\u4e5f\u4e0d\u7528\u65b0\u5f00\u76d1\u542c\u7aef\u53e3\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u72b6\u6001\u6570\u636e\u4e0d\u6512\u6279&#xff1a;\u6765\u4e86\u5c31\u63d0\u4ea4<\/h3>\n<p>\u5927\u591a\u6570\u72b6\u6001\u91cf\u662f 1Hz&#xff0c;\u6839\u672c\u4e0d\u503c\u5f97\u7b49\u3002etherAdapter \u7684\u7b56\u7565\u662f&#xff1a;<\/p>\n<ul>\n<li>\u72b6\u6001\u5e27&#xff1a;\u6bcf\u6536\u5230\u4e00\u4e2a\u6570\u636e\u5757\u7acb\u5373\u5237\u5199&#xff0c;\u4e0d\u6512\u6279\u3001\u4e0d\u7b49\u5b9a\u65f6\u5668 \u2014\u2014 \u753b\u9762\u51fa\u6570\u6700\u5feb&#xff1b;<\/li>\n<li>\u4e8b\u4ef6\u5e27&#xff1a;\u6309\u6279\u5199\u5165 \u2014\u2014 \u7a81\u53d1\u4e8b\u4ef6\u9891\u7387\u9ad8\u3001\u70b9\u6570\u591a&#xff0c;\u6279\u91cf\u5199\u5165\u624d\u662f\u541e\u5410\u6700\u4f18\u3002<\/li>\n<\/ul>\n<p>\u4e24\u8005\u5728\u540c\u4e00\u6761\u7ba1\u9053\u91cc\u5171\u5b58&#xff0c;\u914d\u7f6e\u91cc\u53ea\u9700\u8981\u628a\u8bbe\u5907\u884c\u5199\u5bf9\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u53ea\u5b58\u539f\u59cb\u503c&#xff1a;factor \u5148\u653e\u4e00\u8fb9<\/h3>\n<p>\u65f6\u5e8f\u5e93\u7684\u4ef7\u503c\u5728\u4e8e&#034;\u5982\u5b9e\u5730\u7559\u4e0b\u73b0\u573a&#034;&#xff0c;\u6240\u4ee5\u9002\u914d\u5668\u4e0d\u505a\u7269\u7406\u91cf\u6362\u7b97&#xff1a;<\/p>\n<ul>\n<li>data_proto_table.factor \u5f53\u524d\u4e0d\u53c2\u4e0e\u8ba1\u7b97&#xff0c;\u542f\u52a8\u65f6\u82e5\u53d1\u73b0\u914d\u7f6e\u4e86\u975e 1 \u7684\u7cfb\u6570&#xff0c;<br \/>\n\u53ea\u6253\u4e00\u6761\u544a\u8b66\u63d0\u9192&#xff1b;<\/li>\n<li>\u6574\u578b\u5b57\u6bb5\u5c31\u6309\u539f\u59cb\u7801\u503c\u5b58&#xff08;\u6709\u7b26\u53f7\/\u65e0\u7b26\u53f7\u7c7b\u578b\u81ea\u52a8\u9009\u5408\u9002\u7684\u5217\u5bbd&#xff09;&#xff0c;<br \/>\nFLOAT32\/FLOAT64 \u6309\u539f\u503c\u5b58&#xff1b;<\/li>\n<li>\u60f3\u6362\u7b97&#xff1f;\u67e5\u8be2\u65f6\u518d\u4e58&#xff0c;\u6216\u8005\u4ea4\u7ed9\u4e0a\u5c42 \u2014\u2014 \u539f\u59cb\u503c\u6c38\u8fdc\u8fd8\u5728\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e94\u3001\u4ece\u8bbe\u5907\u5230 EtherDB \u7684\u8def\u5f84<\/h3>\n<p>\u8bbe\u5907 \u2500\u2500TCP\u2500\u2500&gt; muduo \u7f51\u7edc\u5c42 \u2500\u2500\u65e0\u9501\u961f\u5217(moodycamel)\u2500\u2500&gt; \u5355\u7ebf\u7a0b\u89e3\u6790<br \/>\n                                                        \u2502<br \/>\n                              RowBatch \u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                                         \u25bc<br \/>\n                              \u5199\u5165\u961f\u5217 \u2500\u2500&gt; \u5217\u7ed1\u5b9a\u9884\u7f16\u8bd1 INSERT \u2500\u2500&gt; EtherDB<br \/>\n                                         \u2514\u2500&gt; \u53d1\u5e03\u961f\u5217 \u2500\u2500&gt; ZMQ PUB&#xff08;\u9884\u7559&#xff09;<\/p>\n<p>\u51e0\u4e2a\u523b\u610f\u7684\u8bbe\u8ba1&#xff1a;<\/p>\n<ul>\n<li>\u89e3\u6790\u5355\u7ebf\u7a0b&#xff1a;\u6240\u6709\u534f\u8bae\u89e3\u6790\u96c6\u4e2d\u5728\u4e00\u4e2a\u7ebf\u7a0b\u91cc&#xff0c;\u914d\u7f6e\u9a71\u52a8\u3001\u6ca1\u6709\u9501\u7ade\u4e89&#xff0c;<br \/>\n\u4e5f\u907f\u5f00\u4e86\u591a\u7ebf\u7a0b\u89e3\u6790\u7684\u65f6\u5e8f\u95ee\u9898&#xff1b;\u7f51\u7edc\u7ebf\u7a0b\u53ea\u8d1f\u8d23\u628a\u5b57\u8282\u642c\u8fdb\u961f\u5217\u3002<\/li>\n<li>\u5217\u7ed1\u5b9a\u6279\u91cf\u5199\u5165&#xff1a;\u6309\u8bbe\u5907\u9884\u7f16\u8bd1 INSERT&#xff0c;\u6bcf\u5217\u4e00\u5757\u8fde\u7eed\u5185\u5b58&#xff0c;<br \/>\n\u4e00\u6b21\u7ed1\u5b9a\u591a\u884c \u2192 \u4e00\u6b21\u6267\u884c\u3002\u6162\u901f HTTP \u6570\u636e\u8d70\u666e\u901a SQL&#xff0c;\u4e0d\u5360\u9884\u7ed1\u5b9a\u8d44\u6e90\u3002<\/li>\n<li>\u914d\u7f6e\u9a71\u52a8&#xff1a;\u4e09\u5f20 SQLite \u8868&#xff08;\u8bbe\u5907 \/ \u6570\u636e\u5934 \/ \u5b57\u6bb5&#xff09;\u51b3\u5b9a\u4e00\u5207&#xff0c;<br \/>\n\u52a0\u8bbe\u5907\u5c31\u662f\u52a0\u4e00\u884c&#xff0c;\u6539\u534f\u8bae\u5c31\u662f\u6539\u4e00\u884c\u3002<\/li>\n<\/ul>\n<p>EtherDB \u4fa7\u7684\u6027\u80fd\u5df2\u7ecf\u6709\u516c\u5f00\u5b9e\u6d4b&#xff08;\u89c1 EtherDB\/docs\/EtherDB-performance.md&#xff09;&#xff1a;<br \/>\n\u540c\u673a\u6279\u91cf\u5199\u5165\u7ea6 214 \u4e07\u884c\/\u79d2\u30018 \u8fdb\u7a0b\u805a\u5408\u7ea6 618 \u4e07\u884c\/\u79d2\u3001<br \/>\nCOUNT(*) 0.34 ms\u3001\u5343\u4e07\u884c\u5206\u9875 0.82 ms&#xff0c;\u670d\u52a1\u7aef\u5355\u6587\u4ef6 1.07 MB\u3002<br \/>\n\u9002\u914d\u5668\u53ea\u8d1f\u8d23&#034;\u628a\u6570\u636e\u6b63\u786e\u5730\u5582\u8fdb\u53bb&#034;&#xff0c;\u4e0d\u6539\u53d8\u8fd9\u6761\u5199\u5165\u8def\u5f84\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u672c\u673a\u8dd1\u901a\u7684\u4e00\u6761\u5b8c\u6574\u94fe\u8def<\/h3>\n<p>\u7528\u4ed3\u5e93\u81ea\u5e26\u7684 fixtures&#xff0c;\u4ece\u8bbe\u5907\u6a21\u62df\u5230\u843d\u5e93\u5b9e\u6d4b&#xff1a;<\/p>\n<p>csv2sqlite.exe config\\\\etherAdapter.db tests\\\\fixtures &#8211;force<br \/>\netherdb_dserver.exe -p 7040<br \/>\netherAdapter.exe<\/p>\n<p>:: \u72b6\u6001 &#043; \u4e8b\u4ef6\u5728\u4e00\u6761 TCP \u8fde\u63a5\u4e0a\u4ea4\u66ff\u4e0a\u62a5<br \/>\ndevice_sim.exe -n 60 -i 5 -t C,E -l 73,62 -f 0,01 -e 0,03 -v 100<\/p>\n<p>\u7ed3\u679c&#xff08;query_check.exe \u76f4\u63a5\u67e5\u5e93&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u8868\u5185\u5bb9\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>dev_T100_001<\/td>\n<td>item1 &#061; 100,102,104\u2026<\/td>\n<td>\u72b6\u6001\u5e27&#xff0c;\u5355\u5b57\u6bb5&#xff0c;\u6765\u4e86\u5c31\u63d0\u4ea4<\/td>\n<\/tr>\n<tr>\n<td>dev_T100_001_E<\/td>\n<td>item1 &#061; 101,103,105\u2026&#xff0c;\u542b item2<\/td>\n<td>\u4e8b\u4ef6\u5e27&#xff0c;\u4e24\u4e2a\u6d4b\u70b9&#xff0c;\u53e6\u4e00\u5f20\u8868<\/td>\n<\/tr>\n<tr>\n<td>dev_MB_401<\/td>\n<td>reg1&#061;2000&#043;k, reg2&#061;2100&#043;k<\/td>\n<td>MODBUS 3s \u8f6e\u8be2&#xff0c;\u539f\u59cb\u5bc4\u5b58\u5668\u503c<\/td>\n<\/tr>\n<tr>\n<td>dev_HTTP_001<\/td>\n<td>temp&#061;12.5, humidity&#061;60<\/td>\n<td>HTTP POST JSON&#xff0c;\u76f4\u62fc SQL<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd0\u884c\u7edf\u8ba1\u91cc\u53ef\u4ee5\u770b\u5230\u5206\u6d41\u662f\u5e72\u51c0\u7684&#xff1a;frames &#043;60 rows &#043;60 (event &#043;30) written &#043;61 drop 0 err 0\u3002<\/p>\n<p>\u540c\u4e00\u4efd fixtures \u8fd8\u8986\u76d6\u4e86&#xff1a;\u591a\u8bb0\u5f55\u5171\u7528\u4e00\u4e2a\u5934&#xff08;device_sim -m 3&#xff09;\u3001<br \/>\nMODBUS \u56db\u79cd\u54cd\u5e94\u5934&#xff08;9\/7\/2\/0&#xff09;\u3001HTTP \u7f3a\u5b57\u6bb5\u5199 NULL\u3001<br \/>\n\u4ee5\u53ca sequenceId \u968f\u4fbf\u586b\u4e5f\u4e0d\u5f71\u54cd\u89e3\u6790\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u9002\u5408\u8c01\u7528<\/h3>\n<ul>\n<li>\u73b0\u573a\u8bbe\u5907\u4e0d\u80fd\u6539&#xff08;\u6216\u6539\u4e0d\u52a8&#xff09;&#xff0c;\u4f46\u8981\u628a\u6570\u636e\u63a5\u8fdb\u65f6\u5e8f\u5e93&#xff1b;<\/li>\n<li>\u4e00\u53f0\u8bbe\u5907\u65e2\u8981\u5468\u671f\u72b6\u6001\u3001\u53c8\u8981\u7a81\u53d1\u4e8b\u4ef6&#xff0c;\u8fd8\u4e0d\u60f3\u5f00\u4e24\u6761\u8fde\u63a5&#xff1b;<\/li>\n<li>\u9700\u8981\u5728\u8fb9\u7f18\u4fa7\u8f7b\u91cf\u90e8\u7f72&#xff08;\u9002\u914d\u5668\u4e0e EtherDB \u90fd\u662f\u5355\u6587\u4ef6\u3001\u65e0\u5916\u90e8\u4f9d\u8d56&#xff09;&#xff1b;<\/li>\n<li>\u6570\u636e\u8981\u7559\u539f\u59cb\u503c&#xff0c;\u6807\u5b9a\/\u6362\u7b97\u653e\u5728\u540e\u9762\u505a\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516b\u3001\u5c0f\u7ed3<\/h3>\n<p>etherAdapter \u505a\u7684\u662f&#034;\u6700\u540e\u4e00\u516c\u91cc&#034;\u91cc\u6700\u810f\u7684\u90a3\u6bb5\u6d3b&#xff1a;<br \/>\n\u628a\u8bbe\u5907\u600e\u4e48\u8bf4\u7684\u8bdd&#xff0c;\u539f\u6837\u3001\u4f4e\u5ef6\u8fdf\u5730\u7ffb\u8bd1\u6210 EtherDB \u7684\u5217\u3002<\/p>\n<ul>\n<li>\u4e00\u6761 TCP&#xff0c;\u4e24\u79cd\u91c7\u6837 \u2014\u2014 \u9760 frameType&#xff1b;<\/li>\n<li>\u72b6\u6001\u6570\u636e\u6765\u4e86\u5c31\u63d0\u4ea4&#xff0c;\u4e8b\u4ef6\u6570\u636e\u6309\u6279\u843d\u8868&#xff1b;<\/li>\n<li>\u914d\u7f6e\u5373\u63a5\u5165&#xff1a;\u4e09\u5f20\u8868\u3001\u4e00\u4e2a\u8fdb\u7a0b\u3002<\/li>\n<\/ul>\n<p>\u8bbe\u5907\u4e0d\u7528\u52a8&#xff0c;\u6570\u636e\u5e93\u4e0d\u7528\u6539&#xff0c;\u4e2d\u95f4\u53ea\u591a\u4e86\u4e00\u4e2a\u8fdb\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5148\u8bf4\u8bf4\u73b0\u573a\u7684\u4e94\u4e2a\u771f\u5b9e\u56f0\u6270<br \/>\n\u505a\u8fc7\u8bbe\u5907\u6570\u636e\u63a5\u5165\u7684\u4eba\u90fd\u9047\u5230\u8fc7\u8fd9\u4e9b&#xff1a;<br \/>\n\u8bbe\u5907\u534f\u8bae\u4e94\u82b1\u516b\u95e8\u3002 \u6bcf\u6765\u4e00\u79cd\u8bbe\u5907\u5c31\u8981\u5199\u4e00\u6bb5\u89e3\u6790\u4ee3\u7801&#xff0c;\u6539\u4e00\u6b21\u7f16\u8bd1\u4e00\u6b21&#xff0c;<br \/>\n\u73b0\u573a\u8fd8\u4e0d\u80fd\u505c\u3002\u4e00\u53f0\u8bbe\u5907\u8981\u4e24\u79cd\u6570\u636e\u3002 \u5e73\u65f6 1Hz \u91c7 20 \u4e2a\u6d4b\u70b9&#xff1b;\u4e00\u65e6\u89e6\u53d1\u4e8b\u4ef6&#xff0c;\u91c7\u6837\u7387\u8981\u62c9\u9ad8\u3001<br \/>\n\u6d4b\u70b9\u6570\u53ef\u80fd\u53d8\u6210 8 \u4e2a\u751a\u81f3\u53e6\u4e00\u7ec4\u3002\u4f20\u7edf\u505a\u6cd5\u662f\u5f00\u4e24\u6761\u8fde\u63a5\u3001\u8dd1\u4e24\u4e2a\u7a0b\u5e8f&#xff0c;<br \/>\n\u8bbe\u5907\u548c\u7f51\u5173\u4e24\u4fa7\u90fd\u8981\u6539\u3002\u5e27\u957f\u9760\u731c\u3002 \u534f\u8bae\u91cc\u6ca1\u6709\u6807\u51c6\u5934&#xff0c;\u5e27\u957f\u5b57\u6bb5\u5230\u5e95\u662f\\&#8221;\u6574\u5e27\u957f\u5ea6\\&#8221;<\/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":[55,292,5116,3832],"topic":[],"class_list":["post-110863","post","type-post","status-publish","format-standard","hentry","category-server","tag-c","tag-292","tag-5116","tag-3832"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB - \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\/110863.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u5148\u8bf4\u8bf4\u73b0\u573a\u7684\u4e94\u4e2a\u771f\u5b9e\u56f0\u6270 \u505a\u8fc7\u8bbe\u5907\u6570\u636e\u63a5\u5165\u7684\u4eba\u90fd\u9047\u5230\u8fc7\u8fd9\u4e9b&#xff1a; \u8bbe\u5907\u534f\u8bae\u4e94\u82b1\u516b\u95e8\u3002 \u6bcf\u6765\u4e00\u79cd\u8bbe\u5907\u5c31\u8981\u5199\u4e00\u6bb5\u89e3\u6790\u4ee3\u7801&#xff0c;\u6539\u4e00\u6b21\u7f16\u8bd1\u4e00\u6b21&#xff0c; \u73b0\u573a\u8fd8\u4e0d\u80fd\u505c\u3002\u4e00\u53f0\u8bbe\u5907\u8981\u4e24\u79cd\u6570\u636e\u3002 \u5e73\u65f6 1Hz \u91c7 20 \u4e2a\u6d4b\u70b9&#xff1b;\u4e00\u65e6\u89e6\u53d1\u4e8b\u4ef6&#xff0c;\u91c7\u6837\u7387\u8981\u62c9\u9ad8\u3001 \u6d4b\u70b9\u6570\u53ef\u80fd\u53d8\u6210 8 \u4e2a\u751a\u81f3\u53e6\u4e00\u7ec4\u3002\u4f20\u7edf\u505a\u6cd5\u662f\u5f00\u4e24\u6761\u8fde\u63a5\u3001\u8dd1\u4e24\u4e2a\u7a0b\u5e8f&#xff0c; \u8bbe\u5907\u548c\u7f51\u5173\u4e24\u4fa7\u90fd\u8981\u6539\u3002\u5e27\u957f\u9760\u731c\u3002 \u534f\u8bae\u91cc\u6ca1\u6709\u6807\u51c6\u5934&#xff0c;\u5e27\u957f\u5b57\u6bb5\u5230\u5e95\u662f&quot;\u6574\u5e27\u957f\u5ea6&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/110863.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-29T07:24:51+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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110863.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/110863.html\",\"name\":\"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-29T07:24:51+00:00\",\"dateModified\":\"2026-09-29T07:24:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/110863.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/110863.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110863.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB\"}]},{\"@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":"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB - \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\/110863.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u5148\u8bf4\u8bf4\u73b0\u573a\u7684\u4e94\u4e2a\u771f\u5b9e\u56f0\u6270 \u505a\u8fc7\u8bbe\u5907\u6570\u636e\u63a5\u5165\u7684\u4eba\u90fd\u9047\u5230\u8fc7\u8fd9\u4e9b&#xff1a; \u8bbe\u5907\u534f\u8bae\u4e94\u82b1\u516b\u95e8\u3002 \u6bcf\u6765\u4e00\u79cd\u8bbe\u5907\u5c31\u8981\u5199\u4e00\u6bb5\u89e3\u6790\u4ee3\u7801&#xff0c;\u6539\u4e00\u6b21\u7f16\u8bd1\u4e00\u6b21&#xff0c; \u73b0\u573a\u8fd8\u4e0d\u80fd\u505c\u3002\u4e00\u53f0\u8bbe\u5907\u8981\u4e24\u79cd\u6570\u636e\u3002 \u5e73\u65f6 1Hz \u91c7 20 \u4e2a\u6d4b\u70b9&#xff1b;\u4e00\u65e6\u89e6\u53d1\u4e8b\u4ef6&#xff0c;\u91c7\u6837\u7387\u8981\u62c9\u9ad8\u3001 \u6d4b\u70b9\u6570\u53ef\u80fd\u53d8\u6210 8 \u4e2a\u751a\u81f3\u53e6\u4e00\u7ec4\u3002\u4f20\u7edf\u505a\u6cd5\u662f\u5f00\u4e24\u6761\u8fde\u63a5\u3001\u8dd1\u4e24\u4e2a\u7a0b\u5e8f&#xff0c; \u8bbe\u5907\u548c\u7f51\u5173\u4e24\u4fa7\u90fd\u8981\u6539\u3002\u5e27\u957f\u9760\u731c\u3002 \u534f\u8bae\u91cc\u6ca1\u6709\u6807\u51c6\u5934&#xff0c;\u5e27\u957f\u5b57\u6bb5\u5230\u5e95\u662f\"\u6574\u5e27\u957f\u5ea6\"","og_url":"https:\/\/www.wsisp.com\/helps\/110863.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-29T07:24:51+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/110863.html","url":"https:\/\/www.wsisp.com\/helps\/110863.html","name":"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-29T07:24:51+00:00","dateModified":"2026-09-29T07:24:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/110863.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/110863.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/110863.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e00\u6761 TCP\uff0c\u4e24\u79cd\u91c7\u6837\uff1a\u7528 etherAdapter \u628a\u73b0\u573a\u8bbe\u5907\u6570\u636e\u6c47\u8fdb EtherDB"}]},{"@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\/110863","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=110863"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110863\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=110863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=110863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=110863"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=110863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}