基于HTML5的移动终端布局解析器的设计与实现
Design and Implementation of Mobile Terminal Layout Parser Based on HTML5
-
摘要: 随着移动互联网的快速发展,移动终端用户交互页面个性化需求越来越强烈,由于用户数量巨大,交互场景众多,在移动终端的个性设置、布局修改等方面涉及系统开发的工作量较大,影响应用的扩展性和灵活性。该文提出一种基于HTML5的移动终端交互界面的布局解析器设计方法,根据用户需求,分析交互页面布局特性和交互逻辑,改进页面交互的流程,引入了定时预先和排序优先的机制,通过标记化和树构建,构建了一个通用的布局解析器。实验测试,使用该方法,模拟移动终端用户并发操作,平均响应时间减少45%左右,成功率提升30%左右。通过对项目度量数据进行分析,软件开发过程中的各个阶段过程的工作量有大幅减少,平均减少了57%。Abstract: With the rapid development of mobile Internet,personalized demand for mobile terminal users interaction pages is becoming more and more intense.Because of the large number of users and numerous interactive scenes,the workload of the system development in the settings of the mobile terminal and the modification of the layout will affect the extensibility and flexibility of the application.This paper presents a layout parser design method for mobile terminal interaction interface based on HTML5.According to the needs of users,we analyze the layout characteristics and interaction logic of interactive pages,and improve the process of page interaction.The mechanism of timing preorder and sort priority is introduced,and a general layout parser is constructed by markup and tree construction.Experimental results show that the average response time of mobile terminal users is reduced by about 45% and the success rate is increased by 30%.At the end of the project,the analysis of the project measurement data,the workload of each stage in the software development process has been greatly reduced,an average reduction of 57% of the workload.

下载: