1

我必须访问正在运行的进程(任何应用程序等)的进程控制块,将其代码、数据以及系统数据从该 android 移动设备传输到另一个。这样该过程就可以在第二台设备上从它留在第一个设备的同一点运行。我的问题是是否可以为此目的查看或复制运行过程的 PCB?如果该应用程序/进程根本不存在,有什么方法可以将正在运行的进程从一个 android 移动设备迁移到另一个。如何通过从安装了该应用程序的另一台设备接收应用程序而不安装它(由于内存原因或其他)来运行应用程序,以便它可以只运行一次或启动该时间?我希望我能清楚地提出我的问题。请在核心级别回答它。提前致谢。

4

1 回答 1

0

Well Process migration is very much possible, so yes you can do it. Now about how you can do it. One way is using checkpointing. The logic is pretty simple. You create a checkpoint image or file of the process in your device and migrate it to another device where you wish to restart it. Theoretically it sounds simple but there are various issues in checkpointing itself. My bet will be you look into some checkpointing frameworks and see if you can incorporate them in mobile environment.

For reference look into DMTP (http://dmtcp.sourceforge.net/) or BLCR since they are the most known and worked ones.

Bestties for your solution.

于 2013-11-19T15:39:57.903 回答