计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (17): 71-73.

• 研发、设计、测试 • 上一篇    下一篇

面向移动设备的网页切割研究与设计

肖云鹏1,王佐成1,李 茜2   

  1. 1.重庆邮电大学 软件学院,重庆 400065
    2.重庆邮电大学 计算机科学与技术学院,重庆 400065
  • 收稿日期:2007-09-11 修回日期:2007-11-23 出版日期:2008-06-11 发布日期:2008-06-11
  • 通讯作者: 肖云鹏

Research and design of web page cutting mobile device oriented

XIAO Yun-peng1,WANG Zuo-cheng1,LI Qian2   

  1. 1.College of Software,Chongqing University of Posts and Telecommunications,Chongqing 400065,China
    2.College of Computer Science and Engineering,Chongqing University of Posts and Telecommunications,Chongqing 400065,China
  • Received:2007-09-11 Revised:2007-11-23 Online:2008-06-11 Published:2008-06-11
  • Contact: XIAO Yun-peng

摘要: 移动手持设备因其屏幕小,有限的计算及存储能力而不便浏览普通Web页面;另一方面,对于PDA、手机用户,本着用户个性定制以及降低费用的原则也有必要对现有Web页面进行“裁减”。就以上问题,提出一种面向移动设备网页切割的解决方案:首先对半结构化的HTML文档进行结构化处理,接着基于DOM规范将HTML转化为DOM树并对其噪音清洗,然后对网页进行基于内容和基于链接的分块并对分块结果按照分层和用户定制的思想进行切割、重构,最后在开源项目HTMLParser基础上开发了原型系统并对系统执行效率和切割效果进行了评估。结果表明该方案切实可行,具有可观的应用价值。

Abstract: Mobile cell device,as small-screen,limited computation ability and capacity of storage,can not browse normal web page successfully.On the other hand,it is necessary to cut web page for the purpose of customization and reduction in surfing costs of PDA and mobile consumers.A new method of web page cutting mobile device oriented is proposed.First,structuring HTML documents.Second,converting HTML to DOM tree based on DOM criterion.Third,cutting and re-constructing web page based on content block and link block.A prototype system has been developed by open source project named HTMLParser.The results of evaluation show that the method is practical,and has enormous practical value.