{"id":98710,"date":"2024-10-31T17:11:16","date_gmt":"2024-10-31T09:11:16","guid":{"rendered":"\/\/www.dealsbon.com\/?p=98710"},"modified":"2024-10-31T17:11:19","modified_gmt":"2024-10-31T09:11:19","slug":"cscxybknx","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/98710.html","title":{"rendered":"\u4f20\u8f93\u5c42\u534f\u8bae\u5305\u62ec\u54ea\u4e9b"},"content":{"rendered":"\n
\u3000\u3000\u4f20\u8f93\u5c42\u534f\u8bae<\/strong>\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n\n\n\n \u3000\u3000\u8fd9\u4e9b\u534f\u8bae\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\uff0c\u786e\u4fdd\u4e86\u6570\u636e\u5728\u7f51\u7edc\u4e2d\u7684\u53ef\u9760\u4f20\u8f93\u548c\u9ad8\u6548\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000TCP\u534f\u8bae\u7684\u6d41\u91cf\u63a7\u5236\u673a\u5236\u4e3b\u8981\u901a\u8fc7\u6ed1\u52a8\u7a97\u53e3(Sliding Window)\u6765\u5b9e\u73b0\u3002\u5728TCP\u901a\u4fe1\u4e2d\uff0c\u63a5\u6536\u65b9\u4f1a\u5728\u5176TCP\u62a5\u6587\u6bb5\u7684\u9996\u90e8\u4e2d\u901a\u8fc7\u201c\u63a5\u6536\u7a97\u53e3\u201d(win\u5b57\u6bb5)\u544a\u77e5\u53d1\u9001\u65b9\u5176\u5f53\u524d\u53ef\u63a5\u6536\u7684\u6570\u636e\u91cf\uff0c\u5373\u5269\u4f59\u7684\u7f13\u51b2\u533a\u5927\u5c0f\u3002\u53d1\u9001\u65b9\u6839\u636e\u63a5\u6536\u65b9\u63d0\u4f9b\u7684\u7a97\u53e3\u5927\u5c0f\u6765\u63a7\u5236\u53d1\u9001\u7684\u6570\u636e\u91cf\uff0c\u4ee5\u907f\u514d\u53d1\u9001\u8fc7\u591a\u7684\u6570\u636e\u5bfc\u81f4\u63a5\u6536\u65b9\u65e0\u6cd5\u5904\u7406\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0cTCP\u534f\u8bae\u8fd8\u5f15\u5165\u4e86\u62e5\u585e\u63a7\u5236\u673a\u5236\uff0c\u4ee5\u786e\u4fdd\u7f51\u7edc\u7684\u7a33\u5b9a\u8fd0\u884c\u3002\u62e5\u585e\u63a7\u5236\u7684\u6838\u5fc3\u662f\u89c2\u5bdf\u548c\u611f\u77e5\u7f51\u7edc\u7684\u62e5\u585e\u72b6\u6001\uff0c\u5e76\u636e\u6b64\u8c03\u6574\u53d1\u9001\u901f\u7387\u3002TCP\u4f7f\u7528\u56db\u4e2a\u4e3b\u8981\u7b97\u6cd5\u6765\u5b9e\u73b0\u62e5\u585e\u63a7\u5236\uff1a\u6162\u542f\u52a8\u3001\u62e5\u585e\u907f\u514d\u3001\u5feb\u901f\u91cd\u4f20\u548c\u5feb\u901f\u6062\u590d\u3002\u8fd9\u4e9b\u7b97\u6cd5\u80fd\u591f\u52a8\u6001\u5730\u8c03\u6574\u53d1\u9001\u65b9\u7684\u53d1\u9001\u901f\u7387\uff0c\u4ee5\u9002\u5e94\u7f51\u7edc\u72b6\u51b5\u7684\u53d8\u5316\uff0c\u4ece\u800c\u6709\u6548\u907f\u514d\u7f51\u7edc\u62e5\u585e\u7684\u53d1\u751f\uff0c\u5e76\u63d0\u9ad8TCP\u8fde\u63a5\u7684\u4f20\u8f93\u6548\u7387\u548c\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n \u3000\u3000UDP\u534f\u8bae\u5728\u5b9e\u65f6\u901a\u4fe1\u4e2d\u5177\u6709\u663e\u8457\u7684\u4f18\u52bf\u548c\u5c40\u9650\u6027\u3002<\/p>\n\n\n\n \u3000\u3000SCTP(Stream Control Transmission Protocol)\u534f\u8bae\u652f\u6301\u591a\u6d41\u4f20\u8f93\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u4e3b\u8981\u4f53\u73b0\u5728\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000RTP(Real-time Transport Protocol)\u548cRTCP(Real-time Transport Control Protocol)\u534f\u8bae\u5728\u97f3\u89c6\u9891\u6570\u636e\u7684\u540c\u6b65\u64ad\u653e\u4e2d\u8d77\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002RTP\u534f\u8bae\u8d1f\u8d23\u4f20\u8f93\u97f3\u89c6\u9891\u6570\u636e\uff0c\u63d0\u4f9b\u5b9e\u65f6\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5e76\u652f\u6301\u591a\u5a92\u4f53\u540c\u6b65\u3002\u6bcf\u4e2aRTP\u6570\u636e\u5305\u90fd\u5305\u542b\u4e00\u4e2a\u65f6\u95f4\u6233\uff0c\u8868\u793a\u8be5\u6570\u636e\u5305\u7684\u91c7\u6837\u65f6\u523b\uff0c\u8fd9\u6709\u52a9\u4e8e\u6d88\u9664\u6570\u636e\u5305\u6296\u52a8\u5e76\u63d0\u4f9b\u540c\u6b65\u64ad\u653e\u3002<\/p>\n\n\n\n \u3000\u3000\u7136\u800c\uff0c\u4ec5\u4ec5\u4f7f\u7528RTP\u65f6\u95f4\u6233\u662f\u65e0\u6cd5\u5b9e\u73b0\u5a92\u4f53\u95f4\u540c\u6b65\u7684\uff0c\u56e0\u4e3a\u97f3\u9891\u548c\u89c6\u9891\u53ef\u80fd\u6765\u81ea\u4e0d\u540c\u7684\u6e90\uff0c\u62e5\u6709\u4e0d\u540c\u7684SSRC(\u540c\u6b65\u6e90\u6807\u8bc6\u7b26)\uff0c\u5e76\u4e14\u5728RTP\u5c42\u65e0\u76f4\u63a5\u5173\u8054\u3002\u4e3a\u4e86\u5b9e\u73b0\u6d41\u540c\u6b65\uff0cRTCP\u8981\u6c42\u53d1\u9001\u65b9\u7ed9\u63a5\u6536\u65b9\u4f20\u9001\u4e00\u4e2a\u552f\u4e00\u7684\u6807\u8bc6\u6570\u636e\u6e90\u7684\u89c4\u8303\u540d(canonical name)\uff0c\u5e94\u7528\u5c42\u85c9\u6b64\u5173\u8054\u97f3\u89c6\u9891\u6d41\uff0c\u4ee5\u4fbf\u5b9e\u73b0\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000\u5728RTCP\u7684SR\u5305\u4e2d\uff0c\u5305\u542b\u6709\u5bf9\u97f3\u9891\u5e27RTP\u65f6\u95f4\u6233\u548c\u89c6\u9891\u5e27RTP\u65f6\u95f4\u6233\u7684\u7edf\u8ba1\u4fe1\u606f\uff0c\u901a\u8fc7\u5bf9\u8fd9\u4e9b\u4fe1\u606f\u7684\u5206\u6790\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5a92\u4f53\u95f4\u7684\u540c\u6b65\u3002\u6b64\u5916\uff0cRTCP\u534f\u8bae\u5b9a\u4e49\u4e86\u591a\u79cd\u63a7\u5236\u62a5\u6587\u7c7b\u578b\uff0c\u6bcf\u79cd\u62a5\u6587\u90fd\u6709\u4e0d\u540c\u7684\u529f\u80fd\uff0c\u7528\u4e8e\u5728\u7f51\u7edc\u4e2d\u4f20\u8f93\u63a7\u5236\u4fe1\u606f\uff0c\u5e2e\u52a9\u591a\u5a92\u4f53\u4f1a\u8bae\u53c2\u4e0e\u8005\u534f\u8c03\u97f3\u89c6\u9891\u6d41\u7684\u4f20\u8f93\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u73b0\u4ee3\u7f51\u7edc\u5e94\u7528\u4e2d\uff0c\u9664\u4e86\u4f20\u7edf\u7684\u4f20\u8f93\u5c42\u534f\u8bae\u5982TCP\u548cUDP\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u65b0\u5174\u7684\u4f20\u8f93\u5c42\u534f\u8bae\u503c\u5f97\u5173\u6ce8\uff1a<\/p>\n\n\n\n \u4f20\u8f93\u5c42\u534f\u8bae\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff0c\u8fd9\u4e9b\u534f\u8bae\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\uff0c\u786e\u4fdd\u4e86\u6570\u636e\u5728\u7f51\u7edc\u4e2d\u7684\u53ef\u9760\u4f20\u8f93\u548c\u9ad8\u6548\u901a\u4fe1\u3002<\/p>\n","protected":false},"author":1,"featured_media":97633,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[232],"class_list":["post-98710","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-csc"],"_links":{"self":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/98710"}],"collection":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/comments?post=98710"}],"version-history":[{"count":1,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/98710\/revisions"}],"predecessor-version":[{"id":98711,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/98710\/revisions\/98711"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media\/97633"}],"wp:attachment":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media?parent=98710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=98710"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=98710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\u3000\u3000\u4e00\u3001 TCP\u534f\u8bae\u7684\u6d41\u91cf\u63a7\u5236\u673a\u5236\u662f\u5982\u4f55\u5de5\u4f5c\u7684?<\/h2>\n\n\n\n
\u3000\u3000\u4e8c\u3001 UDP\u534f\u8bae\u5728\u5b9e\u65f6\u901a\u4fe1\u4e2d\u7684\u4f18\u52bf\u548c\u5c40\u9650\u6027\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n
\u3000\u30001. \u4f18\u52bf\uff1a<\/h3>\n\n\n\n
\n
\u3000\u30002. \u5c40\u9650\u6027\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 SCTP\u534f\u8bae\u652f\u6301\u591a\u6d41\u4f20\u8f93\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f<\/h2>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 RTP\u548cRTCP\u534f\u8bae\u5982\u4f55\u786e\u4fdd\u97f3\u89c6\u9891\u6570\u636e\u7684\u540c\u6b65\u64ad\u653e?<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u5728\u73b0\u4ee3\u7f51\u7edc\u5e94\u7528\u4e2d\uff0c\u9664\u4e86\u4e0a\u8ff0\u534f\u8bae\u5916\uff0c\u8fd8\u6709\u54ea\u4e9b\u65b0\u5174\u7684\u4f20\u8f93\u5c42\u534f\u8bae\u503c\u5f97\u5173\u6ce8?<\/h2>\n\n\n\n
\n