METHOD AND APPARATUS FOR INCREASING SUBRESOURCE LOADING SPEED
    1.
    发明申请
    METHOD AND APPARATUS FOR INCREASING SUBRESOURCE LOADING SPEED 审中-公开
    用于增加子载入速度的方法和装置

    公开(公告)号:US20160149832A1

    公开(公告)日:2016-05-26

    申请号:US15012095

    申请日:2016-02-01

    Abstract: Provided are methods and apparatus for increasing subresource loading speed. A method may include receiving a page request initiated by a user, extracting the host domain name corresponding to the page URL, and querying if the hash table has a domain name tree corresponding to the host domain name; if the hash table has a domain name tree corresponding to the host domain name, traversing the domain name tree to extract a plurality of subresource domain names with the highest priority, and at the same time, establishing TCP connections for the host domain name and the plurality of subresource domain names; when the main document data of the host domain name is received, initiating a subresource loading request according to the subresource URL in the main document data; if the subresource domain name in the subresource loading request is a domain name in the above plurality of subresource domain names, directly initiating a HTTP request by using the previously established TCP connection, and completing the loading of the subresource. By establishing TCP connections for subresource domain names with high priority in advance, such methods and apparatus solve the problem that TCP connection needs to be established on site when a subresource loading is requested.

    Abstract translation: 提供了增加子资源加载速度的方法和装置。 一种方法可以包括:接收用户发起的寻呼请求,提取与该页面URL相对应的主机域名,以及查询哈希表是否具有与该主机域名对应的域名树; 如果哈希表具有与主机域名对应的域名树,则遍历域名树以提取具有最高优先级的多个子资源域名,同时建立主机域名和 多个子资源域名; 当接收到主机域名的主文档数据时,根据主文档数据中的子资源URL启动子资源加载请求; 如果子资源加载请求中的子资源域名是上述多个子资源域名中的域名,则通过使用先前建立的TCP连接直接发起HTTP请求,并完成子资源的加载。 通过提前建立具有高优先级的子资源域名的TCP连接,这种方法和装置解决了当请求子资源加载时需要在现场建立TCP连接的问题。

Patent Agency Ranking