摘要
针对Vxworks平台的特点,探讨该平台下嵌入式浏览器解析网页信息以及对数据进行布局显示的核心技术和相关问题.采用VxWorks的多任务并发机制,并结合二进制信号量,实现在获取HTML数据的同时进行解析布局,减小系统内存的压力,提高浏览器的运行效率.通过引入位图,并结合Hash函数实现HTML标记的识别匹配,大大提高解析的效率和速度.
The core algorithms and relevant difficulties of the parsing of the information of Web pages and the layout and display of data were discussed detaily.Using multi-task concurrency mechanism of VxWorks and combining with binary semphore,it achieved geting web page and parse_layout operation at the same time,it not only reduced the memory pressure of the system,but also improved the efficiency of the browser.In addition,using the bitmap and realizing the matching of HTML tags by combining the Hash function,it could improve the efficiency and spend of parsing greatly.
出处
《湖北大学学报(自然科学版)》
CAS
北大核心
2010年第4期384-388,共5页
Journal of Hubei University:Natural Science