{"id":70769,"date":"2024-05-04T19:17:13","date_gmt":"2024-05-04T11:17:13","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=70769"},"modified":"2024-05-04T19:17:13","modified_gmt":"2024-05-04T11:17:13","slug":"wechat-structure-practice","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/wechat-structure-practice.html","title":{"rendered":"\u600e\u6837\u505a\u597d\u5fae\u4fe1\u7ec4\u7ec7\u67b6\u6784\u540c\u6b65\u4f18\u5316\uff1f"},"content":{"rendered":"
\n\u4f5c\u4e3a\u4f01\u4e1a\u7ea7\u7684\u5fae\u4fe1\uff0c\u5728\u4e1a\u52a1\u5feb\u901f\u53d1\u5c55\u7684\u80cc\u666f\u4e0b\uff0c\u8fed\u4ee3\u4f18\u5316\u7684\u8981\u6c42\u4e5f\u8d8a\u53d1\u6025\u8feb\u3002\u4f01\u4e1a\u5fae\u4fe1\u521d\u7248\u7684\u5168\u91cf\u540c\u6b65\u65b9\u6848\u5728\u5feb\u901f\u7684\u4e1a\u52a1\u589e\u957f\u9762\u524d\u5df2\u7ecf\u6349\u895f\u89c1\u8098\uff0c\u9488\u5bf9\u5176\u9047\u5230\u7684\u95ee\u9898\uff0c\u600e\u6837\u505a\u597d\u7ec4\u7ec7\u67b6\u6784\u540c\u6b65\u4f18\u5316\uff1f\u8fd9\u662f\u53c8\u4e00\u7bc7\u6765\u81ea\u5fae\u4fe1\u56e2\u961f\u7684\u6280\u672f\u5b9e\u6218\u3002<\/p>\n
\u4f01\u4e1a\u5fae\u4fe1\u5728\u5feb\u901f\u53d1\u5c55\u8fc7\u7a0b\u4e2d\uff0c\u9646\u7eed\u6709\u5927\u4f01\u4e1a\u52a0\u5165\u4f7f\u7528\uff0c\u4f01\u4e1a\u5fae\u4fe1\u521d\u7248\u91c7\u7528\u5168\u91cf\u540c\u6b65\u65b9\u6848\uff0c\u8be5\u65b9\u6848\u5728\u5927\u4f01\u4e1a\u4e0b\u5b58\u5728\u6d41\u91cf\u548c\u6027\u80fd\u4e24\u65b9\u9762\u7684\u95ee\u9898\uff0c\u6bcf\u6b21\u540c\u6b65\u6d88\u8017\u5927\u91cf\u6d41\u91cf\uff0c\u4e14\u5728 iPhone 5s \u4e0a\u62c9\u53d6 10w+ \u6210\u5458\u67b6\u6784\u5305\u89e3\u538b\u65f6\u4f1a\u63d0\u793a memory warning \u800c\u5e94\u7528\u5d29\u6e83\u3002<\/p>\n
\u5168\u91cf\u540c\u6b65\u65b9\u6848\u96be\u4ee5\u652f\u6491\u4e1a\u52a1\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u4f18\u5316\u540c\u6b65\u65b9\u6848\u8d8a\u6765\u8d8a\u6709\u5fc5\u8981\u3002\u672c\u6587\u9488\u5bf9\u5168\u91cf\u540c\u6b65\u65b9\u6848\u9047\u5230\u7684\u95ee\u9898\u8fdb\u884c\u5206\u6790\uff0c\u63d0\u51fa\u7ec4\u7ec7\u67b6\u6784\u589e\u91cf\u540c\u6b65\u65b9\u6848\uff0c\u5e76\u5bf9\u79fb\u52a8\u7aef\u5b9e\u73b0\u589e\u91cf\u540c\u6b65\u65b9\u6848\u7684\u601d\u8def\u548c\u91cd\u96be\u70b9\u8fdb\u884c\u4e86\u8bb2\u89e3\u3002<\/p>\n
\u5728\u4f01\u4e1a\u5fae\u4fe1\u4e2d\uff0c\u7ec4\u7ec7\u67b6\u6784\u662f\u975e\u5e38\u91cd\u8981\u7684\u6a21\u5757\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u9996\u9875\u7684 tab \u4e0a\u9009\u62e9\u201d\u901a\u8baf\u5f55\u201d\u67e5\u770b\u5230\u672c\u516c\u53f8\u7684\u7ec4\u7ec7\u67b6\u6784\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u201d\u901a\u8baf\u5f55\u201d\u627e\u5230\u672c\u516c\u53f8\u7684\u6240\u6709\u6210\u5458\uff0c\u5e76\u4e0e\u5176\u53d1\u8d77\u4f1a\u8bdd\u6216\u8005\u89c6\u9891\u8bed\u97f3\u901a\u8bdd\u3002<\/p>\n
\u7ec4\u7ec7\u67b6\u6784\u662f\u975e\u5e38\u91cd\u8981\u4e14\u654f\u611f\u7684\u4fe1\u606f\uff0c\u4f01\u4e1a\u5fae\u4fe1\u4f5c\u4e3a\u4f01\u4e1a\u7ea7\u4ea7\u54c1\uff0c\u59cb\u7ec8\u628a\u7528\u6237\u9690\u79c1\u548c\u5b89\u5168\u653e\u5728\u91cd\u8981\u4f4d\u7f6e\u3002\u9488\u5bf9\u7ec4\u7ec7\u67b6\u6784\u4fe1\u606f\uff0c\u4f01\u4e1a\u7ba1\u7406\u5458\u5177\u6709\u9ad8\u7c92\u5ea6\u9690\u79c1\u4fdd\u62a4\u64cd\u4f5c\u6743\u9650\uff0c\u4e0d\u4ec5\u652f\u6301\u4e2a\u4eba\u4fe1\u606f\u9690\u85cf\uff0c\u4e5f\u652f\u6301\u901a\u8baf\u5f55\u67e5\u770b\u6743\u9650\u7b49\u64cd\u4f5c\u3002<\/p>\n
\u5728\u4f01\u4e1a\u5fae\u4fe1\u4e2d\uff0c\u7ec4\u7ec7\u67b6\u6784\u7279\u5f81\u6709\uff1a<\/p>\n
1\u3001\u591a\u53c9\u6811\u7ed3\u6784\u3002\u53f6\u5b50\u8282\u70b9\u4ee3\u8868\u6210\u5458\uff0c\u975e\u53f6\u5b50\u8282\u70b9\u4ee3\u8868\u90e8\u95e8\u3002\u90e8\u95e8\u6700\u591a\u53ea\u6709\u4e00\u4e2a\u7236\u90e8\u95e8\uff0c\u4f46\u6210\u5458\u53ef\u5c5e\u4e8e\u591a\u4e2a\u90e8\u95e8\u3002<\/p>\n
2\u3001\u67b6\u6784\u9690\u85cf\u64cd\u4f5c\u3002\u4f01\u4e1a\u7ba1\u7406\u5458\u53ef\u4ee5\u5728\u7ba1\u7406\u540e\u53f0\u8bbe\u7f6e\u767d\u540d\u5355\u548c\u9ed1\u540d\u5355\uff0c\u767d\u540d\u5355\u53ef\u4ee5\u67e5\u770b\u5b8c\u6574\u7684\u7ec4\u7ec7\u67b6\u6784\uff0c\u5176\u4ed6\u6210\u5458\u5728\u7ec4\u7ec7\u67b6\u6784\u91cc\u770b\u4e0d\u5230\u4ed6\u4eec\u3002\u9ed1\u540d\u5355\u7684\u6210\u5458\u53ea\u80fd\u770b\u5230\u81ea\u5df1\u6240\u5728\u5c0f\u7ec4\u548c\u5176\u6240\u6709\u7684\u7236\u90e8\u95e8\uff0c\u5176\u4f59\u4eba\u53ef\u4ee5\u770b\u5230\u9ed1\u540d\u5355\u7684\u6210\u5458\u3002<\/p>\n
3\u3001\u7ec4\u7ec7\u67b6\u6784\u64cd\u4f5c\u3002\u4f01\u4e1a\u7ba1\u7406\u5458\u53ef\u4ee5\u5728 web \u7aef\u548c app \u7aef\u6dfb\u52a0 \/ \u5220\u9664\u90e8\u95e8\uff0c\u6dfb\u52a0 \/ \u5220\u9664 \/ \u79fb\u52a8 \/ \u7f16\u8f91\u6210\u5458\u7b49\u64cd\u4f5c\uff0c\u5e76\u4e14\u64cd\u4f5c\u7ed3\u679c\u4f1a\u53ca\u65f6\u540c\u6b65\u7ed9\u672c\u516c\u53f8\u6240\u6709\u6210\u5458\u3002<\/p>\n
\u672c\u8282\u5927\u81f4\u8bb2\u89e3\u4e0b\u5168\u91cf\u540c\u6b65\u65b9\u6848\u5b9e\u73b0\u4ee5\u53ca\u9047\u5230\u7684\u95ee\u9898\u3002<\/p>\n
\u4f01\u4e1a\u5fae\u4fe1\u5728 1.0 \u65f6\u4ee3\uff0c\u4ece\u7a33\u5b9a\u6027\u4ee5\u53ca\u5feb\u901f\u8fed\u4ee3\u7684\u89d2\u5ea6\u8003\u8651\uff0c\u5ef6\u7528\u4e86\u4f01\u4e1a\u90ae\u901a\u8baf\u5f55\u540c\u6b65\u65b9\u6848\uff0c\u91c7\u53d6\u4e86\u5168\u91cf\u67b6\u6784\u540c\u6b65\u65b9\u6848\u3002<\/p>\n
\u6838\u5fc3\u601d\u60f3\u4e3a\u670d\u52a1\u7aef\u4e0b\u53d1\u5168\u91cf\u8282\u70b9\uff0c\u5ba2\u6237\u7aef\u5bf9\u6bd4\u672c\u5730\u6570\u636e\u627e\u51fa\u53d8\u66f4\u8282\u70b9\u3002\u6b64\u5904\u8282\u70b9\u53ef\u4ee5\u662f\u7528\u6237\uff0c\u4e5f\u53ef\u4ee5\u662f\u90e8\u95e8\uff0c\u5c06\u7ec4\u7ec7\u67b6\u6784\u89c6\u4e3a\u4e8c\u53c9\u6811\u7ed3\u6784\u4f53\uff0c\u5176\u4e0b\u7684\u7528\u6237\u4e0e\u90e8\u95e8\u5747\u4e3a\u8282\u70b9\uff0c\u82e5\u540c\u4e00\u4e2a\u7528\u6237\u5b58\u5728\u591a\u4e2a\u90e8\u95e8\u4e0b\uff0c\u88ab\u89c6\u4e3a\u591a\u4e2a\u8282\u70b9\u3002<\/p>\n
\u5168\u91cf\u540c\u6b65\u65b9\u6848\u5206\u4e3a\u9996\u6b21\u540c\u6b65\u4e0e\u975e\u9996\u6b21\u540c\u6b65\uff1a<\/p>\n
\u521d\u7248\u4e0a\u7ebf\u540e\uff0c\u6536\u5230\u4e86\u5927\u91cf\u7684\u7ec4\u7ec7\u67b6\u6784\u76f8\u5173\u7684 bug \u6295\u8bc9\uff0c\u4e3b\u8981\u96c6\u4e2d\u5728\uff1a<\/p>\n
\u8fd9\u4e9b\u95ee\u9898\u5728\u5927\u4f01\u4e1a\u4e0b\u66f4\u660e\u663e\u3002<\/p>\n
\u6df1\u7a76\u5168\u91cf\u540c\u6b65\u65b9\u6848\u96be\u4ee5\u652f\u6491\u5927\u4f01\u4e1a\u540c\u6b65\u7684\u80cc\u540e\u539f\u56e0\uff0c\u7686\u662f\u56e0\u4e3a\u91c7\u53d6\u4e86\u670d\u52a1\u7aef\u5168\u91cf\u4e0b\u53d1 hash \u503c\u65b9\u6848\u7684\u539f\u56e0\uff0c\u65b9\u6848\u5b58\u5728\u4ee5\u4e0b\u95ee\u9898\uff1a<\/p>\n
\u4f18\u5316\u7ec4\u7ec7\u67b6\u6784\u540c\u6b65\u65b9\u6848\u8d8a\u6765\u8d8a\u6709\u5fc5\u8981\u3002<\/p>\n
\u5bfb\u6c42\u540c\u6b65\u65b9\u6848\u4f18\u5316\u70b9\uff0c\u6211\u4eec\u8981\u627e\u51c6\u539f\u6765\u65b9\u6848\u7684\u75db\u70b9\u4ee5\u53ca\u4e0d\u5408\u7406\u7684\u5730\u65b9\uff0c\u901a\u8fc7\u65b9\u6848\u7684\u8c03\u6574\u6765\u907f\u514d\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n
\u51c6\u786e\u4e14\u8017\u8d39\u6700\u5c11\u8d44\u6e90\u540c\u6b65\u7ec4\u7ec7\u67b6\u6784\u662f\u4e00\u4ef6\u5f88\u56f0\u96be\u7684\u4e8b\u60c5\uff0c\u96be\u70b9\u4e3b\u8981\u5728\uff1a<\/p>\n
\u4e0a\u8ff0\u63d0\u5230\u7684\u95ee\u9898\uff0c\u5728\u5927\u578b\u4f01\u4e1a\u4e0b\u4f1a\u53d8\u5f97\u66f4\u660e\u663e\u3002\u5728\u51e0\u8f6e\u65b9\u6848\u8ba8\u8bba\u540e\uff0c\u6211\u4eec\u7ed9\u539f\u6765\u7684\u65b9\u6848\u589e\u52a0\u4e86\u4e24\u4e2a\u7279\u6027\u6765\u5b9e\u73b0\u589e\u91cf\u66f4\u65b0\uff1a<\/p>\n
\u5728\u65b0\u65b9\u6848\u4e2d\uff0c\u670d\u52a1\u7aef\u9488\u5bf9\u67d0\u4e2a\u8282\u70b9\u7684\u5b58\u50a8\u7ed3\u6784\u53ef\u7b80\u5316\u4e3a\uff1a<\/p>\n
<\/p>\n
vid \u662f\u6307\u8282\u70b9\u7528\u6237\u7684\u552f\u4e00\u6807\u8bc6 id\uff0cdepartmentid \u662f\u6307\u8282\u70b9\u7684\u90e8\u95e8 id\uff0cis_delete \u8868\u793a\u8be5\u8282\u70b9\u662f\u5426\u5df2\u88ab\u5220\u9664\u3002<\/p>\n
\u5176\u4e2d\uff0cseq \u662f\u81ea\u589e\u7684\u503c\uff0c\u53ef\u4ee5\u7406\u89e3\u6210\u7248\u672c\u53f7\u3002\u6bcf\u6b21\u7ec4\u7ec7\u67b6\u6784\u7684\u8282\u70b9\u6709\u66f4\u65b0\uff0c\u670d\u52a1\u7aef\u589e\u52a0\u76f8\u5e94\u8282\u70b9\u7684 seq \u503c\u3002\u5ba2\u6237\u7aef\u901a\u8fc7\u4e00\u4e2a\u65e7\u7684 seq \u5411\u670d\u52a1\u5668\u8bf7\u6c42\uff0c\u670d\u52a1\u7aef\u8fd4\u56de\u8fd9\u4e2a seq \u548c \u6700\u65b0\u7684 seq \u4e4b\u95f4\u6240\u6709\u7684\u53d8\u66f4\u7ed9\u5ba2\u6237\u7aef\uff0c\u5b8c\u6210\u589e\u91cf\u66f4\u65b0\u3002<\/p>\n
<\/p>\n
\u901a\u8fc7\u63d0\u51fa\u589e\u91cf\u540c\u6b65\u65b9\u6848\uff0c\u6211\u4eec\u4ece\u6280\u672f\u9009\u578b\u5c42\u9762\u89e3\u51b3\u4e86\u95ee\u9898\uff0c\u4f46\u662f\u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\u4f1a\u9047\u5230\u8bb8\u591a\u95ee\u9898\uff0c\u4e0b\u6587\u4e2d\u6211\u4eec\u5c06\u9488\u5bf9\u65b9\u6848\u539f\u7406\u4ee5\u53ca\u5b9e\u9645\u64cd\u4f5c\u4e2d\u9047\u5230\u7684\u95ee\u9898\u8fdb\u884c\u8bb2\u89e3\u3002<\/p>\n
\u672c\u8282\u4e3b\u8981\u8bb2\u89e3\u5ba2\u6237\u7aef\u4e2d\u589e\u91cf\u540c\u6b65\u67b6\u6784\u65b9\u6848\u7684\u539f\u7406\u4e0e\u5b9e\u73b0\uff0c\u4ee5\u53ca\u57fa\u7840\u6982\u5ff5\u8bb2\u89e3\u3002<\/p>\n
\u4f01\u4e1a\u5fae\u4fe1\u4e2d\uff0c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u6838\u5fc3\u601d\u60f3\u4e3a:<\/p>\n
\u670d\u52a1\u7aef\u4e0b\u53d1\u589e\u91cf\u8282\u70b9\uff0c\u4e14\u652f\u6301\u4f20\u9608\u503c\u6765\u5206\u7247\u62c9\u53d6\u589e\u91cf\u8282\u70b9\uff0c\u82e5\u670d\u52a1\u7aef\u8ba1\u7b97\u4e0d\u51fa\u5ba2\u6237\u7aef\u7684\u5dee\u91cf\uff0c\u4e0b\u53d1\u5168\u91cf\u8282\u70b9\u7531\u5ba2\u6237\u7aef\u6765\u5bf9\u6bd4\u5dee\u5f02\u3002<\/p>\n
\u589e\u91cf\u540c\u6b65\u65b9\u6848\u53ef\u62bd\u8c61\u4e3a\u56db\u6b65\u5b8c\u6210\uff1a<\/p>\n
\u5ffd\u7565\u6389\u5404\u79cd\u8fb9\u754c\u6761\u4ef6\u548c\u5f02\u5e38\u72b6\u51b5\uff0c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u7684\u6d41\u7a0b\u56fe\u53ef\u4ee5\u62bd\u8c61\u4e3a\uff1a<\/p>\n
<\/p>\n
\u63a5\u4e0b\u6765\u6211\u4eec\u518d\u770b\u770b\u589e\u91cf\u540c\u6b65\u65b9\u6848\u4e2d\u7684\u5173\u952e\u6982\u5ff5\u4ee5\u53ca\u5b8c\u6574\u6d41\u7a0b\u662f\u600e\u6837\u7684\u3002<\/p>\n
\u540c\u6b65\u7684\u7248\u672c\u53f7\u662f\u7531\u591a\u4e2a\u7248\u672c\u53f7\u62fc\u63a5\u6210\u7684\u5b57\u7b26\u4e32\uff0c\u7248\u672c\u53f7\u7684\u5177\u4f53\u542b\u4e49\u5bf9\u5ba2\u6237\u7aef\u900f\u660e\uff0c\u4f46\u662f\u5bf9\u670d\u52a1\u7aef\u975e\u5e38\u91cd\u8981\u3002<\/p>\n
\u7248\u672c\u53f7\u7684\u7ec4\u6210\u90e8\u5206\u4e3a\uff1a<\/p>\n
<\/p>\n
\u589e\u91cf\u540c\u6b65\u5728\u5b9e\u9645\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\u4f1a\u9047\u5230\u4e00\u4e9b\u95ee\u9898\uff1a<\/p>\n
\u7406\u60f3\u72b6\u51b5\u4e0b\uff0c\u82e5\u670d\u52a1\u7aef\u4e0b\u53d1\u5168\u91cf\u8282\u70b9\uff0c\u5ba2\u6237\u7aef\u94f2\u6389\u65e7\u6570\u636e\uff0c\u5e76\u4e14\u53bb\u62c9\u5168\u91cf\u8282\u70b9\u7684\u4fe1\u606f\uff0c\u5e76\u4e14\u7528\u65b0\u6570\u636e\u8986\u76d6\u5373\u53ef\u3002\u4f46\u662f\u79fb\u52a8\u7aef\u8fd9\u6837\u505a\u4f1a\u6d88\u8017\u5927\u91cf\u7684\u7528\u6237\u6d41\u91cf\uff0c\u8fd9\u6837\u7684\u505a\u6cd5\u662f\u4e0d\u53ef\u63a5\u53d7\u7684\u3002\u6240\u4ee5\u82e5\u670d\u52a1\u7aef\u4e0b\u53d1\u5168\u91cf\u8282\u70b9\uff0c\u5ba2\u6237\u7aef\u9700\u8981\u672c\u5730\u5bf9\u6bd4\u51fa\u589e\u5220\u6539\u8282\u70b9\uff0c\u518d\u53bb\u62c9\u53d8\u66f4\u8282\u70b9\u7684\u5177\u4f53\u4fe1\u606f\u3002<\/p>\n
\u589e\u91cf\u540c\u6b65\u60c5\u51b5\u4e0b\uff0c\u82e5\u670d\u52a1\u7aef\u4e0b\u53d1\u5168\u91cf\u8282\u70b9\uff0c\u6211\u4eec\u5728\u672c\u6587\u4e2d\u79f0\u8fd9\u79cd\u60c5\u51b5\u4e3a\u7248\u672c\u53f7\u56de\u9000\uff0c\u6548\u679c\u7c7b\u4f3c\u4e8e\u5ba2\u6237\u7aef\u7528\u7a7a\u7248\u672c\u53f7\u53bb\u540c\u6b65\u67b6\u6784\u3002\u4ece\u7edf\u8ba1\u7ed3\u679c\u6765\u770b\uff0c\u7ebf\u4e0a\u7248\u672c\u7684\u540c\u6b65\u4e2d\u6709 4% \u7684\u60c5\u51b5\u4f1a\u51fa\u73b0\u7248\u672c\u53f7\u56de\u9000\u3002<\/p>\n
\u82e5\u5ba2\u6237\u7aef\u7684\u4f20\u7684 seq \u8fc7\u65e7\uff0c\u589e\u91cf\u6570\u636e\u53ef\u80fd\u5f88\u5927\u3002\u6b64\u65f6\u82e5\u4e00\u6b21\u6027\u8fd4\u56de\u5168\u90e8\u7684\u66f4\u65b0\u6570\u636e\uff0c\u5ba2\u6237\u7aef\u8bf7\u6c42\u7684\u6570\u636e\u91cf\u4f1a\u5f88\u5927\uff0c\u65f6\u95f4\u4f1a\u5f88\u957f\uff0c\u6210\u529f\u7387\u5f88\u4f4e\u3002\u9488\u5bf9\u8fd9\u79cd\u573a\u666f\uff0c\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u9700\u8981\u7ea6\u5b9a\u9608\u503c\uff0c\u82e5\u8bf7\u6c42\u7684\u66f4\u65b0\u6570\u636e\u603b\u6570\u8d85\u8fc7\u8fd9\u4e2a\u9608\u503c\uff0c\u670d\u52a1\u7aef\u6bcf\u6b21\u6700\u591a\u8fd4\u56de\u4e0d\u8d85\u8fc7\u8be5\u9608\u503c\u7684\u6570\u636e\u3002\u82e5\u5ba2\u6237\u7aef\u53d1\u73b0\u670d\u52a1\u7aef\u8fd4\u56de\u7684\u6570\u636e\u6570\u91cf\u7b49\u4e8e\u9608\u503c\uff0c\u5219\u518d\u6b21\u5230\u670d\u52a1\u7aef\u8bf7\u6c42\u6570\u636e\uff0c\u76f4\u5230\u670d\u52a1\u7aef\u4e0b\u53d1\u7684\u6570\u636e\u6570\u91cf\u5c0f\u4e8e\u9608\u503c\u3002<\/p>\n
\u5728\u5168\u91cf\u540c\u6b65\u65b9\u6848\u4e2d\uff0c\u8282\u70b9\u901a\u8fc7 hash \u552f\u4e00\u6807\u793a\u3002\u670d\u52a1\u7aef\u4e0b\u53d1\u7684\u5168\u91cf hash \u5217\u8868\uff0c\u5ba2\u6237\u7aef\u5bf9\u6bd4\u672c\u5730\u5b58\u50a8\u7684\u5168\u91cf hash \u5217\u8868\uff0c\u82e5\u6709\u65b0\u7684 hash \u503c\u5219\u8bf7\u6c42\u8282\u70b9\u5177\u4f53\u4fe1\u606f\uff0c\u82e5\u6709\u5220\u9664\u7684 hash \u503c\u5219\u5ba2\u6237\u7aef\u5220\u9664\u6389\u8be5\u8282\u70b9\u4fe1\u606f\u3002<\/p>\n
\u5728\u5168\u91cf\u540c\u6b65\u65b9\u6848\u4e2d\uff0c\u5ba2\u6237\u7aef\u5e76\u4e0d\u80fd\u7406\u89e3 hash \u503c\u7684\u5177\u4f53\u542b\u4e49\uff0c\u5e76\u4e14\u53ef\u80fd\u9047\u5230 hash \u78b0\u649e\u8fd9\u79cd\u6781\u7aef\u60c5\u51b5\u5bfc\u81f4\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u786e\u5904\u7406\u4e0b\u53d1\u7684 hash \u5217\u8868\u3002<\/p>\n
\u800c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u4e2d\uff0c\u4f7f\u7528 protobuf \u7ed3\u6784\u4f53\u4ee3\u66ff hash \u503c\uff0c\u589e\u91cf\u66f4\u65b0\u4e2d\u8282\u70b9\u7684 proto \u5b9a\u4e49\u4e3a\uff1a<\/p>\n
<\/p>\n
\u5728\u589e\u91cf\u540c\u6b65\u65b9\u6848\u4e2d\uff0c\u7528 vid \u548c partyid \u6765\u552f\u4e00\u6807\u8bc6\u8282\u70b9\uff0c\u5b8c\u5168\u5e9f\u5f03\u4e86 hash \u503c\u3002\u8fd9\u6837\u5728\u589e\u91cf\u540c\u6b65\u7684\u65f6\u5019\uff0c\u5ba2\u6237\u7aef\u5b8c\u5168\u7406\u89e3\u4e86\u8282\u70b9\u7684\u5177\u4f53\u542b\u4e49\uff0c\u800c\u4e14\u4e5f\u4ece\u65b9\u6848\u4e0a\u907f\u514d\u4e86\u66fe\u7ecf\u5728\u5168\u91cf\u540c\u6b65\u65b9\u6848\u9047\u5230\u7684 hash \u503c\u91cd\u590d\u7684\u5f02\u5e38\u60c5\u51b5\u3002<\/p>\n
\u5e76\u4e14\u5728\u8282\u70b9\u7ed3\u6784\u4f53\u91cc\u5e26\u4e0a\u4e86 seq \u3002\u8282\u70b9\u4e0a\u7684 seq \u6765\u8868\u793a\u8be5\u8282\u70b9\u7684\u7248\u672c\uff0c\u6bcf\u6b21\u8282\u70b9\u7684\u5177\u4f53\u4fe1\u606f\u6709\u66f4\u65b0\uff0c\u670d\u52a1\u7aef\u4f1a\u63d0\u9ad8\u8282\u70b9\u7684 seq\uff0c\u5ba2\u6237\u7aef\u53d1\u73b0\u670d\u52a1\u7aef\u4e0b\u53d1\u7684\u8282\u70b9 seq \u6bd4\u5ba2\u6237\u7aef\u672c\u5730\u7684 seq \u5927\uff0c\u5219\u9700\u8981\u53bb\u8bf7\u6c42\u8282\u70b9\u7684\u5177\u4f53\u4fe1\u606f\uff0c\u907f\u514d\u65e0\u6548\u7684\u8282\u70b9\u4fe1\u606f\u8bf7\u6c42\u3002<\/p>\n
\u56e0\u4e3a svr \u63a5\u53e3\u652f\u6301\u4f20\u9608\u503c\u6279\u91cf\u62c9\u53d6\u53d8\u66f4\u8282\u70b9\uff0c\u4e00\u6b21\u7f51\u7edc\u64cd\u4f5c\u5e76\u4e0d\u610f\u5473\u7740\u67b6\u6784\u540c\u6b65\u5df2\u7ecf\u5b8c\u6210\u3002\u90a3\u4e48\u600e\u4e48\u5224\u65ad\u67b6\u6784\u540c\u6b65\u5b8c\u6210\u4e86\u5462\uff1f\u8fd9\u91cc\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u7ea6\u5b9a\u7684\u65b9\u6848\u662f\uff1a<\/p>\n
\u82e5\u670d\u52a1\u7aef\u4e0b\u53d1\u7684\uff08\u65b0\u589e\u8282\u70b9\uff0b\u5220\u9664\u8282\u70b9\uff09\u5c0f\u4e8e\u5ba2\u6237\u7aef\u4f20\u7684\u9608\u503c\uff0c\u5219\u8ba4\u4e3a\u67b6\u6784\u540c\u6b65\u7ed3\u675f\u3002<\/p>\n
\u5f53\u5b8c\u6574\u67b6\u6784\u540c\u6b65\u5b8c\u6210\u540e\uff0c\u5ba2\u6237\u7aef\u9700\u8981\u6e05\u9664\u6389\u7f13\u5b58\uff0c\u5e76\u8fdb\u884c\u4e00\u4e9b\u989d\u5916\u7684\u4e1a\u52a1\u5de5\u4f5c\uff0c\u8b6c\u5982\u8ba1\u7b97\u90e8\u95e8\u4eba\u6570\uff0c\u8ba1\u7b97\u6210\u5458\u641c\u7d22\u70ed\u5ea6\u7b49\u3002<\/p>\n
\u589e\u91cf\u540c\u6b65\u65b9\u6848 \u2013 \u5b8c\u6574\u6d41\u7a0b\u56fe<\/p>\n
\u8003\u8651\u5230\u5404\u79cd\u8fb9\u754c\u6761\u4ef6\u548c\u5f02\u5e38\u60c5\u51b5\uff0c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u7684\u5b8c\u6574\u6d41\u7a0b\u56fe\u4e3a\uff1a<\/p>\n
<\/p>\n
\u5728\u52a0\u5165\u589e\u91cf\u548c\u5206\u7247\u7279\u6027\u540e\uff0c\u9488\u5bf9\u51e0\u5341\u4e07\u4eba\u7684\u8d85\u5927\u4f01\u4e1a\uff0c\u5728\u7248\u672c\u53f7\u56de\u9000\u7684\u573a\u666f\uff0c\u600e\u6837\u4fdd\u8bc1\u67b6\u6784\u540c\u6b65\u7684\u5b8c\u6574\u6027\u548c\u65b9\u6848\u9009\u62e9\u6210\u4e3a\u4e86\u96be\u70b9\u3002<\/p>\n
\u524d\u6587\u63d0\u5230\uff0c\u9690\u85cf\u89c4\u5219\u53d8\u66f4\u4ee5\u53ca\u540e\u53f0\u7269\u7406\u5220\u9664\u65e0\u6548\u8282\u70b9\u540e\uff0c\u5ba2\u6237\u7aef\u82e5\u7528\u5f88\u65e7\u7684\u7248\u672c\u540c\u6b65\uff0c\u670d\u52a1\u7aef\u7b97\u4e0d\u51fa\u589e\u91cf\u8282\u70b9\uff0c\u6b64\u65f6\u670d\u52a1\u7aef\u4f1a\u4e0b\u53d1\u5168\u91cf\u8282\u70b9\uff0c\u5ba2\u6237\u7aef\u9700\u8981\u672c\u5730\u5bf9\u6bd4\u6240\u6709\u6570\u636e\u627e\u51fa\u53d8\u66f4\u8282\u70b9\uff0c\u8be5\u573a\u666f\u53ef\u4ee5\u7406\u89e3\u4e3a\u7248\u672c\u53f7\u56de\u9000\u3002\u5728\u8fd9\u79cd\u573a\u666f\u4e0b\uff0c\u5bf9\u4e8e\u51e0\u5341\u4e07\u8282\u70b9\u7684\u8d85\u5927\u578b\u4f01\u4e1a\uff0c\u82e5\u670d\u52a1\u7aef\u4e0b\u53d1\u7684\u589e\u91cf\u8282\u70b9\u8fc7\u591a\uff0c\u5ba2\u6237\u7aef\u8bf7\u6c42\u7684\u65f6\u95f4\u4f1a\u5f88\u957f\uff0c\u6210\u529f\u7387\u4f1a\u5f88\u4f4e\uff0c\u56e0\u6b64\u9700\u8981\u5206\u7247\u62c9\u53d6\u589e\u91cf\u8282\u70b9\u3002\u800c\u4e14\u62c9\u53d6\u4e0b\u6765\u7684\u5168\u91cf\u8282\u70b9\uff0c\u5ba2\u6237\u7aef\u5904\u7406\u4e0d\u80fd\u8bf7\u6c42\u5168\u91cf\u8282\u70b9\u7684\u5177\u4f53\u4fe1\u606f\u8986\u76d6\u65e7\u6570\u636e\uff0c\u8fd9\u6837\u7684\u8bdd\u6bcf\u6b21\u7248\u672c\u53f7\u56de\u9000\u7684\u573a\u666f\u6d41\u91cf\u6d88\u8017\u8fc7\u5927\u3002<\/p>\n
\u56e0\u6b64\uff0c\u9488\u5bf9\u51e0\u5341\u4e07\u8282\u70b9\u7684\u8d85\u5927\u578b\u4f01\u4e1a\u7684\u589e\u91cf\u540c\u6b65\uff0c\u5ba2\u6237\u7aef\u96be\u70b9\u5728\u4e8e\uff1a<\/p>\n
\u82e5\u670d\u52a1\u7aef\u4e0b\u53d1\u4e86\u5168\u91cf\u8282\u70b9\uff0c\u5ba2\u6237\u7aef\u7684\u5904\u7406\u65f6\u5e8f\u56fe\u4e3a\uff1a<\/p>\n
<\/p>\n
\u4ece\u65f6\u5e8f\u56fe\u4e2d\u53ef\u4ee5\u770b\u51fa\uff0c\u670d\u52a1\u7aef\u4e0b\u53d1\u7684\u7248\u672c\u53f7\u56de\u9000\u6807\u8bb0\u662f\u5f88\u91cd\u8981\u7684\u4fe1\u53f7\u3002<\/p>\n
\u800c\u7248\u672c\u53f7\u56de\u9000\u8fd9\u4e2a\u6807\u8bb0\uff0c\u4ec5\u4ec5\u5728\u540c\u6b65\u7684\u9996\u6b21\u4f1a\u968f\u7740\u65b0\u7684\u7248\u672c\u53f7\u800c\u4e0b\u53d1\u3002\u5728\u5b8c\u6574\u67b6\u6784\u540c\u6b65\u671f\u95f4\uff0c\u5ba2\u6237\u7aef\u9700\u8981\u5c06\u8be5\u6807\u8bb0\u7f13\u5b58\uff0c\u5e76\u4e14\u8ddf\u7740\u7248\u672c\u53f7\u4e00\u8d77\u5b58\u5728\u6570\u636e\u5e93\u4e2d\u3002\u5728\u5b8c\u6574\u67b6\u6784\u540c\u6b65\u7ed3\u675f\u540e\uff0c\u9700\u8981\u6839\u636e\u662f\u5426\u7248\u672c\u53f7\u56de\u9000\u6765\u51b3\u5b9a\u5220\u9664\u6389\u6570\u636e\u5e93\u4e2d\u7684\u5f85\u5220\u9664\u8282\u70b9\u3002<\/p>\n
\u67b6\u6784\u6811\u5907\u4efd\u6700\u76f4\u63a5\u7684\u65b9\u6848\u662f\u5c06 db \u4e2d\u6570\u636e copy \u4e00\u4efd\uff0c\u5e76\u5b58\u5728\u65b0\u8868\u91cc\u3002\u5982\u679c\u5728\u6570\u636e\u91cf\u5f88\u5c0f\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd9\u6837\u505a\u662f\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u7684\uff0c\u4f46\u662f\u67b6\u6784\u6811\u7684\u8282\u70b9\u5f80\u5f80\u5f88\u591a\uff0c\u91c7\u53d6\u8fd9\u6837\u7b80\u5355\u7c97\u66b4\u7684\u65b9\u6848\u5728\u79fb\u52a8\u7aef\u662f\u5b8c\u5168\u4e0d\u53ef\u53d6\u7684\uff0c\u5728\u51e0\u5341\u4e07\u4eba\u7684\u4f01\u4e1a\u91cc\uff0c\u8fd9\u6837\u505a\u4f1a\u9020\u6210\u6781\u5927\u7684\u6027\u80fd\u95ee\u9898\u3002<\/p>\n
\u7ecf\u8fc7\u8003\u8651\u540e\uff0c\u4f01\u4e1a\u5fae\u4fe1\u91c7\u53d6\u7684\u65b9\u6848\u662f\uff1a<\/p>\n
\u800c\u4e14\uff0c\u5728\u589e\u91cf\u540c\u6b65\u8fc7\u7a0b\u4e2d\uff0c\u4e0d\u5e94\u8be5\u5f71\u54cd\u6b63\u5e38\u7684\u67b6\u6784\u6811\u5c55\u793a\u3002\u6240\u4ee5\u5728\u67b6\u6784\u540c\u6b65\u8fc7\u7a0b\u4e2d\uff0c\u82e5\u6709\u4e0a\u5c42\u6765\u8bf7\u6c42 db \u4e2d\u7684\u6570\u636e\uff0c\u5219\u9700\u8981\u8fc7\u6ee4\u6389\u6709\u5f85\u5220\u9664\u6807\u8bb0\u7684\u8282\u70b9\u3002<\/p>\n
\u65b9\u6848\u51b3\u5b9a\u5ba2\u6237\u7aef\u907f\u514d\u4e0d\u4e86\u5168\u91cf\u8282\u70b9\u5bf9\u6bd4\uff0c\u5c06\u91cd\u8981\u7684\u4fe1\u606f\u7f13\u5b58\u5230\u5185\u5b58\u4e2d\u4f1a\u5927\u5927\u52a0\u5feb\u5904\u7406\u901f\u5ea6\u3002\u5185\u5b58\u4e2d\u7684\u67b6\u6784\u6811\u8282\u70b9\u4f53\u5b9a\u4e49\u4e3a\uff1a<\/p>\n
<\/p>\n
\u6b64\u5904\u6211\u4eec\u7528 std::map \u6765\u7f13\u5b58\u67b6\u6784\u6811\uff0c\u7528 std::pair \u4f5c\u4e3a key\u3002\u6211\u4eec\u5728\u6bd4\u8f83\u8282\u70b9\u7684\u65f6\u5019\uff0c\u4f1a\u6d89\u53ca\u5230\u5f88\u591a\u67e5\u8be2\u64cd\u4f5c\uff0c\u4f7f\u7528 map \u67e5\u8be2\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4ec5\u4e3a O(logn)\u3002<\/p>\n
\u672c\u8282\u5355\u72ec\u5c06\u4f18\u5316\u540c\u6b65\u65b9\u6848\u4e2d\u5173\u952e\u70b9\u62ff\u51fa\u6765\u5199\uff0c\u8fd9\u4e9b\u5173\u952e\u70b9\u4e0d\u4ec5\u4ec5\u9002\u7528\u4e8e\u672c\u6587\u67b6\u6784\u540c\u6b65\uff0c\u4e5f\u9002\u7528\u4e8e\u5927\u591a\u6570\u540c\u6b65\u903b\u8f91\u3002<\/p>\n
\u4fdd\u8bc1\u6570\u636e\u5904\u7406\u5b8c\u6210\u540e\uff0c\u518d\u50a8\u5b58\u7248\u672c\u53f7<\/p>\n
\u5728\u51e0\u4e4e\u6240\u6709\u7684\u540c\u6b65\u4e2d\uff0c\u7248\u672c\u53f7\u90fd\u662f\u91cd\u4e2d\u4e4b\u91cd\uff0c\u4e00\u65e6\u7248\u672c\u53f7\u4e71\u6389\uff0c\u540e\u679c\u975e\u5e38\u4e25\u91cd\u3002<\/p>\n
\u5728\u67b6\u6784\u540c\u6b65\u4e2d\uff0c\u6700\u6700\u91cd\u8981\u7684\u4e00\u70b9\u662f\uff1a\u4fdd\u8bc1\u6570\u636e\u5904\u7406\u5b8c\u6210\u540e\uff0c\u518d\u50a8\u5b58\u7248\u672c\u53f7<\/p>\n
\u5728\u7ec4\u7ec7\u67b6\u6784\u540c\u6b65\u7684\u573a\u666f\u4e0b\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u5148\u5b58\u7248\u672c\u53f7\uff0c\u518d\u5b58\u6570\u636e\u5462\uff1f<\/p>\n
\u8fd9\u6d89\u53ca\u5230\u7ec4\u7ec7\u67b6\u6784\u540c\u6b65\u6570\u636e\u7684\u4e00\u4e2a\u91cd\u8981\u7279\u5f81\uff1a\u67b6\u6784\u8282\u70b9\u6570\u636e\u662f\u53ef\u91cd\u590d\u62c9\u53d6\u5e76\u8986\u76d6\u7684\u3002<\/p>\n
\u8003\u8651\u4e0b\u5b9e\u9645\u64cd\u4f5c\u4e2d\u9047\u5230\u7684\u771f\u5b9e\u573a\u666f\uff1a<\/p>\n
\u82e5\u4e00\u65e6\u5148\u5b58\u7248\u672c\u53f7\u518d\u5b58\u5177\u4f53\u6570\u636e\uff0c\u4e00\u5b9a\u4f1a\u6709\u6982\u7387\u4e22\u5931\u67b6\u6784\u66f4\u65b0\u6570\u636e\u3002<\/p>\n
\u6b63\u5e38\u60c5\u51b5\u4e0b\uff0c\u4e00\u6b21\u540c\u6b65\u7684\u903b\u8f91\u53ef\u4ee5\u7b80\u5316\u4e3a\uff1a<\/p>\n
<\/p>\n
\u5728\u4f01\u4e1a\u5fae\u4fe1\u7684\u7ec4\u7ec7\u67b6\u6784\u540c\u6b65\u4e2d\u5b58\u5728\u5f02\u6b65\u64cd\u4f5c\uff0c\u82e5\u8fdb\u884c\u540c\u6b65\u7684\u8fc7\u7a0b\u4e0d\u4fdd\u8bc1\u539f\u5b50\u6027\uff0c\u6781\u5927\u53ef\u80fd\u51fa\u73b0\u4e0b\u56fe\u6240\u793a\u7684\u60c5\u51b5\uff1a<\/p>\n
<\/p>\n
\u8be5\u56fe\u4e2d\uff0c\u540c\u6b65\u7684\u9014\u4e2d\u63d2\u5165\u4e86\u53e6\u5916\u4e00\u6b21\u540c\u6b65\uff0c\u5f88\u5bb9\u6613\u9020\u6210\u95ee\u9898\uff1a<\/p>\n
\u600e\u6837\u4fdd\u8bc1\u540c\u6b65\u7684\u539f\u5b50\u6027\u5462\uff1f<\/p>\n
\u6211\u4eec\u53ef\u4ee5\u5728\u5f00\u59cb\u540c\u6b65\u7684\u65f6\u5019\u8bb0\u4e00\u4e2a flag \u8868\u793a\u6b63\u5728\u540c\u6b65\uff0c\u5728\u7ed3\u675f\u540c\u6b65\u65f6\uff0c\u6e05\u9664\u6389\u8be5 flag\u3002\u82e5\u53e6\u5916\u4e00\u6b21\u540c\u6b65\u5230\u6765\u65f6\uff0c\u53d1\u73b0\u6b63\u5728\u540c\u6b65\uff0c\u5219\u53ef\u4ee5\u76f4\u63a5\u820d\u5f03\u6389\u672c\u6b21\u540c\u6b65\uff0c\u6216\u8005\u7b49\u672c\u6b21\u540c\u6b65\u6210\u529f\u540e\u518d\u8fdb\u884c\u4e00\u6b21\u540c\u6b65\u3002<\/p>\n
\u6b64\u5916\u4e5f\u53ef\u5c06\u540c\u6b65\u4e32\u884c\u5316\uff0c\u4fdd\u8bc1\u540c\u6b65\u7684\u65f6\u5e8f\uff0c\u591a\u6b21\u540c\u6b65\u7684\u65f6\u5e8f\u5e94\u8be5\u662f FIFO \u7684\u3002<\/p>\n
\u79fb\u52a8\u7aef\u540c\u6b65\u8fc7\u7a0b\u4e2d\u7684\u7f13\u5b58\u591a\u5206\u4e3a\u4e24\u79cd\uff1a<\/p>\n
\u5185\u5b58\u7f13\u5b58\u591a\u7f13\u5b58\u540c\u6b65\u65f6\u7684\u6570\u636e\u4ee5\u53ca\u540c\u6b65\u7684\u4e2d\u95f4\u72b6\u6001\uff0c\u78c1\u76d8\u7f13\u5b58\u7528\u4e8e\u7f13\u5b58\u540c\u6b65\u7684\u4e2d\u95f4\u72b6\u6001\u9632\u6b62\u7f13\u5b58\u72b6\u6001\u4e22\u5931\u3002<\/p>\n
\u5728\u6574\u4e2a\u540c\u6b65\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u90fd\u5fc5\u987b\u4fdd\u8bc1\u7f13\u5b58\u4e2d\u7684\u6570\u636e\u548c\u6570\u636e\u5e93\u7684\u6570\u636e\u7684\u66f4\u6539\u9700\u8981\u4e00\u4e00\u5bf9\u5e94\u3002\u5728\u589e\u91cf\u540c\u6b65\u7684\u60c5\u51b5\u4e2d\uff0c\u6211\u4eec\u6bcf\u6b21\u9700\u8981\u66f4\u65b0 \/ \u5220\u9664\u6570\u636e\u5e93\u4e2d\u7684\u8282\u70b9\uff0c\u90fd\u9700\u8981\u66f4\u65b0\u76f8\u5e94\u7684\u7f13\u5b58\u4fe1\u606f\uff0c\u6765\u4fdd\u8bc1\u6570\u636e\u7684\u4e00\u81f4\u6027\u3002<\/p>\n
\u5185\u5b58\u4f7f\u7528<\/strong> \u5185\u5b58\u5cf0\u503c\u6d4b\u8bd5\u7ed3\u679c<\/strong><\/p>\n <\/p>\n \u5206\u6790<\/strong><\/p>\n \u968f\u7740\u67b6\u6784\u7684\u8282\u70b9\u589e\u591a\uff0c\u5168\u91cf\u540c\u6b65\u65b9\u6848\u7684\u5185\u5b58\u5cf0\u503c\u4f1a\u4e00\u76f4\u6500\u5347\uff0c\u5728\u6781\u9650\u60c5\u51b5\u4e0b\uff0c\u4f1a\u51fa\u73b0\u5185\u5b58\u4e0d\u8db3\u5e94\u7528\u7a0b\u5e8f crash \u7684\u60c5\u51b5\uff08\u5b9e\u9645\u6d4b\u8bd5\u4e2d\uff0c30w \u8282\u70b9\u4e0b\uff0ciPhone 6 \u5168\u91cf\u540c\u6b65\u65b9\u6848\u5fc5 crash\uff09\u3002\u800c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u4e2d\uff0c\u603b\u8282\u70b9\u7684\u591a\u5c11\u5e76\u4e0d\u4f1a\u5f71\u54cd\u5185\u5b58\u5cf0\u503c\uff0c\u4ec5\u4ec5\u4f1a\u589e\u52a0\u540c\u6b65\u5206\u7247\u7684\u6b21\u6570\u3002<\/p>\n \u4f18\u5316\u540e\uff0c\u5728\u817e\u8baf\u57df\u4e0b\uff0c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u7684 App \u603b\u5185\u5b58\u4f7f\u7528\u4ec5\u4e3a\u5168\u91cf\u540c\u6b65\u65b9\u6848\u7684 53.1%\uff0c\u4e14\u4f01\u4e1a\u8d8a\u5927\u4f18\u5316\u6548\u679c\u8d8a\u660e\u663e\u3002\u5e76\u4e14\u4e0d\u8bba\u67b6\u6784\u7684\u603b\u8282\u70b9\u6570\u6709\u591a\u5c11\uff0c\u589e\u91cf\u540c\u6b65\u65b9\u6848\u90fd\u80fd\u5c06\u5b8c\u6574\u67b6\u6784\u540c\u6b65\u4e0b\u6765\uff0c\u8fbe\u5230\u4e86\u9884\u671f\u7684\u6548\u679c\u3002<\/p>\n \u6d4b\u8bd5\u65b9\u6cd5\uff1a\u5728\u7ba1\u7406\u7aef\u5bf9\u6210\u5458\u505a\u589e\u52a0\u64cd\u4f5c\u4e94\u6b21\uff0c\u901a\u8fc7\u65e5\u5fd7\u5206\u6790\u5ba2\u6237\u7aef\u6d88\u8017\u6d41\u91cf\uff0c\u53d6\u5176\u5e73\u5747\u503c\u3002\u65e5\u5fd7\u4f1a\u6253\u5370\u51fa\u8bf7\u6c42\u7684 header \u548c body \u5927\u5c0f\u5e76\u4f30\u7b97\u51fa\u6d41\u91cf\u4f7f\u7528\u503c\u3002<\/p>\n \u6d4b\u8bd5\u7ed3\u679c<\/strong><\/p>\n <\/p>\n \u5206\u6790<\/strong><\/p>\n \u589e\u52a0\u6210\u5458\u64cd\u4f5c\uff0c\u9488\u5bf9\u589e\u91cf\u540c\u6b65\u65b9\u6848\u4ec5\u4ec5\u4f1a\u65b0\u62c9\u5355\u4e2a\u6210\u5458\u7684\u4fe1\u606f\uff0c\u6240\u4ee5\u65e0\u8bba\u67b6\u6784\u91cc\u6709\u591a\u5c11\u4eba\uff0c\u6d41\u91cf\u6d88\u8017\u90fd\u662f\u76f8\u8fd1\u7684\u3002\u540c\u6837\u7684\u64cd\u4f5c\u9488\u5bf9\u5168\u91cf\u540c\u6b65\u65b9\u6848\uff0c\u6bcf\u6b21\u8bf7\u6c42\u53d8\u66f4\uff0c\u670d\u52a1\u7aef\u90fd\u4f1a\u4e0b\u53d1\u5168\u91cf hash \u5217\u8868\uff0c\u4f01\u4e1a\u8d8a\u5927\u6d88\u8017\u7684\u6d41\u91cf\u8d8a\u591a\u3002\u53ef\u4ee5\u770b\u5230\uff0c\u5f53\u4f01\u4e1a\u7684\u8282\u70b9\u6570\u8fbe\u5230 20w \u7ea7\u522b\u65f6\uff0c\u5168\u91cf\u540c\u6b65\u65b9\u6848\u7684\u6d41\u91cf\u6d88\u8017\u662f\u589e\u91cf\u540c\u6b65\u65b9\u6848\u7684\u8fd1 500 \u500d\u3002<\/p>\n \u4f18\u5316\u540e\uff0c\u5728\u817e\u8baf\u57df\u4e0b\uff0c\u6bcf\u6b21\u589e\u91cf\u540c\u6b65\u6d41\u91cf\u6d88\u8017\u4ec5\u4e3a\u5168\u91cf\u540c\u6b65\u65b9\u6848\u7684 0.4%\uff0c\u4e14\u4f01\u4e1a\u8d8a\u5927\u4f18\u5316\u6548\u679c\u8d8a\u660e\u663e\u3002<\/p>\n \u589e\u91cf\u540c\u6b65\u65b9\u6848\u4ece\u65b9\u6848\u4e0a\u907f\u514d\u4e86\u67b6\u6784\u540c\u6b65\u4e0d\u53ca\u65f6\u4ee5\u53ca\u6d41\u91cf\u6d88\u8017\u8fc7\u5927\u7684\u95ee\u9898\u3002\u901a\u8fc7\u7528\u6237\u53cd\u9988\u548c\u6570\u636e\u5206\u6790\uff0c\u589e\u91cf\u67b6\u6784\u540c\u6b65\u4e0a\u7ebf\u540e\u8fd0\u884c\u7a33\u5b9a\uff0c\u8fbe\u5230\u4e86\u7406\u60f3\u7684\u4f18\u5316\u6548\u679c\u3002<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.yunweipai.com\/archives\/19118.html<\/a><\/p>\n
\n\u6d4b\u8bd5\u65b9\u6cd5\uff1a\u4f7f\u7528\u5de5\u5177 Instrument\uff0c\u7528\u540c\u4e00\u8d26\u53f7\u76d1\u63a7\u5168\u91cf\u540c\u6b65\u548c\u589e\u91cf\u540c\u6b65\u5206\u522b\u5728\u9996\u6b21\u52a0\u8f7d\u67b6\u6784\u65f6\u7684 App \u5185\u5b58\u5cf0\u503c\u3002<\/p>\n\n