1、 ! “ “ ” . 1/1,000,000 = X smart network X Browser Engine Speedy Render Engine Human Sense Interface Framework Security Engine X-Cloud Services Open (Hosting) API & Platform News SNS Games Flash Books Music Video UI X X IOS Android Symbian Kjava MTK WP7 “ ” X Browser Engine WebAPP Multi Wnd Manger B
2、ookmark Event Dispatch History WebView(CPP) Plugin: flash upload pay HTML5 Javascript DOM CSS HTML XHTML WML HTTP HTTPS Porting Layer Platform JNI Bridge X5 Browsr UI Webkit WebCore JSCore Network Interface Porting Platform HTML5 HTML XHTML WML WebView & Core Thread Android:Java) QQProxy Porting Lay
3、er Interface Skia Surface Audio Porting Layer Android2.1 Android2.2 Android2.3 Android3.x Android4.x MTTOS L1 2M L2 18M JS CSS cache-control JS CSS X5 WWW RAM Page Content Backing Store View Port 128 256 512 1024 ! DNS ! Socket ! ! HTTP Header ! Smart Network 2G,2.5G,3G wifi HTTP Socket Pool DNS Cac
4、he Resource Cache SSL Proxy Domain policy Security Check Module Download Upload Local Config Notify Client Login Server IPInfo Server Config Q-Proxy AD Filter Malicious Res Info Notify Server Crawler Router Resource Conver Smart Network Client Smart Network Server WEB IDC IDC IDC 1 2 3 “ 浏览器# 互联网网站#
5、 “$%&()# ! ! ! ! webp ? WEB WEB 8% 1. 2. 3. 4. “ ” 1 2 ! ! ! ! ! ACK “ ” X Cloud Service Login Config Stat IPInfo Auth Web U LBS Local Cache Cache /SSD DB / 1 2 3 4 TAF (WUP) /LOG RPC( / / ) Wireless Uni-Protocol c+ java mtk-c obj-c sym bian -c+ js- json php c# Tencent Application Framework base cla
6、ss tools Application (conf/log/notify) Communicator (stat/prop) libserver jmem Jce protocol libconfig libpatch libparse liblog libnotify jce2java jce2cpp registry node patch log config stat notify prop DCache client Cache Proxy Master CacheD Slave CacheD R / W R W R / W DB.M file DB.S Route Server sync ! RouteServer ! ! ! Proxy ! Shm + SSD CacheD ! CacheD ! Binlog ! Slave ! DBAccess ! MySql Set “X” Http VS Socket Sync VS Async Push VS Pull Native VS Web Integrated VS Plugin 5 1 4 “ ” 2004 2006 2010 3G“ ” 2009.04 ( QQ 2012.08