基于嵌入式浏览器CSS引擎并行化技术的研究  被引量:2

RESEARCH ON CSS ENGINE PARALLELISATION TECHNIQUE BASED ON EMBEDDED BROWSER

在线阅读下载全文

作  者:刘秀秀[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[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象