{"id":233,"date":"2022-02-11T14:40:06","date_gmt":"2022-02-11T06:40:06","guid":{"rendered":"https:\/\/cici.press\/?p=233"},"modified":"2026-03-16T01:29:28","modified_gmt":"2026-03-15T17:29:28","slug":"%e9%80%9a%e4%bf%a1%e5%8d%8f%e8%ae%ae%ef%bc%9atcp%e3%80%81udp%e3%80%81rudp%e5%92%8cquic","status":"publish","type":"post","link":"http:\/\/cici.press\/index.php\/2022\/02\/11\/%e9%80%9a%e4%bf%a1%e5%8d%8f%e8%ae%ae%ef%bc%9atcp%e3%80%81udp%e3%80%81rudp%e5%92%8cquic\/","title":{"rendered":"\u901a\u4fe1\u534f\u8bae\uff1aTCP\u3001UDP\u3001RUDP\u548cQUIC"},"content":{"rendered":"\n<p>\u6765\u7531\uff1a\u6700\u8fd1\u5728\u67e5\u770b\u8def\u7531\u5668\u7684\u6d41\u91cf\u5206\u6790\u65f6\u53d1\u73b0\uff0c\u6392\u540d\u9760\u524d\u7684APP\u540d\u79f0\u53ebQUIC\uff0c\u4f46\u6211\u6ca1\u6709\u5b89\u88c5\u8fc7\u8fd9\u4e2aAPP\u554a\uff0c\u8b66\u89c9\u4e4b\u4e0b\u67e5\u9605\u76f8\u5173\u6587\u6863\uff0c\u5f15\u51fa\u4e86\u4e0b\u6587\u3002<\/p>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"333\" src=\"https:\/\/cici.press\/wp-content\/uploads\/2022\/02\/\u7f51\u7edcAPP\u6d41\u91cf\u5206\u6790.jpg\" alt=\"\" class=\"wp-image-234\" srcset=\"http:\/\/cici.press\/wp-content\/uploads\/2022\/02\/\u7f51\u7edcAPP\u6d41\u91cf\u5206\u6790.jpg 440w, http:\/\/cici.press\/wp-content\/uploads\/2022\/02\/\u7f51\u7edcAPP\u6d41\u91cf\u5206\u6790-300x227.jpg 300w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><figcaption>QUIC\u662f\u4ec0\u4e48APP\uff1f<\/figcaption><\/figure><\/div>\n\n\n\n<!--more-->\n\n\n\n<p>\u901a\u4fe1\u534f\u8bae\u5c31\u662f\u7f51\u7edc\u901a\u4fe1\u4e2d\u7684\u89c4\u5219\uff0c\u5e38\u89c1\u7684\u6709TCP\u534f\u8bae\u548cUDP\u534f\u8bae\u4e24\u79cd\u3002<\/p>\n\n\n\n<p><strong>\u7b2c\u4e00\u79cd\uff1aTCP\u534f\u8bae<\/strong><br>\u82f1\u6587\u540d\uff1aTransmission Control Protocol<br>\u4e2d\u6587\u540d\uff1a\u4f20\u8f93\u63a7\u5236\u534f\u8bae<br>\u534f\u8bae\u8bf4\u660e\uff1aTCP\u662f\u4e00\u79cd\u9762\u5411\u8fde\u63a5\u7684\u3001\u53ef\u9760\u7684\u3001\u57fa\u4e8e\u5b57\u8282\u6d41\u7684\u4f20\u8f93\u5c42\u901a\u4fe1\u534f\u8bae\u3002<\/p>\n\n\n\n<p>\u4e3e\u4f8b\uff1a\u6253\u7535\u8bdd\uff0c\u9700\u8981\u53cc\u65b9\u90fd\u63a5\u901a\uff0c\u624d\u80fd\u8fdb\u884c\u5bf9\u8bdd<br>\u7279\u70b9\uff1a\u6548\u7387\u4f4e\uff0c\u6570\u636e\u4f20\u8f93\u6bd4\u8f83\u5b89\u5168<br>\u5178\u578b\u5e94\u7528\uff1ahttp\u3001https\u3001ftp \u3001\u7f51\u7edc\u6e38\u620f\u8d26\u53f7\u767b\u9646 <\/p>\n\n\n\n<p><strong>\u7b2c\u4e8c\u79cd\uff1aUDP\u534f\u8bae<\/strong><br>\u82f1\u6587\u540d\uff1aUser Datagram Protocol<br>\u4e2d\u6587\u540d\uff1a\u6570\u636e\u62a5\u534f\u8bae<br>\u534f\u8bae\u8bf4\u660e\uff1aUDP\u662f\u4e00\u79cd\u9762\u5411\u65e0\u8fde\u63a5\u7684\u4f20\u8f93\u5c42\u901a\u4fe1\u534f\u8bae\u3002<br>\u4e3e\u4f8b\uff1a\u53d1\u77ed\u4fe1\uff0c\u4e0d\u9700\u8981\u53cc\u65b9\u5efa\u7acb\u8fde\u63a5\uff0cBut\uff0c\u6570\u636e\u62a5\u7684\u5927\u5c0f\u5e94\u9650\u5236\u572864k\u4ee5\u5185<br>\u7279\u70b9\uff1a\u6548\u7387\u9ad8\uff0c\u6570\u636e\u4f20\u8f93\u4e0d\u5b89\u5168\uff0c\u5bb9\u6613\u4e22\u5305<br>\u5178\u578b\u5e94\u7528\uff1aDHCP\u3001DNS\u3001IP\u7535\u8bdd(VoIP)\u3001\u7f51\u7edc\u6e38\u620f\u64cd\u4f5c\u63a7\u5236\u3001\u89c6\u9891\u4f1a\u8bae<\/p>\n\n\n\n<p>\u6b63\u662f\u7531\u4e8e\u4e0a\u8ff0\u4e24\u79cd\u901a\u4fe1\u534f\u8bae\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u7f51\u7edc\u5de5\u7a0b\u5e08\u4eec\u60f3\u627e\u5230\u4e00\u79cd\u80fd\u53bb\u52a3\u53d6\u4f18\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u6240\u4ee5\u5c31\u51fa\u73b0\u4e86\u540e\u6765\u7684RUDP\uff0c\u5373\u53ef\u4fe1\u8d56\uff08Reliable\uff09\u7684UDP\u3002<\/p>\n\n\n\n<p>\u5178\u578b\u7684\u4e00\u79cdRUDP\u5c31\u662fgoogle\u5de5\u7a0b\u5e082012\u5e74\u5f00\u53d1\u7684<strong>QUIC<\/strong>\uff08Quick UDP Internet Connections\uff09\uff0c\u4f7f\u7528UDP\u8fdb\u884c\u591a\u8def\u4f20\u8f93\u7684\u534f\u8bae\uff0c\u5b83\u6539\u8fdb\u4e86TCP\u3001TLS\u53caHTTP2\u7684\u90e8\u5206\u7279\u6027\uff0c\u80fd\u591f\u5927\u5e45\u63d0\u5347WEB\u4f20\u8f93\u7684\u6027\u80fd\uff0815%\u4ee5\u4e0a\uff09\u3002QUIC\u5177\u6709\u8fde\u63a5\u5efa\u7acb\u5ef6\u65f6\u4f4e\u3001\u6539\u8fdb\u7684\u62e5\u585e\u63a7\u5236\u3001\u6ca1\u6709\u961f\u5934\u963b\u585e\u7684\u591a\u8def\u590d\u7528\u3001\u8fde\u63a5\u8fc1\u79fb\u7b49\u4f18\u70b9\u3002<\/p>\n\n\n\n<p>10\u5e74\u8fc7\u53bb\u4e86\uff0cQUIC\u5e76\u6ca1\u6709\u5168\u9762\u63a8\u5e7f\u5f00\u6765\uff0c\u4f46\u5df2\u7ecf\u662f\u4e0d\u5bb9\u5ffd\u89c6\u7684\u4e00\u79cd\u5b9e\u7528\u901a\u4fe1\u534f\u8bae\u4e86\uff0c\u6709\u4eba\u8ba4\u4e3aQUIC\u7684\u4f18\u70b9\u4f7f\u5176\u8fdf\u65e9\u4f1a\u66ff\u4ee3TCP\u548cUDP\u3002<\/p>\n\n\n\n<p>\u5f53\u7136\u4e5f\u6709\u89c2\u70b9\u8ba4\u4e3a\uff1aTCP\/UDP\u662f\u901a\u7528\u534f\u8bae\uff0c\u91cd\u5728\u7b80\u5355\u548c\u901a\u7528\uff1bQUIC\u662f\u4e00\u79cd\u9488\u5bf9\u6d4f\u89c8\u5668\u548cHTTP Server\u95f4\u901a\u8baf\u8fdb\u884c\u4f18\u5316\u7684\u4e13\u7528\u534f\u8bae\uff0c\u9488\u5bf9\u5b83\u6240\u9762\u5bf9\u7684\u95ee\u9898\u57df\u505a\u4e86\u5f88\u591a\u53d6\u820d\uff0c\u4e0d\u5b58\u5728\u540e\u8005\u4ee3\u66ff\u524d\u8005\u7684\u53ef\u80fd\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\uff0c\u6211\u5bb6\u7f51\u7edc\u4f7f\u7528\u91cf\u6392\u540d\u9760\u524d\u7684\u662f\u4f7f\u7528QUIC\u901a\u4fe1\u534f\u8bae\u7684APP\uff0c\u5177\u4f53\u662f\u54ea\u4e00\u7cfb\u5217\u6216\u54ea\u4e00\u4e2aAPP\u5c31\u4e0d\u77e5\u9053\u4e86\uff0c\u53ea\u662f\u4ece\u8fd9\u91cc\u4e5f\u53ef\u4ee5\u770b\u5230QUIC\u7684\u5e94\u7528\u6b63\u5728\u8d8a\u6765\u8d8a\u5e7f\uff01<\/p>\n\n\n\n<p>\u8865\u5145\u77e5\u8bc6\uff1a<\/p>\n\n\n\n<p>\u8fd8\u6709\u4e00\u79cd\u91cd\u8981\u7684RUDP\u662fSCTP\uff08Stream Control Transmission Protocol\uff09\u3002\u5176\u5178\u578b\u5e94\u7528\u4e3aWebRTC\u53ca\u5176DataChannel\uff1a\u8457\u540d\u7684\u76f4\u64ad\u5e73\u53f0\u7684\u63a8\u6d41\u51e0\u4e4e\u90fd\u7528 WebRTC\u3010\u89c2\u770b\u7528CDN\u3011\uff1b\u56fd\u5185\u63d0\u4f9b\u97f3\u89c6\u9891\u3001\u6d41\u5a92\u4f53PaaS\u548cSaaS\u670d\u52a1\u7684\u8f6f\u4ef6\u4e5f\u57fa\u672c\u57fa\u4e8e WebRTC \u5f00\u53d1\uff0c\u901a\u8fc7WebRTC\u8fdb\u884c\u5b9e\u65f6\u901a\u4fe1\uff0c\u4f7f\u7528RTCDataChannel\u4ea4\u6362\u6570\u636e\u3002<\/p>\n\n\n\n<p>\u53e6\u5916\u5f00\u6e90\u7684RUDP\u6709\uff1aKCP\u3001UDP\u3001ENet\u3001Raknet\u3001Aeron\u3001RSocket\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6765\u7531\uff1a\u6700\u8fd1\u5728\u67e5\u770b\u8def\u7531\u5668\u7684\u6d41\u91cf\u5206\u6790\u65f6\u53d1\u73b0\uff0c\u6392\u540d\u9760\u524d\u7684APP\u540d\u79f0\u53ebQUIC\uff0c\u4f46\u6211\u6ca1\u6709\u5b89\u88c5\u8fc7\u8fd9\u4e2aAPP\u554a\uff0c\u8b66\u89c9\u4e4b\u4e0b\u67e5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[44,43,41,42,45],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-it","tag-quic","tag-rudp","tag-tcp","tag-udp","tag-45"],"_links":{"self":[{"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/comments?post=233"}],"version-history":[{"count":0,"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/posts\/233\/revisions"}],"wp:attachment":[{"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/media?parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/categories?post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cici.press\/index.php\/wp-json\/wp\/v2\/tags?post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}