作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (24): 4-5. doi: 10.3969/j.issn.1000-3428.2010.24.002

• 博士论文 • 上一篇    下一篇

基于Ajax的Observer模式客户端研究

杨 斌1,张卫冬1,张利欣1,章立军1,伍章明2   

  1. (1. 北京科技大学国家材料服役安全科学中心,北京 100083;2. 阿斯顿大学工程与应用科学学院,英国 伯明翰B4 7ET)
  • 出版日期:2010-12-20 发布日期:2010-12-14
  • 作者简介:杨 斌(1979-),男,讲师、博士后,主研方向:计算机网络,传感器网络,通信技术;张卫冬,副教授、博士;张利欣,讲师、硕士;章立军,副研究员、博士;伍章明,博士研究生
  • 基金资助:

    国家“863”计划基金资助项目(2007AA04Z169);国家自然科学基金资助项目(50674010);教育部科学技术研究基金资助重点项目(107115)

Research on Observer Pattern Client Based on Ajax

YANG Bin1, ZHANG Wei-dong1, ZHANG li-xin1, ZHANG li-jun1, WU Zhang-ming2   

  1. (1. National Center for Materials Service Safety, University of Science and Technology Beijing, Beijing 100083, China;2. School of Engineering and Applied Science, Aston University, Birmingham B4 7ET, United Kingdom)
  • Online:2010-12-20 Published:2010-12-14

摘要:

针对现有的工业大型设备远程监测系统中Web客户端存在的实时性差和代码复用率低的问题,提出基于Ajax的Observer模式Web客户端构建方案。利用Ajax技术解决监测系统中客户端图形显示的实时性问题,并与Observer设计模式相结合,提高了代码复用率,降低了模块之间的耦合性。通过演示系统程序完整地验证了该方法的可行性。

关键词: 远程监测, Ajax技术, Observer设计模式, Web客户端

Abstract:

A Web client is constructed based on Ajax and Observer design pattern to solve the problem of poor real-time and the lower rate of code reuse for existing monitoring system. It uses the Ajax to solve the real-time graphical display problem, and combines with observer design pattern. The rate of code reuse is increased, and the coupling between modules is reduced. Demonstration system is used to validate that the proposed method is feasible.

Key words: remote monitoring, Ajax technology Observer design pattern, Web client

中图分类号: