计算机科学与探索 ›› 2011, Vol. 5 ›› Issue (5): 426-432.

• 学术研究 • 上一篇    下一篇

面向富互联网应用的计算任务动态迁移机制

王旭东1,2, 刘譞哲1,2, 赵 祺1,2, 黄 罡1,2   

  1. 1. 北京大学 高可信软件技术教育部重点实验室, 北京 100871
    2. 北京大学 信息科学技术学院, 北京 100871
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-05-01 发布日期:2011-05-01

Dynamic Computing Task Migration Mechanism for Rich Internet Applications

WANG Xudong, LIU Xuanzhe, ZHAO Qi, HUANG Gang   

  1. 1. Key Laboratory of High Confidence Software Technologies, Ministry of Education, Peking University, Beijing 100871, China 2. School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-05-01 Published:2011-05-01

摘要: 富互联网应用(rich Internet application, RIA)目前已经成为重要的应用模式。随着信息技术日益泛在化和服务化, 富互联网应用也开始在移动设备之上运行。然而, 由于设备计算能力的不足, 很可能出现部分代码无法在富客户端顺利运行的情况。提出面向富互联网应用的计算任务动态迁移机制, 在应用运行过程中, 动态地将客户端中无法执行或不适合执行的计算任务迁移到服务器端运行, 并保证迁移过程中上下文环境的同步; 针对不同的应用场景, 实现了“客户端动态请求”和“服务器动态部署”两种方案; 通过实验验证了方案的可行性。

关键词: 富互联网应用, 富客户端, 计算任务迁移, 服务器端JavaScript

Abstract: Rich Internet applications (RIAs) have become popular on mobile devices. Sometimes, due to the limitations of computing capabilities of mobile devices, some computing tasks cannot run normally at client side. This paper presents a dynamic computing tasks migration mechanism for RIAs. Facilitated by the mechanism, RIAs can dynamically migrate the incapable or unsuitable computing tasks from client-side to server-side, while synchronizing the runtime context. This paper implements two solutions of computing tasks migration mechanism: “client dynamic request” and “server dynamic deployment”. By experimental evaluations, the mechanism can decrease the applica-tion response time running on mobile devices and improve the resource utilization.

Key words: rich Internet application (RIA), rich client, computing tasks migration, server-side JavaScript