...
【24h】

Migration of Web Applications with Seamless Execution

机译:通过无缝执行迁移Web应用程序

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Web applications (apps) are programmed using HTML5, CSS, and JavaScript, and are distributed in the source code format. Web apps can be executed on any devices where a web browser is installed, allowing one-source, multiplatform environment. We can exploit this advantage of platform independence for a new user experience called app migration, which allows migrating an app in the middle of execution seamlessly between smart devices. This paper proposes such a migration framework for web apps where we can save the current state of a running app and resume its execution on a different device by restoring the saved state. We save the web app's state in the form of a snapshot, which is actually another web app whose execution can restore the saved state. In the snapshot, the state of the JavaScript variables and DOM trees are saved using the JSON format. We solved some of the saving/restoring problems related to event handlers and closures by accessing the browser and the JavaScript engine internals. Our framework does not require instrumenting an app or changing its source code, but works for the original app. We implemented the framework on the Chrome browser with the V8 JavaScript engine and successfully migrated non-trivial sample apps with reasonable saving and restoring overhead. We also discuss other usage of the snapshot for optimizations and user experiences for the web platform.
机译:Web应用程序(应用程序)使用HTML5,CSS和JavaScript进行编程,并以源代码格式分发。 Web应用程序可以在安装了Web浏览器的任何设备上执行,从而可以实现单源,多平台环境。我们可以利用平台独立性的优势来提供一种称为应用程序迁移的新用户体验,该体验允许在执行过程中在智能设备之间无缝迁移应用程序。本文提出了一种针对Web应用程序的迁移框架,在该框架中,我们可以保存正在运行的应用程序的当前状态,并通过恢复保存的状态在其他设备上恢复其执行。我们以快照的形式保存Web应用程序的状态,这实际上是另一个Web应用程序,其执行可以恢复保存的状态。在快照中,JavaScript变量和DOM树的状态使用JSON格式保存。通过访问浏览器和JavaScript引擎内部,我们解决了一些与事件处理程序和关闭相关的保存/恢复问题。我们的框架不需要检测应用程序或更改其源代码,但适用于原始应用程序。我们使用V8 JavaScript引擎在Chrome浏览器上实现了该框架,并以合理的节省和恢复开销成功迁移了非平凡的示例应用程序。我们还将讨论快照的其他用法,以优化Web平台并提供用户体验。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号