计算机与现代化

• 应用与开发 • 上一篇    下一篇

Web页面展示系统处理进度的研究与实现

  

  1. 四川文理学院计算机学院,四川达州635000
  • 收稿日期:2014-01-08 出版日期:2014-05-28 发布日期:2014-05-30
  • 作者简介:唐青松(1980-),男,四川简阳人,四川文理学院计算机学院讲师,CCF会员,硕士,研究方向:网络数据库,软件技术与理论。
  • 基金资助:
    四川省教育厅青年基金资助项目(10ZB085)

Research and Implementation of Processing Progress for Webpage Display System

  1. Department of Computer Science, Sichuan University of Arts and Science, Dazhou 635000, China
  • Received:2014-01-08 Online:2014-05-28 Published:2014-05-30

摘要: 传统的Web技术,很难实现用户提交数据后,在服务器处理数据的同时,将处理进度的同步信息显示在网页中,尤其是在不知网页局部内容更新次数的情况下,此问题更显凸出。本文使用函数递归调用的方式以异步获取系统信息、扩展Web系统应用能力以提高人机交互的表现力,并将处理的过程形象地展示给用户,有效地解决此问题。实验结果表明,相对于传统的一个Web线程只能服务一个HTTP请求,本文研究可以实现多个Web线程同时对一个请求进行服务。

关键词: Ajax技术, 递归, Web开发, 异步通信, 并行处理

Abstract: The traditional Web technology is difficult to realize data processing and deal with the progress of the synchronization information displaying on the Web at the same time. Especially in the case of unknowing the circumstances and the number of local content updates page, the problem is more protruding. For solving the problem, we use the calling way of recursive function to achieve system information asynchronously, expand the Web information system application ability in order to improve the expressive force of human-computer interaction, and display the image of process for the user. Compared with a traditional Web thread which serves only a single user, the experimental results show that the proposed technology can achieve more than one Web thread and serve a user at the same time.

Key words:  Ajax technology, recursive, Web development, asynchronous communication, parallel processing

中图分类号: