检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘秀秀[1,2] 潘梁[2] 郭志川[2] 胡琳琳[2]
机构地区:[1]中国科学院大学,北京100190 [2]中国科学院声学研究所国家网络新媒体工程技术研究中心,北京100190
出 处:《计算机应用与软件》2016年第3期229-231,278,共4页Computer Applications and Software
摘 要:针对嵌入式浏览器CSS(Cascading Style Sheets)解析效率低下的问题,提出一种CSS引擎并行化处理方法。通过对CSS引擎资源预取、样式解析和选择器匹配功能的描述,分别介绍如何将资源预取、样式解析与网页解析并行执行,以及CSS选择器并行匹配。该并行处理方法可以克服嵌入式浏览器边解析边加载带来的网络延时以及串行处理带来的用户等待时间长的问题。通过对多种网页加载时间的仿真测试,页面的加载速度提高了很多,实验结果验证了该方法的可行性。To solve the low efficiency problem of CSS parsing in embedded browsers,this paper proposes a CSS engine parallelised processing method. Through the resources prefetching on CSS engine,the style parsing and description of the selector matching function,we respectively introduce how to parallelise the execution of resources prefetching,style parsing and webpage parsing,as well as the parallel matching of CSS selectors. This parallel processing method can overcome the network delay incurred by the embedded browsers loading the resources while parsing,and the long time waiting problem brought forth by serialise processing. By a variety of webpages load time simulation tests,the loading speed of webpages raised a lot. Experimental result verifies the feasibility of the proposed method.
关 键 词:层叠样式表引擎 并行化 资源预取 样式解析 选择器匹配
分 类 号:TP393.092[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.158