多窗口全視野 網易雲信探索融合通信飛躍之路|QCon2021

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"從雲通信到融合通信,新一輪技術革命正在加速興起。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"新場景的應用,尤其是疫情推動下,各行各業對於線上化的積極探索使得通信技術的需求量大幅增加,同時"},{"type":"text","marks":[{"type":"strong"}],"text":"對於實時互動體驗也提出更高的要求"},{"type":"text","text":";另一方面,新技術的推動,例如 AI\/AR\/VR 等技術的發展和 5G 時代的正式來臨,使得即時通信、直播、實時音視頻等應用場景有了新的想象空間,場景的複雜性和對於效率的高要求也讓"},{"type":"text","marks":[{"type":"strong"}],"text":"雲通信技術呈現出更廣範圍、更深程度的融合趨勢。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/fc\/fc8a959071e6d27be36081571921451f.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","marks":[{"type":"size","attrs":{"size":10}},{"type":"color","attrs":{"color":"#999999","name":"user"}}],"text":"(網易智企技術VP 陳功)"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"基於此背景,在"},{"type":"link","attrs":{"href":"https:\/\/qcon.infoq.cn\/2021\/shanghai\/schedule","title":"xxx","type":null},"content":[{"type":"text","text":"「QCon 全球軟件開發大會」2021·上海站"}]},{"type":"text","text":","},{"type":"text","marks":[{"type":"strong"}],"text":"網易智企技術 VP 陳功作爲出品人發起了「AI 時代下的融合通信技術」專場"},{"type":"text","text":",邀請到"},{"type":"link","attrs":{"href":"https:\/\/www.infoq.cn\/u\/yunxin\/publish","title":"xxx","type":null},"content":[{"type":"text","text":"網易雲信"}]},{"type":"text","marks":[{"type":"strong"}],"text":"、網易音視頻實驗室、網易雲音樂的技術專家"},{"type":"text","text":"與大家一起分享融合通信技術趨勢和演進方向、視頻通信關鍵技術探索及實踐、音頻 AI 算法在 RTC 中的實踐、網易雲音樂網絡庫跨平臺化實踐等話題。現場座無虛席,乾貨滿滿的分享更是獲得參會者一致好評。"}]},{"type":"heading","attrs":{"align":null,"level":1},"content":[{"type":"text","text":"融合通信技術趨勢和演進方向"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/08\/08d9fd9f63adb8e6d95865d5581c03e0.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","marks":[{"type":"size","attrs":{"size":10}},{"type":"color","attrs":{"color":"#999999","name":"user"}}],"text":"曹佳俊 網易雲信資深服務器開發工程師"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"隨着 5G 等基礎設施的完善以及\"萬物皆可線上化\"的趨勢,互聯網用戶對於實時互動體驗提出了越來越高的要求。融合通信技術已成爲產品創新、業務增長的重要基石。"},{"type":"text","marks":[{"type":"strong"}],"text":"在本場專題論壇,網易雲信資深服務器開發工程師曹佳俊首先帶來了關於《融合通信技術趨勢和演進方向》的分享。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"曹佳俊認爲,融合通信的關鍵在於融合,這其中,多種通信技術的融合帶來了業務層面的革新,而業務場景的豐富多變又對通信技術的融合帶來了更高的要求,業務與技術相互推動發展。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"談及融合通信的未來趨勢,他認爲,"},{"type":"text","marks":[{"type":"strong"}],"text":"5G、AI、物聯網、全球化、單元化……都是融合通信技術未來的演進方向。"},{"type":"text","text":"在本場論壇中,他以全球化與單元化爲例,重點分享了網易雲信在相關方面的實踐。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"網易雲信之所以做全球化和單元化,主要是出於三方面的考慮:"},{"type":"text","marks":[{"type":"strong"}],"text":"容量劇增"},{"type":"text","text":"(系統規模不斷增長)、"},{"type":"text","marks":[{"type":"strong"}],"text":"風險控制"},{"type":"text","text":"(雞蛋不能放在一個籃子裏)、"},{"type":"text","marks":[{"type":"strong"}],"text":"質量保證"},{"type":"text","text":"(物理距離無法克服)。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/79\/794e3288b2a18edee5c440d781cbaeb1.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"實現全球化和單元化則有兩個關鍵的前置條件:"},{"type":"text","marks":[{"type":"strong"}],"text":"一是傳輸通信網的建設"},{"type":"text","text":",例如"},{"type":"link","attrs":{"href":"https:\/\/xie.infoq.cn\/article\/80269a69068dbf5bd5a2a824f","title":"xxx","type":null},"content":[{"type":"text","text":"網易雲信 WE-CAN "}]},{"type":"text","text":"全球智能路由網絡就可以很好的解決遍佈全球的邊緣節點和數據中心節點之間的網絡傳輸問題;"},{"type":"text","marks":[{"type":"strong"}],"text":"二是服務質量監控"},{"type":"text","text":",利用來自海量終端和服務節點的數據監控和改進服務質量。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在 WE-CAN 全球智能路由網絡和服務質量監控系統的基礎上,進一步介紹了網易雲信在 IM 和 RTC 的服務器單元化 \/ 全球化上做的技術探索。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/83\/836332d5576b7ec61d9f2534d826a587.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"通過單元化和全球化的架構升級,"},{"type":"text","marks":[{"type":"strong"}],"text":"提升了網易雲信全球通信系統的鏈路穩定性、增強了機房抗風險能力,以及通過異地單元有效的隔離了全局的故障風險。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"分享最後,曹佳俊總結道,隨着融合通信市場的不斷髮展,全球化和單元化是必經之路。作爲融合通信雲服務商,網易雲信將持續打磨技術,提供業界一流的融合通信服務,伴隨客戶一起成長。"}]},{"type":"heading","attrs":{"align":null,"level":1},"content":[{"type":"text","text":"視頻通信關鍵技術探索及實踐"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/3f\/3f41518d750816852f1d50100b6c0071.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","marks":[{"type":"size","attrs":{"size":10}},{"type":"color","attrs":{"color":"#999999","name":"user"}}],"text":"韓慶瑞 網易音視頻實驗室高級技術專家"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"無論在娛樂社交、線上學習,還是遠程銀行等生活場景中,視頻都已成爲最重要的互動方式之一,用戶對於視頻效果也提出越來越高的要求。延時低,弱網對抗能力強,視頻畫質清晰...... 這也讓企業面臨了很高的技術挑戰。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"作爲融合通信雲服務專家,網易雲信的業務覆蓋了主要的視頻場景,包括了甚低延時的實時音視頻場景,允許部分延時的直播場景和不強調延時的點播場景,"},{"type":"text","marks":[{"type":"strong"}],"text":"本次分享中,網易音視頻實驗室高級技術專家韓慶瑞介紹了網易雲信視頻在各個場景下的關鍵技術和應用嘗試。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/25\/25f6fa3e9743b077512f7d4aff7304fd.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"優秀的視頻引擎是好的視頻體驗的基石,韓慶瑞指出,網易雲信可以在各個場景中均獲得優異視頻表現,主要是得益於"},{"type":"link","attrs":{"href":"https:\/\/xie.infoq.cn\/article\/73fa7c560bee0fd532be52eae","title":"xxx","type":null},"content":[{"type":"text","text":"網易雲信視頻 RTC "}]},{"type":"text","marks":[{"type":"strong"}],"text":"引擎擁有很多關鍵技術。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"numberedlist","attrs":{"start":null,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"針對場景移動端性能參差不齊、功耗敏感、小模型學習能力差、增強圖像壓縮效果難以保證以及視頻降噪等難點,RTC 引擎在前期就能進行"},{"type":"text","marks":[{"type":"strong"}],"text":"視頻 AI 增強、視頻降噪"},{"type":"text","text":",提升視頻效果;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"在視頻編解碼方面,網易雲信通過"},{"type":"text","marks":[{"type":"strong"}],"text":"多個自研算法"},{"type":"text","text":",進行快速模式決策,高效亞像素搜索,自適應參考幀,編碼質量和速度領先業界知名編碼器;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"網易雲信視頻引擎 QoE"},{"type":"text","text":" 可根據不同性能設備、不同區域設置、配置不同的算法種類,參數,在任何網絡狀況下保證用戶有最佳的視頻體驗,減少因數據丟失而引起的視頻卡頓;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":4,"align":null,"origin":null},"content":[{"type":"text","text":"網易雲信視頻引擎解碼支持幾乎所有主流視頻格式,"},{"type":"text","marks":[{"type":"strong"}],"text":"通過自研輕量級網絡加異構加速"},{"type":"text","text":",功耗超低。"},{"type":"text","marks":[{"type":"strong"}],"text":"自研 AI 推理引擎"},{"type":"text","text":",進行數據集處理,超分效果明顯。根據高精度文字識別以及針對文字的 AI 優化,配合“輕量級”網絡、自研推理框架 NENN 實現桌面共享優化。"}]}]}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/03\/0387b2b74b5fee96be71a392be5a01df.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"值得一提的是,網易雲信的"},{"type":"text","marks":[{"type":"strong"}],"text":"智碼超清技術"},{"type":"text","text":"提前對轉碼前視頻進行修復或增強,基於人眼感知的編碼技術在保證主觀質量的同時節省碼率。不同於傳統的 JND 編碼,網易雲信的 JND 編碼能識別圖像中的文字,人臉,前景及其他顯著性區域,針對不同特徵進行調整,保證主觀體驗。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"目前,網易雲信視頻通信技術已經在 LOOK 直播、網易雲音樂在線 K 歌等場景中廣泛應用。"}]},{"type":"heading","attrs":{"align":null,"level":1},"content":[{"type":"text","text":"音頻 AI 算法在 RTC 中的實踐"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/2a\/2a68c1ca3626902aa4e6d210340f4b06.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","marks":[{"type":"size","attrs":{"size":10}},{"type":"color","attrs":{"color":"#999999","name":"user"}}],"text":"郝一亞 網易雲信音頻算法專家"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"隨着人工智能技術、計算機技術、神經網絡等領域的不斷髮展,AI 音頻算法也在學術界和其他行業不斷湧現,包括了線上實時通信 Real-Time Communication(RTC)領域。"},{"type":"text","marks":[{"type":"strong"}],"text":"本次分享,網易雲信音頻算法專家郝一亞從“RTC 應用 AI 音頻算法的難點”、“AI 音頻算法落地的解決方案”、“"},{"type":"link","attrs":{"href":"https:\/\/xie.infoq.cn\/article\/2ede52996fd55ea963d8c92e2","title":"xxx","type":null},"content":[{"type":"text","text":"網易雲信 AI 音頻算法"}]},{"type":"text","marks":[{"type":"strong"}],"text":"落地案例”三個維度,和大家分享 AI 音頻算法和 RTC 的實戰經驗。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"郝一亞表示,儘管 AI 的優勢在很多領域已經被證實了,但由於算力和數據等各方面的問題以及 AI 模型本身的一些問題,其在 RTC 中還處於達不到完全替換傳統信號處理方法的階段。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/96\/96aa365d55dc022433f42222f27ce1f4.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"這其中的"},{"type":"text","marks":[{"type":"strong"}],"text":"挑戰主要集中在三個方面"},{"type":"text","text":":"}]},{"type":"numberedlist","attrs":{"start":null,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"AI 計算複雜度太高,終端設備難以滿足;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"泛化能力,RTC 覆蓋場景衆多,AI 音頻算法難以全部覆蓋;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":"魯棒性,遇到突發情況,AI 算法是否有能力應對?"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"面對這些挑戰,"},{"type":"text","marks":[{"type":"strong"}],"text":"網易雲信如何落地 AI 算法?"},{"type":"text","text":"談及 AI 音頻算法具體實現過程,"},{"type":"text","marks":[{"type":"strong"}],"text":"郝一亞在技術層面給出三條建議"},{"type":"text","text":":"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"numberedlist","attrs":{"start":null,"normalizeStart":1},"content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"採用更合適的輸入特徵:減小特徵量從而減小開銷;彌補小模型帶來的性能損失;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"採用輕量級網絡模型:壓縮模型大小從而減小開銷;有針對性的選擇模型類型;"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":"定向優化:大量收集 \/ 積累訓練數據集;模型壓縮、數據增強、推理框架;配合傳統語音算法框架。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"活動現場,郝一亞展示了網易雲信落地 AI 算法的實例,效果非常明顯。"}]},{"type":"embedcomp","attrs":{"type":"video","data":{"id":"431934","name":"視頻.mp4","poster":"","url":"https:\/\/media001.geekbang.org\/f0a673307888488b902075a31e080330\/4f9d1be889cf4234b1e08263f40b4f65-c0b59d8e45a9e627c695f9f258999c3c-sd.m3u8"}}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"值得一提的是,基於 AI 算法,網易雲信從 0 到 1 研發落地了"},{"type":"text","marks":[{"type":"strong"}],"text":"實時語音 3D 音效"},{"type":"text","text":",這在 RTC 行業內屬於首創,不僅實現了實時的 3D 空間音效,還加入了距離衰減以及房間建模特性,實現 6Dof。目前網易雲信 3D 音效已經成功應用於多款 FPS(第一人稱射擊遊戲)以及網易瑤臺沉浸式活動平臺中,可以預想在元宇宙時代,3D 音效將會迸發的無限價值。"}]},{"type":"heading","attrs":{"align":null,"level":1},"content":[{"type":"text","text":"網易雲音樂網絡庫跨平臺化實踐"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/db\/dbd534999343ab964c541529453f3780.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","marks":[{"type":"size","attrs":{"size":10}},{"type":"color","attrs":{"color":"#999999","name":"user"}}],"text":"陳松茂 網易雲音樂資深音視頻開發工程師"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"網絡庫作爲音樂 APP 的核心,很大程度上決定着用戶的\"體感\"和\"快感\",但在優化過程中,挑戰可以說非常多。比如,系統網絡庫由於暴露的能力或接口有限,無法進行深層次定製或改造;各端系統網絡庫差異大,導致優化工作需要在各端進行定製或適配,工作量成倍增加……怎麼辦?"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"網易雲音樂資深音視頻開發工程師陳松茂本次以《網易雲音樂網絡庫跨平臺化實踐》爲主題,帶來了網易雲音樂的實踐分享。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"面對各端網絡優化過程中"},{"type":"text","marks":[{"type":"strong"}],"text":"重複造輪子、缺乏一致性、資源不充足、深度優化難"},{"type":"text","text":"等問題,陳松茂認爲,"},{"type":"text","marks":[{"type":"strong"}],"text":"跨平臺化改造是解決上述問題的關鍵"},{"type":"text","text":",在分享中陳松茂列舉了多種跨平臺化設計思路,並結合各自的優缺點,最終選擇了最徹底的跨平臺化方案,即整體鏈路跨平臺化。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/41\/41f9bccaf755cbcf3fb3e842fc2b1ccf.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"要達成整體鏈路跨平臺化的構想,選擇一個合適的跨平臺網絡庫是關鍵。"},{"type":"text","text":"陳松茂分享了網易雲音樂的選型經驗,經過各方對比,網易雲音樂最終選擇的是 Cronet,它是 Chromium 的網絡堆棧,在開源協議、跨平臺性、協議支持、網絡優化、活躍程度等方面都具備優勢,並且已經在 Google 系、百度、微博、網易傳媒、頭條系、蘑菇街廣泛應用。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"網易雲音樂在 Cronet 的基礎上,進行了二次開發定製,構建了自己的統一網絡庫。爲了達成後續能力複用和業務定製的述求,"},{"type":"text","marks":[{"type":"strong"}],"text":"陳松茂提出了“可複用網絡框架 + 可擴展組件能力集”的概念"},{"type":"text","text":",並逐步將上層的網絡策略和基礎網絡服務以組件的形式下沉到統一網絡庫。"}]},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/infoq\/05\/0566c4d4a35a832139d2484d537a3f57.webp","alt":"圖片","title":null,"style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":null,"fromPaste":true,"pastePass":true}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"而面對後續 Cronet 升級過程中"},{"type":"text","marks":[{"type":"strong"}],"text":"\"代碼衝突、合併衝突、功能衰退\""},{"type":"text","text":"這三大無法避免的問題,陳松茂在分享中也給出一些方法建議,他認爲做好必要的升級鋪墊,可以減少 Cronet 升級過程中的風險,具體體現在三個方面:"},{"type":"text","marks":[{"type":"strong"}],"text":"減少入侵、做好隔離、單側覆蓋。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"當前,基於 Cronet 的統一網絡庫在網易雲音樂已經實現了部分落地,比如 Android 端已經完整落地並在灰度放量中,iOS 端則還在接入中。據云音樂給出的線上數據,Cronet 在 HTTP\/2 上有不錯的性能優勢,開啓 QUIC 後優勢進一步放大。後續,陳松茂和他們的團隊,將繼續挖掘 Cronet 的性能,並進行定製優化。另外,"},{"type":"text","marks":[{"type":"strong"}],"text":"統一網絡庫也將逐步在網易雲音樂,乃至整個網易內部實現更廣泛的應用。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":"如果你想獲得本次QCon上海網易雲信技術專場完整PPT,可點擊移步至"},{"type":"link","attrs":{"href":"https:\/\/qcon.infoq.cn\/2021\/shanghai\/schedule","title":"xxx","type":null},"content":[{"type":"text","text":"大會官網"}]},{"type":"text","marks":[{"type":"strong"}],"text":"下載觀看。"}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章