机构地区: 中山大学信息科学与技术学院计算机科学系
出 处: 《微型机与应用》 2014年第1期77-80,共4页
摘 要: 设计和实现了从互联网页面到手机页面的适配转换机制,提出了基于树结构分析的Web页面适配方法,该适配方法首先对互联网页面建立对应的文档模型树结构,依据用户硬件数据信息,对这棵树进行网页去噪声、对Frameset/Iframe适配、分页重排、智能缓存以及多国语言字符集支持的操作,最终得到XHTML MP页面,完成了Web页面到手机页面的转换。通过实验,验证了整个页面适配过程和方法的可行性。 In this thesis, a conversion mechanism which adapted the Internet page to mobile page is designed and implemented, a webpage method based on tree structure analysis is proposed, and the design of system algorithm with its C++implementation is introduced. The Internet page adaptation method in this paper creates the corresponding document model tree structure of Internet page firstly, and removes the page noise, adapts Frameset/Iframe, paginates, restricts, deals with intelligent caching and multi-language character sets supported operating, finally gets the XHTML MP page. The feasibility of the process and methods for internet page adaptation is verified by a series of experiments.
关 键 词: 互联网页面适配网关 树结构 页面适配 文档对象模型
领 域: [自动化与计算机技术] [自动化与计算机技术] [理学] [理学]